Please wait

Loading...

Start typing in the pseudo command bar to explore the commands available.

completion

Dump the shell completion script

The <info>completion</> command dumps the shell completion script required
to use shell autocompletion (currently, bash, fish, zsh completion are supported).

<comment>Static installation
-------------------</>

Dump the script to a global completion file and restart your shell:

    <info>./bin/acli completion  | sudo tee /etc/bash_completion.d/acli</>

Or dump the script to a local file and source it:

    <info>./bin/acli completion  > completion.sh</>

    <comment># source the file whenever you use the project</>
    <info>source completion.sh</>

    <comment># or add this line at the end of your "~/.bashrc" file:</>
    <info>source /path/to/completion.sh</>

<comment>Dynamic installation
--------------------</>

Add this to the end of your shell configuration file (e.g. <info>"~/.bashrc"</>):

    <info>eval "$(/home/runner/work/cli/cli/bin/acli completion )"</>

Usage

acli completion [--debug] [--] [<shell>]

Arguments

  • shell

    Optional

    The shell type (e.g. "bash"), the value of the "$SHELL" env var will be used if this is not given

Options

  • --debug

    Optional

    Tail the completion debug log

    Defaults to false

  • --help | -h

    Optional

    Display help for the given command. When no command is given display help for the <info>list</info> command

    Defaults to false

  • --quiet | -q

    Optional

    Do not output any message

    Defaults to false

  • --verbose | -v|-vv|-vvv

    Optional

    Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

    Defaults to false

  • --version | -V

    Optional

    Display this application version

    Defaults to false

  • --ansi

    Optional

    Force (or disable --no-ansi) ANSI output

  • --no-ansi

    Optional

    Negate the "--ansi" option

    Defaults to false

  • --no-interaction | -n

    Optional

    Do not ask any interactive question

    Defaults to false