README
¶
Sensu CLI
sensuctl
is the command line interface for managing your Sensu cluster.
Auto-Completion
Installation (Bash Shell)
Make sure bash completion is installed. If you use a current Linux in a non-minimal installation, bash completion should be available. On a Mac, install with:
brew install bash-completion
Then add the following to your ~/.bash_profile
:
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
When bash-completion is available we can add the following to your ~/.bash_profile
:
source <(sensuctl completion bash)
You can now source your ~/.bash_profile
or launch a new terminal to utilize completion.
source ~/.bash_profile
Installation (ZSH)
Add the following to your ~/.zshrc
:
source <(sensuctl completion zsh)
You can now source your ~/.zshrc
or launch a new terminal to utilize completion.
source ~/.zshrc
Usage
sensuctl:
$ sensuctl Tab
check configure event user
asset completion entity handler
sensuctl:
$ sensuctl check Tab
create delete import list
Contributing
Documentation
¶
Index ¶
Constants ¶
const SensuCmdName = "sensuctl"
SensuCmdName name of the command
const TypeError = "TypeError"
TypeError is the string returned in the event of an invalid type assertion
Variables ¶
This section is empty.
Functions ¶
This section is empty.