Skip to content

bash

Generate the autocompletion script for bash

Terminal window
conhive-agent completion bash

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

To load completions for every new session, execute once:

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

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

Terminal window
conhive-agent completion bash
Terminal window
-h, --help help for bash
--no-descriptions disable completion descriptions
-f, --log-format string Specify the logging format (options: console,
json) (default "text")
-l, --log-level string Define the logging level (options: trace,
debug, info, warn, error, fatal, panic)
(default "info")
-o, --log-to-file Enable logging to a file (default true)
-p, --port int32 Port to run the server on (default 5050)
-w, --workdir string Set the working directory for agent operations
(default: $HOME/.conhive)