FlagSet

Overview

Location

  • Reference: Go.fx
  • Namespace: go.flag
  • Platforms: Island

 

constructor

 

constructor

 

FlagSet()

 

init()

 

Sub New()

 

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)

 

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

Parameters:

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

constructor (FlagSet)

 

constructor(value: FlagSet)

 

FlagSet(FlagSet value)

 

init(_ value: FlagSet)

 

Sub New(value As FlagSet)

Parameters:

  • value:

Arg

 

method Arg(i: int): string

 

string Arg(int i)

 

func Arg(_ i: int) -> string

 

func Arg(i int) string

 

Function Arg(i As int) As string

Parameters:

  • i:

Args

 

method Args: Slice<string>

 

Slice<string> Args()

 

func Args() -> Slice<string>

 

func Args() Slice<string>

 

Function Args() As 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>

 

Function Bool(name As string, value As bool, usage As string) As 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)

 

Sub BoolVar(p As Reference<Boolean>, name As string, value As bool, usage As 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>

 

Function Duration(name As string, value As Duration, usage As string) As 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)

 

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

Parameters:

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

ErrorHandling

 

method ErrorHandling: ErrorHandling

 

ErrorHandling ErrorHandling()

 

func ErrorHandling() -> ErrorHandling

 

func ErrorHandling() ErrorHandling

 

Function ErrorHandling() As 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>

 

Function Float64(name As string, value As float64, usage As string) As 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)

 

Sub Float64Var(p As Reference<Double>, name As string, value As float64, usage As 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)

 

Sub Init(name As string, errorHandling As 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>

 

Function Int(name As string, value As int, usage As string) As 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>

 

Function Int64(name As string, value As int64, usage As string) As 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)

 

Sub Int64Var(p As Reference<int64>, name As string, value As int64, usage As 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)

 

Sub IntVar(p As Reference<Int64>, name As string, value As int, usage As 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>

 

Function Lookup(name As string) As Reference<Flag>

Parameters:

  • name:

Name

 

method Name: string

 

string Name()

 

func Name() -> string

 

func Name() string

 

Function Name() As string

NArg

 

method NArg: int

 

int NArg()

 

func NArg() -> int

 

func NArg() int

 

Function NArg() As int

NFlag

 

method NFlag: int

 

int NFlag()

 

func NFlag() -> int

 

func NFlag() int

 

Function NFlag() As int

Output

 

method Output: Writer

 

Writer Output()

 

func Output() -> Writer

 

func Output() Writer

 

Function Output() As Writer

Parse

 

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

 

error Parse(Slice<string> arguments)

 

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

 

func Parse(arguments Slice<string>) error

 

Function Parse(arguments As Slice<string>) As error

Parameters:

  • arguments:

Parsed

 

method Parsed: bool

 

bool Parsed()

 

func Parsed() -> bool

 

func Parsed() bool

 

Function Parsed() As bool

PrintDefaults

 

method PrintDefaults

 

void PrintDefaults()

 

func PrintDefaults()

 

func PrintDefaults()

 

Sub 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

 

Function Set(name As string, value As string) As error

Parameters:

  • name:
  • value:

SetOutput

 

method SetOutput(output: Writer)

 

void SetOutput(Writer output)

 

func SetOutput(_ output: Writer)

 

func SetOutput(output Writer)

 

Sub SetOutput(output As 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>

 

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

Parameters:

  • name:
  • value:
  • usage:

StringVar

 

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)

 

Sub StringVar(p As Reference<string>, name As string, value As string, usage As 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>

 

Function Uint(name As string, value As uint, usage As string) As 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>

 

Function Uint64(name As string, value As uint64, usage As string) As 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)

 

Sub Uint64Var(p As Reference<uint64>, name As string, value As uint64, usage As 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)

 

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

Parameters:

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

Usage

 

var Usage: Action;

 

Action Usage

 

var Usage: Action

 

Usage Action

 

FIELD Usage() As 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)

 

Sub Var(value As Value, name As string, usage As string)

Parameters:

  • value:
  • name:
  • usage:

