• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

client/H18-Jul-2019-3,9342,717

commands/H18-Jul-2019-22,90318,393

elements/H18-Jul-2019-1,030759

GUIDELINES.mdH A D18-Jul-201912.4 KiB307229

LICENSEH A D18-Jul-20191 KiB2117

README.mdH A D18-Jul-20191.2 KiB6947

cli.goH A D18-Jul-20191.4 KiB6345

cli_test.goH A D18-Jul-2019694 2819

README.md

1# Sensu CLI
2
3`sensuctl` is the command line interface for managing your Sensu cluster.
4
5## Auto-Completion
6
7### Installation (Bash Shell)
8
9Make sure bash completion is installed. If you use a current Linux
10in a non-minimal installation, bash completion should be available.
11On a Mac, install with:
12
13```sh
14brew install bash-completion
15```
16
17Then add the following to your `~/.bash_profile`:
18
19```bash
20if [ -f $(brew --prefix)/etc/bash_completion ]; then
21. $(brew --prefix)/etc/bash_completion
22fi
23```
24
25When bash-completion is available we can add the following to your `~/.bash_profile`:
26
27```bash
28source <(sensuctl completion bash)
29```
30
31You can now source your `~/.bash_profile` or launch a new terminal to utilize completion.
32
33```sh
34source ~/.bash_profile
35```
36
37### Installation (ZSH)
38
39Add the following to your `~/.zshrc`:
40
41```bash
42source <(sensuctl completion zsh)
43```
44
45You can now source your `~/.zshrc` or launch a new terminal to utilize completion.
46
47```sh
48source ~/.zshrc
49```
50
51### Usage
52
53sensuctl:
54> $ sensuctl <kbd>Tab</kbd>
55```
56check       configure   event       user
57asset       completion  entity      handler
58```
59
60sensuctl:
61> $ sensuctl check <kbd>Tab</kbd>
62```
63create  delete  import  list
64```
65
66## Contributing
67
68[UX Guidelines](GUIDELINES.md)
69