args
args copied to clipboard
Issue: Change default arguments
Issue
How do I change default arguments?
For example, I'd like to use --help
and -?
arguments for help, instead of --help
and -h
.
args
sets short name of your command in default as your commands first letter. Do you need to define short names for all or your commands to be different than this? Or just this one?
In first case you should look ./lib/option.js
. Note that this will impact all of your short names.