Args (gb.args)
Static properties
Abort
|
Return or set whether the program aborts or raises an error when an Args method fails.
|
Inherited static properties
All
|
Return a copy of the process arguments as a string array.
|
Count
|
Return the number of command line arguments.
|
Max
|
Returns Args.Count - 1
|
Static methods
Begin
|
Start the program argument analysis.
|
End
|
Terminate the program argument analysis, and return all arguments that could not be interpreted
as an option or an option argument.
|
Get
|
Define an option that takes one string argument, and return it.
|
GetFloat
|
Define an option that takes one floating point number argument, and return it.
|
GetInteger
|
Define an option that takes one integer number argument, and return it.
|
Has
|
Define an option that takes no argument, and return if it has been specified.
|
HelpText
|
Get the default help message. Must be used after Args.Begin()
Returns the message text and will Print to stdout if boolean arg PrintText is True.
|
Inherited static methods
Copy
|
Return a copy of the argument list as a string array.
|