Edit

Share via


System.CommandLine.Completions Namespace

Provides types and interfaces for command-line completion operations, including contexts, items, and sources for generating completions.

Classes

CompletionContext

Supports command line completion operations.

CompletionItem

Provides details about a command line completion item.

SuggestDirective

Enables the use of the [suggest] directive which when specified in command line input short circuits normal command handling and writes a newline-delimited list of suggestions suitable for use by most shells to provide command line completions.

TextCompletionContext

Provides details for calculating completions in the context of complete, unsplit command line text.

TokenCompletionContext

Provides details for getting completions when the complete text of the original command line is not available.

Interfaces

ICompletionSource

Provides completions and example values for help.

Delegates

CompletionDelegate

Provides command line completion.