With subcommands to boot, reboot, or shutdown machines. Also, output in color. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
8 lines
161 B
Bash
8 lines
161 B
Bash
#compdef vm.zsh
|
|
|
|
function _vm.zsh() {
|
|
_arguments \
|
|
'1:operation:(boot halt reboot shutdown start stop)' \
|
|
':virtual machine:($(virsh list --all --name))'
|
|
}
|