2005-11-28 20:26:32 +00:00
|
|
|
# bash completion for plague-client -*- sh -*-
|
|
|
|
|
|
|
|
_plague_client()
|
|
|
|
{
|
|
|
|
local cur
|
|
|
|
|
|
|
|
COMPREPLY=()
|
2009-01-06 18:44:43 +00:00
|
|
|
cur=`_get_cword`
|
2005-11-28 20:26:32 +00:00
|
|
|
|
|
|
|
[ $COMP_CWORD = 1 ] && \
|
|
|
|
COMPREPLY=( $( compgen -W 'build detail finish help is_paused kill list \
|
|
|
|
list_builders pause requeue unpause update_builders' -- $cur ) )
|
|
|
|
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
complete -F _plague_client plague-client
|