Ryan McGuire
373581c58a
All checks were successful
Build and Publish / release (push) Successful in 1m22s
54 lines
1.4 KiB
Markdown
54 lines
1.4 KiB
Markdown
## 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
|