def parse_commands(command)
      case command
      when Array
        command.map { |line| line.to_s }
      when String
        command.enum_for(:each_line).map { |line| line.chomp }
      else
        raise(InvalidConfig,"commands must be an Array or a String")
      end
    end
def parse_commands(command)
      case command
      when Array
        command.map { |line| line.to_s }
      when String
        command.enum_for(:each_line).map { |line| line.chomp }
      else
        raise(InvalidConfig,"commands must be an Array or a String")
      end
    end
Parses a command.

 @param [Array, String] command
   The command or commands to parse.

 @return [Array<String>]
   The individual commands.

 @raise [InvalidConfig]
   The command must be either an Array of a String.

 @since 0.5.0