package
5.2.1
Repository: https://github.com/peterebden/go-cli-init.git
Documentation: pkg.go.dev

# Functions

ActiveCommand returns the name of the currently active command.
ActiveCommand returns the concatenation of all subcommands that make up the command.
ContainsString returns true if the given slice contains an individual string.
ParseFlags parses the app's flags and returns the parser, any extra arguments, and any error encountered.
ParseFlagsFromArgsOrDie is similar to ParseFlagsOrDie but allows control over the flags passed.
ParseFlagsOrDie parses the app's flags and dies if unsuccessful.
ReadAllStdin reads standard input in its entirety to a slice.
ReadStdin reads a sequence of space-delimited words from standard input.

# Type aliases

AdditionalUsageInfo is the type of function that seeks out auxiliary options and adds them to the end of usage info.
A ByteSize is used for flags that represent some quantity of bytes that can be passed as human-readable quantities (eg.
A CompletionHandler is the type of function that our flags library uses to handle completions.
A Duration is used for flags that represent a time duration; it's just a wrapper around time.Duration that implements the flags.Unmarshaler and encoding.TextUnmarshaler interfaces.
StdinStrings is a type used for flags; it accepts a slice of strings but also if it's a single - it reads its contents from stdin.