Generate the autocompletion script for 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 <(dbxcli completion bash)
To load completions for every new session, execute once:
dbxcli completion bash > /etc/bash_completion.d/dbxcli
dbxcli completion bash > $(brew --prefix)/etc/bash_completion.d/dbxcli
You will need to start a new shell for this setup to take effect.
dbxcli completion bash
-h, --help help for bash
--no-descriptions disable completion descriptions
--as-member string Member ID to perform action as
--output string Output format: text, json (default "text")
--timeout duration Timeout for Dropbox network operations (0 disables; examples: 30s, 2m, 1h)
-v, --verbose Enable verbose logging
- Structured JSON output: no
- JSON help manifest: yes
- Manifest version:
1 - Auth modes: none
- Dropbox scopes: none
- Flag metadata:
--output(values:json,text)
- dbxcli completion - Generate the autocompletion script for the specified shell