pcloud completion

pcloud completion

Generate completion script

Synopsis

To load command line completions for your shell, fine your shell in the list below and follow the process outlined.

Bash

To load completions for your current session, run:

$ source <(pcloud completion bash)

To load completions for each session going forward, execute once:

On Linux:
$ pcloud completion bash > /etc/bash_completion.d/pcloud
On MacOS:
$ pcloud completion bash > /usr/local/etc/bash_completion.d/pcloud

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 going forward, execute once:

$ pcloud completion zsh > "${fpath[1]}/_pcloud"

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

Fish

To load completions for your current session, run:

$ pcloud completion fish | source

To load completions for each session going forward, execute once:

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

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

pcloud completion [bash|zsh|fish|powershell]

Options

  -h, --help   help for completion

Options inherited from parent commands

  -F, --format string      Available formats: 'table', 'yaml', 'json', 'csv'.
                            Default is command specific.
                            Can be used with describe and list subcommands.
  -D, --log.dir string     Override Log file directory
  -L, --log.file string    Override Log file name
  -V, --verbosity string   Override Log verbosity

SEE ALSO

  • pcloud - CLI for IBM® Power Systems™ for GCP