eia-api-go/docs/eia-client_completion_bash.md
Ryan McGuire 373581c58a
All checks were successful
Build and Publish / release (push) Successful in 1m22s
Add docs, improve README
2024-12-17 17:24:48 -05:00

1.4 KiB

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

Auto generated by spf13/cobra on 17-Dec-2024