#compdef _dummy dummy 
function _dummy() {
    # These are set by _arguments
    local context state state_descr line
    typeset -A opt_args
    
    _arguments -C \
        '(- 1 *)'{-h,--help}'[show help information]' \
        '(- 1 *)'{-V,--version}'[show version information]' \
        "1: :((foo\:'asdasd asdasd asd asdasd asdas asdasd dasdas' goosadas\:'asdasdasdasdfunuikasnsdasdasdasdas'))" \
        "*:: :->args" \
    
    case $state in
        (args)
            case ${words[1]} in
                foo)
                    _dummy_foo
                ;;
                goosadas)
                    _dummy_goosadas
                ;;
            esac
    esac
}


function _dummy_foo() {
    # These are set by _arguments
    local context state state_descr line
    typeset -A opt_args
    
    _arguments -C \
        '(- 1 *)'{-h,--help}'[show help information]' \
        "1: :((test_sin\:'sdasdbsa dasdioasdmasd dsadas' test_cos\:'dasdas dasidjmoasid dasdasd dasdasd dasd dasd'))" \
        "*:: :->args" \
    
    case $state in
        (args)
            case ${words[1]} in
                test_sin)
                    _dummy_foo_test_sin
                ;;
                test_cos)
                    _dummy_foo_test_cos
                ;;
            esac
    esac
}


function _dummy_foo_test_sin() {
    _arguments \
        '(- 1 *)'{-h,--help}'[show help information]' \
        {-f,--foo}'[sadasd aasdas dsadas dasdasdasd asdasdas]' \
}


function _dummy_foo_test_cos() {
    _arguments \
        '(- 1 *)'{-h,--help}'[show help information]' \
}


function _dummy_goosadas() {
    # These are set by _arguments
    local context state state_descr line
    typeset -A opt_args
    
    _arguments -C \
        '(- 1 *)'{-h,--help}'[show help information]' \
        "1: :((test_tanh\:''))" \
        "*:: :->args" \
    
    case $state in
        (args)
            case ${words[1]} in
                test_tanh)
                    _dummy_goosadas_test_tanh
                ;;
            esac
    esac
}


function _dummy_goosadas_test_tanh() {
    _arguments \
        '(- 1 *)'{-h,--help}'[show help information]' \
}
