-
-
Notifications
You must be signed in to change notification settings - Fork 152
Closed
Labels
Description
I never liked the alias
wording, which was inherited from minimist
. I think it would be better to have a more explicit and semantic name called shortFlag
.
We could then also add a aliases
option where users can specify actual aliases and not just limited to one:
{
flags: {
unicorn: {
type: 'string',
default: 'love',
shortFlag: 'u',
aliases: [
'--rainbow',
'-r'
]
}
}
}
Could use some feedback on this proposal.
LitoMore, tobiasbueschel, muuvmuuv, benfletcher, banyan and 2 morefantastic0206