Command
nylas completion powershell
Generate PowerShell completion script.
Written by Qasim Muhammad Staff SRE
What does nylas completion powershell do?
The nylas completion powershell command generates a PowerShell completion script for CLI commands and flags. Add it to your profile to enable tab completion.
Usage
nylas completion powershell [flags]Flags
| Flag | Description |
|---|---|
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Limit results (most list commands) |
| --yes(-y) | Skip confirmations |
| --no-descriptions | Disable completion descriptions |
Examples
Write the completion script to your PowerShell profile
nylas completion powershell >> $PROFILELoad completions in the current session
nylas completion powershell | Out-String | Invoke-ExpressionGenerate a script without completion descriptions
nylas completion powershell --no-descriptionsExample output
# powershell completion for nylas -*- shell-script -*-
function __nylas_debug {
if ($env:BASH_COMP_DEBUG_FILE) {
"$args" | Out-File -Append -FilePath "$env:BASH_COMP_DEBUG_FILE"
}
}
# ... (load with: nylas completion powershell | Out-String | Invoke-Expression)Troubleshooting
Tab completion is not available in a new shell
Confirm your PowerShell profile loads successfully, then restart the shell after appending the completion script.
Run nylas completion powershell --help for full help output.