1# cfagent completion                                       -*- shell-script -*-
2
3_cfagent()
4{
5    local cur prev words cword
6    _init_completion || return
7
8    case $prev in
9        -f | --file)
10            _filedir
11            return
12            ;;
13    esac
14
15    if [[ $cur == -* ]]; then
16        COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
17    fi
18} &&
19    complete -F _cfagent cfagent
20
21# ex: filetype=sh
22