Skip to content

Latest commit

 

History

History
67 lines (41 loc) · 1.41 KB

cybr_completion.md

File metadata and controls

67 lines (41 loc) · 1.41 KB

cybr completion

Generate completion script

Synopsis

To load completions:

Bash:

$ source <(cybr completion bash)

To load completions for each session, execute once:

Linux:

$ cybr completion bash > /etc/bash_completion.d/cybr

macOS:

$ cybr completion bash > /usr/local/etc/bash_completion.d/cybr

Zsh:

If shell completion is not already enabled in your environment,

you will need to enable it. You can execute the following once:

$ echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions for each session, execute once:

$ cybr completion zsh > "${fpath[1]}/_cybr"

You will need to start a new shell for this setup to take effect.

fish:

$ cybr completion fish | source

To load completions for each session, execute once:

$ cybr completion fish > ~/.config/fish/completions/cybr.fish

PowerShell:

PS> cybr completion powershell | Out-String | Invoke-Expression

To load completions for every new session, run:

PS> cybr completion powershell > cybr.ps1

and source this file from your PowerShell profile.

cybr completion [bash|zsh|fish|powershell]

Options

  -h, --help   help for completion

Options inherited from parent commands

      --verbose   To enable verbose logging

SEE ALSO

  • cybr - cybr is CyberArk's PAS command-line interface utility
Auto generated by spf13/cobra on 24-Jan-2024