#compdef crazy-complete

# This script was generated by crazy-complete.
# crazy-complete: A tool that creates robust and reliable autocompletion scripts for Bash, Fish and Zsh.
# For more information, visit: https://github.com/crazy-complete/crazy-complete

_crazy_complete() {
  local -a args=(
    '(- *)'{-h,--help}'[show this help message and exit]'
    '(- *)'--version'[Show program version]'
    '(--manual)'--manual=-'[Show manual for topic]':TOPIC:' '
    '(--parser-variable)'--parser-variable='[Specify the variable name of the ArgumentParser object (for --input-type=python)]':parser_variable:' '
    '(--input-type)'--input-type='[Specify input file type]':input_type:'(yaml json python help auto)'
    '(--abbreviate-commands)'--abbreviate-commands='[Sets whether commands can be abbreviated]':BOOL:'(True False)'
    '(--abbreviate-options)'--abbreviate-options='[Sets whether options can be abbreviated]':BOOL:'(True False)'
    '(--repeatable-options)'--repeatable-options='[Sets whether options are suggested multiple times during completion]':BOOL:'(True False)'
    '(--inherit-options)'--inherit-options='[Sets whether parent options are visible to subcommands]':BOOL:'(True False)'
    '(--option-stacking)'--option-stacking='[Sets whether short option stacking is allowed]':BOOL:'(True False)'
    '(--long-option-argument-separator)'--long-option-argument-separator='[Sets which separators are used for delimiting a long option from its argument]':long_opt_arg_sep:'(space equals both)'
    '(--disable)'--disable='[Disable features (hidden,final,groups,repeatable,when)]':FEATURES:"_values -s , FEATURES 'hidden[Disable hidden options]' 'final[Disable final options]' 'groups[Disable option groups]' 'repeatable[Disable check for repeatable options]' 'when[Disable conditional options and positionals]'"
    '(--vim-modeline)'--vim-modeline='[Sets whether a vim modeline comment shall be appended to the generated code]':BOOL:'(True False)'
    '(--bash-completions-version)'--bash-completions-version='[Generate code for a specific bash-completions version]':VERSION:' '
    '(--zsh-compdef)'--zsh-compdef='[Sets whether #compdef is used in zsh scripts]':BOOL:'(True False)'
    '(--fish-fast)'--fish-fast='[Use faster commandline parsing at the cost of correctness]':BOOL:'(True False)'
    '(--fish-inline-conditions)'--fish-inline-conditions="[Don't store conditions in a variable]":BOOL:'(True False)'
    '(--include-file)'--include-file='[Include file in output]':FILE:_files
    '(--comment)'--comment='[Add a comment to output]':COMMENT:' '
    '(--debug)'--debug'[Enable debug mode]'
    '(--keep-comments)'--keep-comments'[Keep comments in generated output]'
    '(--max-line-length)'--max-line-length='[Set the maximum line length of the generated output]':max_line_length:' '
    '(--function-prefix)'--function-prefix='[Set the prefix used for generated functions]':PREFIX:' '
    '(--install-system-wide --uninstall-system-wide -i -u --output -o)'{-o+,--output=}'[Write output to destination file \[default\: stdout\]]':FILE:_files
    '(--output --uninstall-system-wide -o -u --install-system-wide -i)'{-i,--install-system-wide}'[Write output to the system-wide completions dir of shell]'
    '(--install-system-wide --output -i -o --uninstall-system-wide -u)'{-u,--uninstall-system-wide}'[Uninstall the system-wide completion file for program]'
    1:'Specify the shell type for the completion script':'(bash fish zsh json yaml)'
    2:'The file containing the command line definitions':_files
  )
  _arguments -S -s -w "${args[@]}"
}

_crazy_complete "$@"

# vim: ft=zsh ts=2 sts=2 sw=2 et
