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   NCBI Datasets API Key
  -h, --help             help for bash
      --no-progressbar   hide progress bar
Generated October 22, 2021