completionprivate
Validated on 14 Dec 2023 • Last edited on 13 Feb 2024
Generate an autocompletion script for pspace in the specified shell. See each sub-command’s help for details on how to use the generated script.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace completion bash
Generate the autocompletion script for the bash shell.
This script depends on the bash-completion
package.
If it is not installed already, you can install it via your OS’s package manager.
To load completions in your current shell session:
$ source <(pspace completion bash)
To load completions for every new session, execute once:
Linux:
$ pspace completion bash > /etc/bash_completion.d/pspace
macOS:
$ pspace completion bash > /usr/local/etc/bash_completion.d/pspace
You need to start a new shell for this setup to take effect.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace completion fish
Generate the autocompletion script for the fish shell.
To load completions in your current shell session:
$ pspace completion fish | source
To load completions for every new session, execute once:
$ pspace completion fish > ~/.config/fish/completions/pspace.fish
You need to start a new shell for this setup to take effect.
Flags
no-descriptions (boolean, optional)
Disable completion descriptions
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace completion zsh
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you need to enable it. You can execute the following once:
$ echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions for every new session, execute once:
Linux:
$ pspace completion zsh > "${fpath[1]}/_pspace"
macOS:
$ pspace completion zsh > /usr/local/share/zsh/site-functions/_pspace
Oh My Zsh:
$ pspace completion zsh > ~/.oh-my-zsh/completions/_pspace
You need to start a new shell for this setup to take effect.
Flags
no-descriptions (boolean, optional)
Disable completion descriptions
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command