Skip to main content

CLI Reference

tracetest 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 <(tracetest completion bash)

To load completions for every new session, execute once:

Linux:​

tracetest completion bash > /etc/bash_completion.d/tracetest

macOS:​

tracetest completion bash > $(brew --prefix)/etc/bash_completion.d/tracetest

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

tracetest completion bash

Options​

  -h, --help              help for bash
--no-descriptions disable completion descriptions

Options inherited from parent commands​

  -c, --config string       config file will be used by the CLI (default "config.yml")
-o, --output string output format [pretty|json|yaml]
-s, --server-url string server url
-v, --verbose display debug information

SEE ALSO​

Auto generated by spf13/cobra on 16-Feb-2024​