Visit

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
method Visit(fn: Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
method Visit(fn: Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
void Visit(Action<go.builtin.Reference<go.flag.Flag>> fn)
// Island-watchOS Simulator-i386
void Visit(Action<Flag> fn)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
func Visit(_ fn: Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
func Visit(_ fn: Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
func Visit(fn Action<go.builtin.Reference<go.flag.Flag>>) 
// Island-watchOS Simulator-i386
func Visit(fn Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
Sub Visit(fn As Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
Sub Visit(fn As Action (Of Flag))

Parameters:

  • fn:

VisitAll

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
method VisitAll(fn: Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
method VisitAll(fn: Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
void VisitAll(Action<go.builtin.Reference<go.flag.Flag>> fn)
// Island-watchOS Simulator-i386
void VisitAll(Action<Flag> fn)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
func VisitAll(_ fn: Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
func VisitAll(_ fn: Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
func VisitAll(fn Action<go.builtin.Reference<go.flag.Flag>>) 
// Island-watchOS Simulator-i386
func VisitAll(fn Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
Sub VisitAll(fn As Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
Sub VisitAll(fn As Action (Of Flag))

Parameters:

  • fn:

 

Usage

 

var Usage: Action;

 

Action Usage

 

var Usage: Action

 

Usage Action

 

FIELD Usage() As Action

 

constructor

 

constructor

 

FlagSet()

 

init()

 

Sub New()

 

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)

 

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

Parameters:

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

constructor (FlagSet)

 

constructor(value: FlagSet)

 

FlagSet(FlagSet value)

 

init(_ value: FlagSet)

 

Sub New(value As FlagSet)

Parameters:

  • value:

Arg

 

method Arg(i: int): string

 

string Arg(int i)

 

func Arg(_ i: int) -> string

 

func Arg(i int) string

 

Function Arg(i As int) As string

Parameters:

  • i:

Args

 

method Args: Slice<string>

 

Slice<string> Args()

 

func Args() -> Slice<string>

 

func Args() Slice<string>

 

Function Args() As 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>

 

Function Bool(name As string, value As bool, usage As string) As 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)

 

Sub BoolVar(p As Reference<Boolean>, name As string, value As bool, usage As 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>

 

Function Duration(name As string, value As Duration, usage As string) As 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)

 

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

Parameters:

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

ErrorHandling

 

method ErrorHandling: ErrorHandling

 

ErrorHandling ErrorHandling()

 

func ErrorHandling() -> ErrorHandling

 

func ErrorHandling() ErrorHandling

 

Function ErrorHandling() As 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>

 

Function Float64(name As string, value As float64, usage As string) As 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)

 

Sub Float64Var(p As Reference<Double>, name As string, value As float64, usage As 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)

 

Sub Init(name As string, errorHandling As 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>

 

Function Int(name As string, value As int, usage As string) As 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>

 

Function Int64(name As string, value As int64, usage As string) As 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)

 

Sub Int64Var(p As Reference<int64>, name As string, value As int64, usage As 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)

 

Sub IntVar(p As Reference<Int64>, name As string, value As int, usage As 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>

 

Function Lookup(name As string) As Reference<Flag>

Parameters:

  • name:

Name

 

method Name: string

 

string Name()

 

func Name() -> string

 

func Name() string

 

Function Name() As string

NArg

 

method NArg: int

 

int NArg()

 

func NArg() -> int

 

func NArg() int

 

Function NArg() As int

NFlag

 

method NFlag: int

 

int NFlag()

 

func NFlag() -> int

 

func NFlag() int

 

Function NFlag() As int

Output

 

method Output: Writer

 

Writer Output()

 

func Output() -> Writer

 

func Output() Writer

 

Function Output() As Writer

Parse

 

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

 

error Parse(Slice<string> arguments)

 

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

 

func Parse(arguments Slice<string>) error

 

Function Parse(arguments As Slice<string>) As error

Parameters:

  • arguments:

Parsed

 

method Parsed: bool

 

bool Parsed()

 

func Parsed() -> bool

 

func Parsed() bool

 

Function Parsed() As bool

PrintDefaults

 

method PrintDefaults

 

void PrintDefaults()

 

func PrintDefaults()

 

func PrintDefaults()

 

Sub 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

 

Function Set(name As string, value As string) As error

Parameters:

  • name:
  • value:

SetOutput

 

method SetOutput(output: Writer)

 

void SetOutput(Writer output)

 

func SetOutput(_ output: Writer)

 

func SetOutput(output Writer)

 

Sub SetOutput(output As 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>

 

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

Parameters:

  • name:
  • value:
  • usage:

StringVar

 

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)

 

Sub StringVar(p As Reference<string>, name As string, value As string, usage As 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>

 

Function Uint(name As string, value As uint, usage As string) As 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>

 

Function Uint64(name As string, value As uint64, usage As string) As 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)

 

Sub Uint64Var(p As Reference<uint64>, name As string, value As uint64, usage As 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)

 

Sub UintVar(p As Reference<UInt64>, name As string, value As uint, usage As 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)

 

Sub Var(value As Value, name As string, usage As string)

Parameters:

  • value:
  • name:
  • usage:

Visit

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
method Visit(fn: Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
method Visit(fn: Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
void Visit(Action<go.builtin.Reference<go.flag.Flag>> fn)
// Island-watchOS Simulator-i386
void Visit(Action<Flag> fn)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
func Visit(_ fn: Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
func Visit(_ fn: Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
func Visit(fn Action<go.builtin.Reference<go.flag.Flag>>) 
// Island-watchOS Simulator-i386
func Visit(fn Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
Sub Visit(fn As Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
Sub Visit(fn As Action (Of Flag))

Parameters:

  • fn:

VisitAll

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
method VisitAll(fn: Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
method VisitAll(fn: Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
void VisitAll(Action<go.builtin.Reference<go.flag.Flag>> fn)
// Island-watchOS Simulator-i386
void VisitAll(Action<Flag> fn)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
func VisitAll(_ fn: Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
func VisitAll(_ fn: Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
func VisitAll(fn Action<go.builtin.Reference<go.flag.Flag>>) 
// Island-watchOS Simulator-i386
func VisitAll(fn Action<Flag>)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator-x86_64, Island-Windows
Sub VisitAll(fn As Action<go.builtin.Reference<go.flag.Flag>>)
// Island-watchOS Simulator-i386
Sub VisitAll(fn As Action (Of Flag))

Parameters:

  • fn: