Skip to content

Conversation

@jakejohns
Copy link

Adds ability to register aliases for commands. I like to use longer, descriptive proper names with convenient shortcuts.

$ ./bin/user --help
Usage: ./bin/user <command> [options] [operands]

Options:
  --version      Show version information and quit
  -?, --help     Show this help and quit
  -v, --verbose  Increase verbosity

Commands:
  register  Register a user [alias: reg, init]
  password  Set or reset a users password [alias: passwd, pw]
  list      List users [alias: l, ls]


$ ./bin/user list
[... list command output]

$ ./bin/user ls
[... list command output]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant