package
0.0.0-20240927105425-f6cbe64b58da
Repository: https://github.com/gxde-os/golang-gxde-dev.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Arg adds a new argument to the top-level of the default parser.
Command adds a new command to the default parser.
Errorf prints an error message to stderr.
Expand arguments from a file.
Fatalf prints an error message to stderr and exits.
FatalIfError prints an error and exits if err is not nil.
FatalUsage prints an error message followed by usage information, then exits with a non-zero status.
FatalUsageContext writes a printf formatted error message to stderr, then usage information for the given ParseContext, before exiting.
Flag adds a new flag to the default parser.
MustParse can be used with app.Parse(args) to exit with an error if parsing fails.
New creates a new Kingpin application instance.
Parse and return the selected command.
Usage prints usage to stderr.
Set global usage template to use (defaults to DefaultUsageTemplate).
Version adds a flag for displaying the application version number.

# Constants

Token types.
Token types.
Token types.
Token types.
Token types.

# Variables

No description provided by the author
CommandLine is the default Kingpin parser.
Usage template with compactly formatted commands.
Default usage template.
No description provided by the author
Top-level help command.
Global help flag.
Default usage template.
No description provided by the author
Usage template where command's optional flags are listed separately.
No description provided by the author
Global version flag.
No description provided by the author

# Structs

An Application contains the definitions of flags, arguments and commands for an application.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A CmdClause is a single top-level command.
No description provided by the author
No description provided by the author
FlagClause is a fluid interface used to build flags.
No description provided by the author
No description provided by the author
ParseContext holds the current context of the parser.
A union of possible elements in a parse stack.
No description provided by the author

# Interfaces

Getter is an interface that allows the contents of a Value to be retrieved.
No description provided by the author
Value is the interface to the dynamic value stored in a flag.

# Type aliases

Action callback executed at various stages after all values are populated.
No description provided by the author
No description provided by the author
HintAction is a function type who is expected to return a slice of possible command line arguments.
No description provided by the author