The parsed command line arguments from minimist.
The parsed options that were passed to minimist.
The actual command name extracted from process.argv
.
The description of the CLI.
Usage examples for the CLI.
Generates a help message for the CLI. This includes the title, description, usage, examples, parameters, and options.
Generates a version message for the CLI. This includes the package name and version.
Optional
iconAn optional icon for the CLI.
The absolute path to the directory containing the CLI's package.json.
The command name of the CLI.
The options for the CLI. This is a map of option names to their descriptions and properties.
A label for the options section. This is used in the help message to indicate the options section.
The package information of the CLI. This is derived from the package.json file in the CLI's directory.
The parameters for the CLI. This is a map of parameter names to their descriptions.
A label for the parameters section. This is used in the help message to indicate the parameters section.
The function to handle the SIGINT signal (Ctrl+C). If undefined, clirk will not handle the SIGINT signal.
The message to display when the SIGINT signal (CTRL+C) is received. This is either a custom message provided by the user or a default message.
The printable title of the CLI.
Usage instructions for the CLI.
A label for the usage section. This is used in the help message to indicate the usage section.
The context for the clirk CLI.