package
0.16.0
Repository: https://github.com/rbmk-project/common.git
Documentation: pkg.go.dev

# Functions

HelpRequested reads the argv and returns whether it contains one of `-h`, `--help`, in any position, or `help` as the first element in the vector.
NewCommandWithSubCommands constructs a [CommandWithSubCommands].

# Structs

CommandWithSubCommands is a [Command] that contains subcommands.
StandardEnvironment is the standard implementation of [Environment].

# Interfaces

Command is an rbmk command-line command.
Environment is the environment for executing a [Command].
LazyHelpRenderer renders the help possibly adding colours and formatting.

# Type aliases

LazyHelpRendererFunc is a function that implements [LazyHelpRenderer].