zsh

Generate zsh autocompletion script

zsh

Generate zsh autocompletion script

Name

datasets completion zsh - Generate zsh autocompletion script

Synopsis

datasets completion zsh [flags]

Description

Steps to setup command-line completion for zsh:

  1. If shell completion is not already enabled in your environment, enable it by executing the following once:

    echo "autoload -U compinit; compinit" >> ~/.zshrc
    
  2. To load completions for each session, execute once:

    datasets completion zsh > "${fpath[1]}/_ncbi_datasets"
    

You will need to start a new shell for this setup to take effect.

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 May 16, 2024