bash-completion/bash-completion-plague-client

16 lines
458 B
Plaintext
Raw Normal View History

# -*- mode: shell-script; sh-basic-offset: 4; indent-tabs-mode: nil -*-
2009-03-14 21:09:35 +00:00
# ex: ts=8 sw=8 noet filetype=sh
# bash completion for plague-client
_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" ) )
2011-02-07 22:41:03 +00:00
} &&
complete -F _plague_client plague-client