IShellProvider Interface

Definition

Provides and manages completions scripts for a specific shell.

public interface class IShellProvider
public interface IShellProvider
type IShellProvider = interface
Public Interface IShellProvider
Derived

Properties

Name Description
ArgumentName

The name of this shell as exposed on the completion command line arguments.

Extension

The file extension typically used for this shell's completions scripts (sans period).

HelpDescription

This will be used when specifying the shell in CLI completions and help text. Use it to provide any specific details about the shell. For example, the PowershellShellProvider will clarify that it only works for PowerShell Core.

Methods

Name Description
GenerateCompletions(Command)

Generates a shell-specific completions script for the given command tree.

Applies to