git/aika/main
completions/_aika.zsh
23 lines644 B last change raw · history
#compdef arvelie neralie

_aika() {
    local line
    case $service in
        arvelie)
            _arguments -s -S \
                '(-h --help)'{-h,--help}'[Display help message]' \
                '(-v --version)'{-v,--version}'[Display version information]' \
                ':date: '
            ;;
        neralie)
            _arguments -s -S \
                '(-c --count)'{-c,--count}'[Run in continuous count mode]' \
                '(-h --help)'{-h,--help}'[Display help message]' \
                '(-v --version)'{-v,--version}'[Display version information]' \
                ':time: '
            ;;
    esac
}

_aika "$@"