mando
mando copied to clipboard
Automatically support arguments and command names with dashed variants?
In most command-line interfaces, dashes are used in place of underscores, for both arguments and subcommand names. (git cherry-pick
, svn co --ignore-externals
, etc.)
This can be done in mando, but it requires extra steps. Dashed arguments can be achieved through adding a documentation string such as :param --ignore-externals:
for the above example, and commands can be augmented with something such as @command("cherry-pick")
for the above example.
It would be nice to have some method of achieving this automatically.
(p.s. mando is awesome!)
Hi Robert, thank you for your kind words! This is something that I wanted to add myself, but now I don't have time to allocate to this project. I'll be happy to review any PR though!