eia-api-go/docs/eia-client_completion_bash.md

54 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2024-12-17 22:24:48 +00:00
## eia-client completion bash
Generate the autocompletion script for bash
### Synopsis
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 <(eia-client completion bash)
To load completions for every new session, execute once:
#### Linux:
eia-client completion bash > /etc/bash_completion.d/eia-client
#### macOS:
eia-client completion bash > $(brew --prefix)/etc/bash_completion.d/eia-client
You will need to start a new shell for this setup to take effect.
```
eia-client completion bash
```
### Options
```
-h, --help help for bash
--no-descriptions disable completion descriptions
```
### Options inherited from parent commands
```
--apiKey string API Key, or set EIA_API_KEY in environment
-L, --apiLogLevel string Log Level for EIA API Middleware, or set EIA_API_LOG_LEVEL in environment
-l, --logLevel string Log Level, or set LOG_LEVEL in environment
-t, --timeout duration Request timeout, or set EIA_API_TMOUT in environment (default 15s)
```
### SEE ALSO
* [eia-client completion](eia-client_completion.md) - Generate the autocompletion script for the specified shell
###### Auto generated by spf13/cobra on 17-Dec-2024