bash
Generate bash autocompletion script
bash
Name
datasets completion bash - Generate bash autocompletion script
Synopsis
datasets completion bash [flags]
Description
Steps to setup command-line completion for bash:
Ensure you have bash-completion installed on your system
Execute once:
datasets completion bash > ~/.bash_completion.d/ncbi-datasets.bash
Create/edit the file
~/.bash_completion
, adding the following:for f in ~/.bash_completion.d/* ; do . $f [[ -f "$f" ]] && source "$f" done
Depending on your setup, you may need to source ~/.bash_completion
Options
--api-key string Specify an NCBI API key
--debug Emit debugging info
--help Print detailed help about a datasets command
--version Print version of datasets
Generated June 11, 2024