Skip to content

Command::aliases

since 0.1.0

Sets multiple hidden aliases to this subcommand.

name = "myprog"
[[subcommands]]
name = "test"
aliases = ["do-stuff", "do-tests", "tests"]
[subcommands.args]
input = { required = false, help = "the file to add" }
Terminal window
myprog do-tests
Terminal window
claptrap__subcommand='test'