#compdef packwizml autoload -U is-at-least _packwizml() { typeset -A opt_args typeset -a _arguments_options local ret=1 if is-at-least 5.2; then _arguments_options=(-s -S -C) else _arguments_options=(-s -C) fi local context curcontext="$curcontext" state line _arguments "${_arguments_options[@]}" \ '-p+[Path to the packwiz directory containing '\''pack.toml'\'']:PATH:_files -/' \ '--path=[Path to the packwiz directory containing '\''pack.toml'\'']:PATH:_files -/' \ '--cache=[Set the cache file]:CACHE: ' \ '-m+[Path to the directory contains all the mod metadata files]:MODS:_files -/' \ '--mods=[Path to the directory contains all the mod metadata files]:MODS:_files -/' \ '-o+[Set an output file]:OUTPUT: ' \ '--output=[Set an output file]:OUTPUT: ' \ '-v+[Sets the verbosity of logging]:LOG_LEVEL:(Off Error Warn Info Debug Trace)' \ '--log-level=[Sets the verbosity of logging]:LOG_LEVEL:(Off Error Warn Info Debug Trace)' \ '-c+[Sets the color mode]:COLOR_MODE:(Auto Always Never)' \ '--color-mode=[Sets the color mode]:COLOR_MODE:(Auto Always Never)' \ '-s+[Sets the sorting mode]:SORT_BY:(Name Title Slug Id)' \ '--sort-by=[Sets the sorting mode]:SORT_BY:(Name Title Slug Id)' \ '-f+[Set a custom format]:FORMAT: ' \ '--format=[Set a custom format]:FORMAT: ' \ '-h[Print help information]' \ '--help[Print help information]' \ '-V[Print version information]' \ '--version[Print version information]' \ '-M[Disable '\''--mods'\'' being relative to '\''--path'\'']' \ '-O[Disable'\''`--output'\'' being relative to '\''--path'\'']' \ '-F[Overwrites output if it already exists]' \ '--force[Overwrites output if it already exists]' \ '-r[Sets if sorting should be reverse]' \ '--reverse[Sets if sorting should be reverse]' \ '--about[Prints about this program]' \ '--json[Prints json output]' \ && ret=0 } (( $+functions[_packwizml_commands] )) || _packwizml_commands() { local commands; commands=() _describe -t commands 'packwizml commands' commands "$@" } _packwizml "$@"