summaryrefslogtreecommitdiffstats
path: root/completions/cfagent
blob: 113e417fd0367341078fc975f7151197e00430b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# cfagent completion                                       -*- shell-script -*-

_comp_cmd_cfagent()
{
    local cur prev words cword comp_args
    _comp_initialize -- "$@" || return

    case $prev in
        -f | --file)
            _comp_compgen_filedir
            return
            ;;
    esac

    if [[ $cur == -* ]]; then
        _comp_compgen_help
    fi
} &&
    complete -F _comp_cmd_cfagent cfagent

# ex: filetype=sh