bash

Generate bash autocompletion script

bash

Generate bash autocompletion script

Name

datasets completion bash - Generate bash autocompletion script

Synopsis

datasets completion bash [flags]

Description

Steps to setup command-line completion for bash:

  1. Ensure you have bash-completion installed on your system

  2. Execute once:

    datasets completion bash > ~/.bash_completion.d/ncbi-datasets.bash
    
  3. 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 April 19, 2024