package
2.7.3
Repository: https://github.com/aeo123/gf.git
Documentation: pkg.go.dev

# Functions

BuildOptions builds the options as string.
CommandFromCtx retrieves and returns Command from context.
GetArg returns the argument at `index` as gvar.Var.
GetArgAll returns all parsed arguments.
GetOpt returns the option value named `name` as gvar.Var.
GetOptAll returns all parsed options.
GetOptWithEnv returns the command line argument of the specified `key`.
Init does custom initialization.
NewFromObject creates and returns a root command object using given object.
Parse creates and returns a new Parser with os.Args and supported options.
ParseArgs creates and returns a new Parser with given arguments and supported options.
ParserFromCtx retrieves and returns Parser from context.
Scan prints `info` to stdout, reads and returns user input, which stops by '\n'.
Scanf prints `info` to stdout with `format`, reads and returns user input, which stops by '\n'.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Argument is the command value that are used by certain command.
Command holds the info about an argument that can handle custom logic.
Parser for arguments.
ParserOption manages the parsing options.

# Type aliases

Function is a custom command callback function that is bound to a certain argument.
FuncWithValue is similar like Func but with output parameters that can interact with command caller.