leo / args

Toolkit for building command line interfaces
https://npmjs.com/args
MIT License
461 stars 30 forks source link

Feature: Different short and long switches #132

Open DRSDavidSoft opened 5 years ago

DRSDavidSoft commented 5 years ago

Feature Request

This is something that I have ran into several times.

Please allow us to use custom short switches for long arguments.

app.js --page
app.js --package
app.js --port

Currently, it gives -p and -P randomly for the three arguments.

I would like to have these:

app.js -n, --page
app.js -m, --package
app.js -p, --port

Related

oom- commented 3 years ago

Yes please, something as described here: https://github.com/leo/args/issues/37#issuecomment-459300622