nsc completion powershell

Generate the autocompletion script for powershell.

completion powershell generates a PowerShell autocompletion script for nsc.

To load completions in your current shell session:

nsc completion powershell | Out-String | Invoke-Expression

To load completions for every new session, add the output of the above command to your PowerShell profile.

Usage

nsc completion powershell [--no-descriptions]

Example

$ nsc completion powershell | Out-String | Invoke-Expression

Options

--no-descriptions

Disable completion descriptions. By default, the generated script includes a short description alongside each completion candidate; pass this flag to omit them and print candidates only.