Skip to content

phenix completion

Every command on this page also accepts the global flags.

phenix completion

Generate completion script

Synopsis

To load completions:

Bash:

  # Requires the bash-completion package, available from your OS package
  # manager.
  $ source <(phenix completion bash)

  # To load completions for each session, execute once:
  # Linux:
  $ phenix completion bash > /etc/bash_completion.d/phenix
  # macOS:
  $ phenix completion bash > /usr/local/etc/bash_completion.d/phenix

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:
  $ phenix completion zsh > "${fpath[1]}/_phenix"

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

Fish:

  $ phenix completion fish | source

  # To load completions for each session, execute once:
  $ phenix completion fish > ~/.config/fish/completions/phenix.fish

PowerShell:

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

  # To load completions for every new session, run:
  PS> phenix completion powershell > phenix.ps1
  # and source this file from your PowerShell profile.
phenix completion [bash|zsh|fish|powershell]

Options

  -h, --help   help for completion

SEE ALSO

  • phenix - A cli application for phÄ“nix