ICliGetCompletionsGetCompletions Method

This method will be called for every option and argument, you should switch according to the property name which corresponds to the option or argument whose completions will be retrieved.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.5.0
C#
IEnumerable<CompletionItem> GetCompletions(
	string propertyName,
	CompletionContext completionContext
)

Parameters

propertyName  String
The property name which corresponds to the current option or argument.
completionContext  CompletionContext
The completion context.

Return Value

IEnumerableCompletionItem
An enumerable list of CompletionItem.

See Also