-
Notifications
You must be signed in to change notification settings - Fork 16
pacx completion powershell
Prints a PowerShell script that enables tab-completion for pacx commands and options.
To enable tab-completion in every session, add this line to your PowerShell profile (notepad $PROFILE):
pacx completion powershell --nologo | Out-String | Invoke-ExpressionIf you prefer a faster shell startup, save the script once and dot-source it from your profile instead:
pacx completion powershell --nologo | Out-File -Encoding utf8 "$HOME\pacx-completion.ps1"
# then add to your profile:
. "$HOME\pacx-completion.ps1"The script reads the command tree from pacx completion export the first time you press TAB, so it always matches the pacx version you have installed. No need to regenerate it after an update.
Once loaded, you get suggestions for verbs, options and enum values:
pacx sol<TAB> # completes to: pacx solution
pacx solution <TAB> # suggests: list, create, delete, ...
pacx plugin trace list <TAB> # suggests the available options
pacx solution list -f <TAB> # suggests: Table, TableCompact, JsonNote for Windows PowerShell 5.1: a bare - or -- does not trigger completion (engine limitation, native argument completers are not invoked for that token). Press TAB right after the command name instead, or type at least one letter of the option name.
- pacx auth
- pacx column
- pacx completion
- pacx customapi
- pacx data
- pacx forms
- pacx history
- pacx key
- pacx optionset
- pacx org
- pacx plugin
- pacx project
- pacx publish
- pacx rel
- pacx ribbon
- pacx script
- pacx settings
- pacx solution
- pacx table
- pacx tool
- pacx unifiedrouting
- pacx usersettings
- pacx view
- pacx webresources
- pacx workflow