Closed nak3 closed 7 years ago
$ export PATH="$GOPATH/src/github.com/coreos/torus/bin/:$PATH"
$ source <(./bin/torusctl completion)
$ source <(./bin/torusblk completion)
$ source <(./bin/torusd --completion)
$ torusctl <TAB> <TAB>
block completion config init list-peers peer ring version volume wipe
$ torusctl --<TAB> <TAB>
--config= --etcd= --etcd-cert-file= --profile= --read-level= --write-level=
--debug --etcd-ca-file= --etcd-key-file= --read-cache-size= --write-cache-size=
completion
sub-command fortorusctl
andtorusblk
andcompletion
option fortorusd
to generate bash completion shells.