FlagSet

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island, macOS
  • Namespace: go.flag

 

constructor

 

constructor

 

FlagSet()

 

init()

constructor (Action, string, bool, Map<String, Reference<Flag>>, Map<String, Reference<Flag>>, Slice<String>, ErrorHandling, Writer) Island, macOS

 

constructor(aUsage: Action; aname: string; aparsed: bool; aactual: Map<String, Reference<Flag>>; aformal: Map<String, Reference<Flag>>; aargs: Slice<String>; aerrorHandling: ErrorHandling; aoutput: Writer)

 

FlagSet(Action aUsage, string aname, bool aparsed, Map<String, Reference<Flag>> aactual, Map<String, Reference<Flag>> aformal, Slice<String> aargs, ErrorHandling aerrorHandling, Writer aoutput)

 

init(_ aUsage: Action, _ aname: string, _ aparsed: bool, _ aactual: Map<String, Reference<Flag>>, _ aformal: Map<String, Reference<Flag>>, _ aargs: Slice<String>, _ aerrorHandling: ErrorHandling, _ aoutput: Writer)

Parameters:

  • aUsage:
  • aname:
  • aparsed:
  • aactual:
  • aformal:
  • aargs:
  • aerrorHandling:
  • aoutput:

constructor (Action, String, Boolean, Map<String, Reference<Flag>>, Map<String, Reference<Flag>>, Slice<String>, ErrorHandling, Writer) .NET, .NET Standard 2.0

 

constructor(aUsage: Action; aname: String; aparsed: Boolean; aactual: Map<String, Reference<Flag>>; aformal: Map<String, Reference<Flag>>; aargs: Slice<String>; aerrorHandling: ErrorHandling; aoutput: Writer)

 

FlagSet(Action aUsage, String aname, Boolean aparsed, Map<String, Reference<Flag>> aactual, Map<String, Reference<Flag>> aformal, Slice<String> aargs, ErrorHandling aerrorHandling, Writer aoutput)

 

init(_ aUsage: Action, _ aname: String, _ aparsed: Boolean, _ aactual: Map<String, Reference<Flag>>, _ aformal: Map<String, Reference<Flag>>, _ aargs: Slice<String>, _ aerrorHandling: ErrorHandling, _ aoutput: Writer)

Parameters:

  • aUsage:
  • aname:
  • aparsed:
  • aactual:
  • aformal:
  • aargs:
  • aerrorHandling:
  • aoutput:

constructor (FlagSet)

 

constructor(value: FlagSet)

 

FlagSet(FlagSet value)

 

init(_ value: FlagSet)

Parameters:

  • value:

Arg

 

method Arg(i: int): string

 

string Arg(int i)

 

func Arg(_ i: int) -> string

 

func Arg(i int) string

Parameters:

  • i:

Args

 

method Args: Slice<String>

 

Slice<String> Args()

 

func Args() -> Slice<String>

 

func Args() Slice<String>

Bool

 

method Bool(name: string; value: bool; usage: string): Reference<Boolean>

 

Reference<Boolean> Bool(string name, bool value, string usage)

 

func Bool(_ name: string, _ value: bool, _ usage: string) -> Reference<Boolean>

 

func Bool(name string, value bool, usage string) Reference<Boolean>

Parameters:

  • name:
  • value:
  • usage:

BoolVar

 

method BoolVar(p: Reference<Boolean>; name: string; value: bool; usage: string)

 

void BoolVar(Reference<Boolean> p, string name, bool value, string usage)

 

func BoolVar(_ p: Reference<Boolean>, _ name: string, _ value: bool, _ usage: string)

 

