Skip to content

Conversation

tommy-mitchell
Copy link
Contributor

@tommy-mitchell tommy-mitchell commented Mar 19, 2023

Adds flag.aliases as specified in #109:

flags: {
	unicorn: {
		type: 'string',
		shortFlag: 'u',
		aliases: ['unicorns']
	}
}
//=> Accepts `--unicorn`, `--unicorns`, or `-u`

@sindresorhus sindresorhus merged commit 901b9fc into sindresorhus:main Mar 20, 2023
@sindresorhus
Copy link
Owner

@tommy-mitchell Do you plan any more changes? If not, I will do a new version.

@tommy-mitchell
Copy link
Contributor Author

I was also working on a .choices option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants