15 lines
428 B
Bash
15 lines
428 B
Bash
# bash completion for plague-client -*- shell-script -*-
|
|
|
|
_plague_client()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
[[ $cword -eq 1 ]] && \
|
|
COMPREPLY=( $( compgen -W 'build detail finish help is_paused kill list
|
|
list_builders pause requeue unpause update_builders' -- "$cur" ) )
|
|
} &&
|
|
complete -F _plague_client plague-client
|
|
|
|
# ex: ts=4 sw=4 et filetype=sh
|