ReferenceCLI
completion
engine-dmo completion: Generate the autocompletion script for the specified shell. Every subcommand, argument and flag.
Generate the autocompletion script for engine-dmo for the specified shell. See each sub-command’s help for details on how to use the generated script.
| Command | What it does |
|---|---|
engine-dmo completion bash | Generate the autocompletion script for bash |
engine-dmo completion fish | Generate the autocompletion script for fish |
engine-dmo completion powershell | Generate the autocompletion script for powershell |
engine-dmo completion zsh | Generate the autocompletion script for zsh |
engine-dmo 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 <(engine-dmo completion bash)
To load completions for every new session, execute once:
#### Linux:
engine-dmo completion bash > /etc/bash_completion.d/engine-dmo
#### macOS:
engine-dmo completion bash > $(brew --prefix)/etc/bash_completion.d/engine-dmo
You will need to start a new shell for this setup to take effect. engine-dmo completion bash | Flag | Type | Default | Meaning |
|---|---|---|---|
--no-descriptions | bool | disable completion descriptions |
--json prints the text output in the JSON envelope. Needs no project.
engine-dmo completion fish
Generate the autocompletion script for the fish shell.
To load completions in your current shell session:
engine-dmo completion fish | source
To load completions for every new session, execute once:
engine-dmo completion fish > ~/.config/fish/completions/engine-dmo.fish
You will need to start a new shell for this setup to take effect. engine-dmo completion fish [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--no-descriptions | bool | disable completion descriptions |
--json prints the text output in the JSON envelope. Needs no project.
engine-dmo completion powershell
Generate the autocompletion script for powershell.
To load completions in your current shell session:
engine-dmo completion powershell | Out-String | Invoke-Expression
To load completions for every new session, add the output of the above command
to your powershell profile. engine-dmo completion powershell [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--no-descriptions | bool | disable completion descriptions |
--json prints the text output in the JSON envelope. Needs no project.
engine-dmo completion zsh
Generate the autocompletion script for the zsh shell.
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 in your current shell session:
source <(engine-dmo completion zsh)
To load completions for every new session, execute once:
#### Linux:
engine-dmo completion zsh > "${fpath[1]}/_engine-dmo"
#### macOS:
engine-dmo completion zsh > $(brew --prefix)/share/zsh/site-functions/_engine-dmo
You will need to start a new shell for this setup to take effect. engine-dmo completion zsh [flags] | Flag | Type | Default | Meaning |
|---|---|---|---|
--no-descriptions | bool | disable completion descriptions |
--json prints the text output in the JSON envelope. Needs no project.