Setting up bash completion

If you use bash as your shell, benchmarkstt and benchmarkstt-tools can use argcomplete for auto-completion.

For this argcomplete needs to be installed and enabled.

Installing argcomplete

  1. Install argcomplete using:

    python3 -m pip install argcomplete
    
  2. For global activation of all argcomplete enabled python applications, run:

    activate-global-python-argcomplete
    

Alternative argcomplete configuration

  1. For permanent (but not global) benchmarkstt activation, use:

    register-python-argcomplete benchmarkstt >> ~/.bashrc
    register-python-argcomplete benchmarkstt-tools >> ~/.bashrc
    
  2. For one-time activation of argcomplete for benchmarkstt only, use:

    eval "$(register-python-argcomplete benchmarkstt; register-python-argcomplete benchmarkstt-tools)"