func BoolVar(p Reference<Boolean>, name string, value bool, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

Duration

 

method Duration(name: string; value: Duration; usage: string): Reference<Duration>

 

Reference<Duration> Duration(string name, Duration value, string usage)

 

func Duration(_ name: string, _ value: Duration, _ usage: string) -> Reference<Duration>

 

func Duration(name string, value Duration, usage string) Reference<Duration>

Parameters:

  • name:
  • value:
  • usage:

DurationVar

 

method DurationVar(p: Reference<Duration>; name: string; value: Duration; usage: string)

 

void DurationVar(Reference<Duration> p, string name, Duration value, string usage)

 

func DurationVar(_ p: Reference<Duration>, _ name: string, _ value: Duration, _ usage: string)

 

func DurationVar(p Reference<Duration>, name string, value Duration, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

ErrorHandling

 

method ErrorHandling: ErrorHandling

 

ErrorHandling ErrorHandling()

 

func ErrorHandling() -> ErrorHandling

 

func ErrorHandling() ErrorHandling

Float64

 

method Float64(name: string; value: float64; usage: string): Reference<Double>

 

Reference<Double> Float64(string name, float64 value, string usage)

 

func Float64(_ name: string, _ value: float64, _ usage: string) -> Reference<Double>

 

func Float64(name string, value float64, usage string) Reference<Double>

Parameters:

  • name:
  • value:
  • usage:

Float64Var

 

method Float64Var(p: Reference<Double>; name: string; value: float64; usage: string)

 

void Float64Var(Reference<Double> p, string name, float64 value, string usage)

 

func Float64Var(_ p: Reference<Double>, _ name: string, _ value: float64, _ usage: string)

 

func Float64Var(p Reference<Double>, name string, value float64, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

Init

 

method Init(name: string; errorHandling: ErrorHandling)

 

void Init(string name, ErrorHandling errorHandling)

 

func Init(_ name: string, _ errorHandling: ErrorHandling)

 

func Init(name string, errorHandling ErrorHandling)

Parameters:

  • name:
  • errorHandling:

Int

 

method Int(name: string; value: int; usage: string): Reference<Int64>

 

Reference<Int64> Int(string name, int value, string usage)

 

func Int(_ name: string, _ value: int, _ usage: string) -> Reference<Int64>

 

func Int(name string, value int, usage string) Reference<Int64>

Parameters:

  • name:
  • value:
  • usage:

Int64

 

method Int64(name: string; value: int64; usage: string): Reference<int64>

 

Reference<int64> Int64(string name, int64 value, string usage)

 

func Int64(_ name: string, _ value: int64, _ usage: string) -> Reference<int64>

 

func Int64(name string, value int64, usage string) Reference<int64>

Parameters:

  • name:
  • value:
  • usage:

Int64Var

 

method Int64Var(p: Reference<int64>; name: string; value: int64; usage: string)

 

void Int64Var(Reference<int64> p, string name, int64 value, string usage)

 

func Int64Var(_ p: Reference<int64>, _ name: string, _ value: int64, _ usage: string)

 

func Int64Var(p Reference<int64>, name string, value int64, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

IntVar

 

method IntVar(p: Reference<Int64>; name: string; value: int; usage: string)

 

void IntVar(Reference<Int64> p, string name, int value, string usage)

 

func IntVar(_ p: Reference<Int64>, _ name: string, _ value: int, _ usage: string)

 

func IntVar(p Reference<Int64>, name string, value int, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

Lookup

 

method Lookup(name: string): Reference<Flag>

 

Reference<Flag> Lookup(string name)

 

func Lookup(_ name: string) -> Reference<Flag>

 

func Lookup(name string) Reference<Flag>

Parameters:

  • name:

Name

 

method Name: string

 

string Name()

 

func Name() -> string

 

func Name() string

NArg

 

method NArg: int

 

int NArg()

 

func NArg() -> int

 

func NArg() int

NFlag

 

method NFlag: int

 

int NFlag()

 

func NFlag() -> int

 

func NFlag() int

Output

 

method Output: Writer

 

Writer Output()

 

func Output() -> Writer

 

func Output() Writer

Parse (Slice<String>): error Island, macOS

 

method Parse(arguments: Slice<String>): error

 

error Parse(Slice<String> arguments)

 

func Parse(_ arguments: Slice<String>) -> error

 

func Parse(arguments Slice<String>) error

Parameters:

  • arguments:

Parse (Slice<String>): error .NET, .NET Standard 2.0

 

method Parse(arguments: Slice<String>): error

 

error Parse(Slice<String> arguments)

 

func Parse(_ arguments: Slice<String>) -> error

 

func Parse(arguments Slice<String>) error

Parameters:

  • arguments:

Parsed

 

method Parsed: bool

 

bool Parsed()

 

func Parsed() -> bool

 

func Parsed() bool

PrintDefaults

 

method PrintDefaults

 

void PrintDefaults()

 

func PrintDefaults()

 

func PrintDefaults()

Set

 

method Set(name: string; value: string): error

 

error Set(string name, string value)

 

func Set(_ name: string, _ value: string) -> error

 

func Set(name string, value string) error

Parameters:

  • name:
  • value:

SetOutput

 

method SetOutput(output: Writer)

 

void SetOutput(Writer output)

 

func SetOutput(_ output: Writer)

 

func SetOutput(output Writer)

Parameters:

  • output:

String

 

method String(name: string; value: string; usage: string): Reference<String>

 

Reference<String> String(string name, string value, string usage)

 

func String(_ name: string, _ value: string, _ usage: string) -> Reference<String>

 

func String(name string, value string, usage string) Reference<String>

Parameters:

  • name:
  • value:
  • usage:

StringVar (Reference<String>, string, string, string) Island, macOS

 

method StringVar(p: Reference<String>; name: string; value: string; usage: string)

 

void StringVar(Reference<String> p, string name, string value, string usage)

 

func StringVar(_ p: Reference<String>, _ name: string, _ value: string, _ usage: string)

 

func StringVar(p Reference<String>, name string, value string, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

StringVar (Reference<String>, string, string, string) .NET, .NET Standard 2.0

 

method StringVar(p: Reference<String>; name: string; value: string; usage: string)

 

void StringVar(Reference<String> p, string name, string value, string usage)

 

func StringVar(_ p: Reference<String>, _ name: string, _ value: string, _ usage: string)

 

func StringVar(p Reference<String>, name string, value string, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

Uint

 

method Uint(name: string; value: uint; usage: string): Reference<UInt64>

 

Reference<UInt64> Uint(string name, uint value, string usage)

 

func Uint(_ name: string, _ value: uint, _ usage: string) -> Reference<UInt64>

 

func Uint(name string, value uint, usage string) Reference<UInt64>

Parameters:

  • name:
  • value:
  • usage:

Uint64

 

method Uint64(name: string; value: uint64; usage: string): Reference<uint64>

 

Reference<uint64> Uint64(string name, uint64 value, string usage)

 

func Uint64(_ name: string, _ value: uint64, _ usage: string) -> Reference<uint64>

 

func Uint64(name string, value uint64, usage string) Reference<uint64>

Parameters:

  • name:
  • value:
  • usage:

Uint64Var

 

method Uint64Var(p: Reference<uint64>; name: string; value: uint64; usage: string)

 

void Uint64Var(Reference<uint64> p, string name, uint64 value, string usage)

 

func Uint64Var(_ p: Reference<uint64>, _ name: string, _ value: uint64, _ usage: string)

 

func Uint64Var(p Reference<uint64>, name string, value uint64, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

UintVar

 

method UintVar(p: Reference<UInt64>; name: string; value: uint; usage: string)

 

void UintVar(Reference<UInt64> p, string name, uint value, string usage)

 

func UintVar(_ p: Reference<UInt64>, _ name: string, _ value: uint, _ usage: string)

 

func UintVar(p Reference<UInt64>, name string, value uint, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

Usage

 

var Usage: Action;

 

Action Usage

 

var Usage: Action

 

Usage Action

Var

 

method Var(value: Value; name: string; usage: string)

 

void Var(Value value, string name, string usage)

 

func Var(_ value: Value, _ name: string, _ usage: string)

 

func Var(value Value, name string, usage string)

Parameters:

  • value:
  • name:
  • usage:

Visit

 

method Visit(fn: Action<Reference<Flag>>)

 

void Visit(Action<Reference<Flag>> fn)

 

func Visit(_ fn: Action<Reference<Flag>>)

 

func Visit(fn Action<Reference<Flag>>)

Parameters:

  • fn:

VisitAll

 

method VisitAll(fn: Action<Reference<Flag>>)

 

void VisitAll(Action<Reference<Flag>> fn)

 

func VisitAll(_ fn: Action<Reference<Flag>>)

 

func VisitAll(fn Action<Reference<Flag>>)

Parameters:

  • fn:

 

Usage

 

var Usage: Action;

 

Action Usage

 

var Usage: Action

 

Usage Action

 

constructor

 

constructor

 

FlagSet()

 

init()

constructor (Action, string, bool, Map<String, Reference<Flag>>, Map<String, Reference<Flag>>, Slice<String>, ErrorHandling, Writer) Island, macOS

 

constructor(aUsage: Action; aname: string; aparsed: bool; aactual: Map<String, Reference<Flag>>; aformal: Map<String, Reference<Flag>>; aargs: Slice<String>; aerrorHandling: ErrorHandling; aoutput: Writer)

 

FlagSet(Action aUsage, string aname, bool aparsed, Map<String, Reference<Flag>> aactual, Map<String, Reference<Flag>> aformal, Slice<String> aargs, ErrorHandling aerrorHandling, Writer aoutput)

 

init(_ aUsage: Action, _ aname: string, _ aparsed: bool, _ aactual: Map<String, Reference<Flag>>, _ aformal: Map<String, Reference<Flag>>, _ aargs: Slice<String>, _ aerrorHandling: ErrorHandling, _ aoutput: Writer)

Parameters:

  • aUsage:
  • aname:
  • aparsed:
  • aactual:
  • aformal:
  • aargs:
  • aerrorHandling:
  • aoutput:

constructor (Action, String, Boolean, Map<String, Reference<Flag>>, Map<String, Reference<Flag>>, Slice<String>, ErrorHandling, Writer) .NET, .NET Standard 2.0

 

constructor(aUsage: Action; aname: String; aparsed: Boolean; aactual: Map<String, Reference<Flag>>; aformal: Map<String, Reference<Flag>>; aargs: Slice<String>; aerrorHandling: ErrorHandling; aoutput: Writer)

 

FlagSet(Action aUsage, String aname, Boolean aparsed, Map<String, Reference<Flag>> aactual, Map<String, Reference<Flag>> aformal, Slice<String> aargs, ErrorHandling aerrorHandling, Writer aoutput)

 

init(_ aUsage: Action, _ aname: String, _ aparsed: Boolean, _ aactual: Map<String, Reference<Flag>>, _ aformal: Map<String, Reference<Flag>>, _ aargs: Slice<String>, _ aerrorHandling: ErrorHandling, _ aoutput: Writer)

Parameters:

  • aUsage:
  • aname:
  • aparsed:
  • aactual:
  • aformal:
  • aargs:
  • aerrorHandling:
  • aoutput:

constructor (FlagSet)

 

constructor(value: FlagSet)

 

FlagSet(FlagSet value)

 

init(_ value: FlagSet)

Parameters:

  • value:

Arg

 

method Arg(i: int): string

 

string Arg(int i)

 

func Arg(_ i: int) -> string

 

func Arg(i int) string

Parameters:

  • i:

Args

 

method Args: Slice<String>

 

Slice<String> Args()

 

func Args() -> Slice<String>

 

func Args() Slice<String>

Bool

 

method Bool(name: string; value: bool; usage: string): Reference<Boolean>

 

Reference<Boolean> Bool(string name, bool value, string usage)

 

func Bool(_ name: string, _ value: bool, _ usage: string) -> Reference<Boolean>

 

func Bool(name string, value bool, usage string) Reference<Boolean>

Parameters:

  • name:
  • value:
  • usage:

BoolVar

 

method BoolVar(p: Reference<Boolean>; name: string; value: bool; usage: string)

 

void BoolVar(Reference<Boolean> p, string name, bool value, string usage)

 

func BoolVar(_ p: Reference<Boolean>, _ name: string, _ value: bool, _ usage: string)

 

func BoolVar(p Reference<Boolean>, name string, value bool, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

Duration

 

method Duration(name: string; value: Duration; usage: string): Reference<Duration>

 

Reference<Duration> Duration(string name, Duration value, string usage)

 

func Duration(_ name: string, _ value: Duration, _ usage: string) -> Reference<Duration>

 

func Duration(name string, value Duration, usage string) Reference<Duration>

Parameters:

  • name:
  • value:
  • usage:

DurationVar

 

method DurationVar(p: Reference<Duration>; name: string; value: Duration; usage: string)

 

void DurationVar(Reference<Duration> p, string name, Duration value, string usage)

 

func DurationVar(_ p: Reference<Duration>, _ name: string, _ value: Duration, _ usage: string)

 

func DurationVar(p Reference<Duration>, name string, value Duration, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

ErrorHandling

 

method ErrorHandling: ErrorHandling

 

ErrorHandling ErrorHandling()

 

func ErrorHandling() -> ErrorHandling

 

func ErrorHandling() ErrorHandling

Float64

 

method Float64(name: string; value: float64; usage: string): Reference<Double>

 

Reference<Double> Float64(string name, float64 value, string usage)

 

func Float64(_ name: string, _ value: float64, _ usage: string) -> Reference<Double>

 

func Float64(name string, value float64, usage string) Reference<Double>

Parameters:

  • name:
  • value:
  • usage:

Float64Var

 

method Float64Var(p: Reference<Double>; name: string; value: float64; usage: string)

 

void Float64Var(Reference<Double> p, string name, float64 value, string usage)

 

func Float64Var(_ p: Reference<Double>, _ name: string, _ value: float64, _ usage: string)

 

func Float64Var(p Reference<Double>, name string, value float64, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

Init

 

method Init(name: string; errorHandling: ErrorHandling)

 

void Init(string name, ErrorHandling errorHandling)

 

func Init(_ name: string, _ errorHandling: ErrorHandling)

 

func Init(name string, errorHandling ErrorHandling)

Parameters:

  • name:
  • errorHandling:

Int

 

method Int(name: string; value: int; usage: string): Reference<Int64>

 

Reference<Int64> Int(string name, int value, string usage)

 

func Int(_ name: string, _ value: int, _ usage: string) -> Reference<Int64>

 

func Int(name string, value int, usage string) Reference<Int64>

Parameters:

  • name:
  • value:
  • usage:

Int64

 

method Int64(name: string; value: int64; usage: string): Reference<int64>

 

Reference<int64> Int64(string name, int64 value, string usage)

 

func Int64(_ name: string, _ value: int64, _ usage: string) -> Reference<int64>

 

func Int64(name string, value int64, usage string) Reference<int64>

Parameters:

  • name:
  • value:
  • usage:

Int64Var

 

method Int64Var(p: Reference<int64>; name: string; value: int64; usage: string)

 

void Int64Var(Reference<int64> p, string name, int64 value, string usage)

 

func Int64Var(_ p: Reference<int64>, _ name: string, _ value: int64, _ usage: string)

 

func Int64Var(p Reference<int64>, name string, value int64, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

IntVar

 

method IntVar(p: Reference<Int64>; name: string; value: int; usage: string)

 

void IntVar(Reference<Int64> p, string name, int value, string usage)

 

func IntVar(_ p: Reference<Int64>, _ name: string, _ value: int, _ usage: string)

 

func IntVar(p Reference<Int64>, name string, value int, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

Lookup

 

method Lookup(name: string): Reference<Flag>

 

Reference<Flag> Lookup(string name)

 

func Lookup(_ name: string) -> Reference<Flag>

 

func Lookup(name string) Reference<Flag>

Parameters:

  • name:

Name

 

method Name: string

 

string Name()

 

func Name() -> string

 

func Name() string

NArg

 

method NArg: int

 

int NArg()

 

func NArg() -> int

 

func NArg() int

NFlag

 

method NFlag: int

 

int NFlag()

 

func NFlag() -> int

 

func NFlag() int

Output

 

method Output: Writer

 

Writer Output()

 

func Output() -> Writer

 

func Output() Writer

Parse (Slice<String>): error Island, macOS

 

method Parse(arguments: Slice<String>): error

 

error Parse(Slice<String> arguments)

 

func Parse(_ arguments: Slice<String>) -> error

 

func Parse(arguments Slice<String>) error

Parameters:

  • arguments:

Parse (Slice<String>): error .NET, .NET Standard 2.0

 

method Parse(arguments: Slice<String>): error

 

error Parse(Slice<String> arguments)

 

func Parse(_ arguments: Slice<String>) -> error

 

func Parse(arguments Slice<String>) error

Parameters:

  • arguments:

Parsed

 

method Parsed: bool

 

bool Parsed()

 

func Parsed() -> bool

 

func Parsed() bool

PrintDefaults

 

method PrintDefaults

 

void PrintDefaults()

 

func PrintDefaults()

 

func PrintDefaults()

Set

 

method Set(name: string; value: string): error

 

error Set(string name, string value)

 

func Set(_ name: string, _ value: string) -> error

 

func Set(name string, value string) error

Parameters:

  • name:
  • value:

SetOutput

 

method SetOutput(output: Writer)

 

void SetOutput(Writer output)

 

func SetOutput(_ output: Writer)

 

func SetOutput(output Writer)

Parameters:

  • output:

String

 

method String(name: string; value: string; usage: string): Reference<String>

 

Reference<String> String(string name, string value, string usage)

 

func String(_ name: string, _ value: string, _ usage: string) -> Reference<String>

 

func String(name string, value string, usage string) Reference<String>

Parameters:

  • name:
  • value:
  • usage:

StringVar (Reference<String>, string, string, string) Island, macOS

 

method StringVar(p: Reference<String>; name: string; value: string; usage: string)

 

void StringVar(Reference<String> p, string name, string value, string usage)

 

func StringVar(_ p: Reference<String>, _ name: string, _ value: string, _ usage: string)

 

func StringVar(p Reference<String>, name string, value string, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

StringVar (Reference<String>, string, string, string) .NET, .NET Standard 2.0

 

method StringVar(p: Reference<String>; name: string; value: string; usage: string)

 

void StringVar(Reference<String> p, string name, string value, string usage)

 

func StringVar(_ p: Reference<String>, _ name: string, _ value: string, _ usage: string)

 

func StringVar(p Reference<String>, name string, value string, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

Uint

 

method Uint(name: string; value: uint; usage: string): Reference<UInt64>

 

Reference<UInt64> Uint(string name, uint value, string usage)

 

func Uint(_ name: string, _ value: uint, _ usage: string) -> Reference<UInt64>

 

func Uint(name string, value uint, usage string) Reference<UInt64>

Parameters:

  • name:
  • value:
  • usage:

Uint64

 

method Uint64(name: string; value: uint64; usage: string): Reference<uint64>

 

Reference<uint64> Uint64(string name, uint64 value, string usage)

 

func Uint64(_ name: string, _ value: uint64, _ usage: string) -> Reference<uint64>

 

func Uint64(name string, value uint64, usage string) Reference<uint64>

Parameters:

  • name:
  • value:
  • usage:

Uint64Var

 

method Uint64Var(p: Reference<uint64>; name: string; value: uint64; usage: string)

 

void Uint64Var(Reference<uint64> p, string name, uint64 value, string usage)

 

func Uint64Var(_ p: Reference<uint64>, _ name: string, _ value: uint64, _ usage: string)

 

func Uint64Var(p Reference<uint64>, name string, value uint64, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

UintVar

 

method UintVar(p: Reference<UInt64>; name: string; value: uint; usage: string)

 

void UintVar(Reference<UInt64> p, string name, uint value, string usage)

 

func UintVar(_ p: Reference<UInt64>, _ name: string, _ value: uint, _ usage: string)

 

func UintVar(p Reference<UInt64>, name string, value uint, usage string)

Parameters:

  • p:
  • name:
  • value:
  • usage:

Var

 

method Var(value: Value; name: string; usage: string)

 

void Var(Value value, string name, string usage)

 

func Var(_ value: Value, _ name: string, _ usage: string)

 

func Var(value Value, name string, usage string)

Parameters:

  • value:
  • name:
  • usage:

Visit

 

method Visit(fn: Action<Reference<Flag>>)

 

void Visit(Action<Reference<Flag>> fn)

 

func Visit(_ fn: Action<Reference<Flag>>)

 

func Visit(fn Action<Reference<Flag>>)

Parameters:

  • fn:

VisitAll

 

method VisitAll(fn: Action<Reference<Flag>>)

 

void VisitAll(Action<Reference<Flag>> fn)

 

func VisitAll(_ fn: Action<Reference<Flag>>)

 

func VisitAll(fn Action<Reference<Flag>>)

Parameters:

  • fn: