Skip to main content

Module aliases

Module aliases 

Source
Expand description

Command aliases.

Aliases are resolved by rewriting the command-line arguments before they are parsed: the first subcommand token is looked up in the alias table and, if found, replaced by its expansion.

For now the alias table is hardcoded; in the future it is anticipated to be user-configurable via a config file.

Statics§

ALIASES
The table of command aliases, mapping an alias name to its expansion.

Functions§

resolve
Resolves command aliases by rewriting args in place.