Skip to content

Conversation

batkiz
Copy link

@batkiz batkiz commented Dec 2, 2020

btw, how could I add a command option's values completion with CommandInfo class? just like

$options['audit'] = [ordered] @{
	'--groups'  = @(
		'devDependencies',
		'dependencies',
		'optionalDependencies'
	);
}

in https://github.com/PowerShell-Completion/yarn-completion/blob/aa6fa779a02b5ad2cf163632eedf0200c9a9bbf1/src/options/audit.ps1#L6

Copy link

@mavaddat mavaddat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is correct ordinal in invariant English.

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