#compdef mov-renamarr autoload -U is-at-least _mov-renamarr() { 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[@]}" : \ '--input=[]:DIR:_files' \ '--output=[]:DIR:_files' \ '--config=[]:PATH:_files' \ '--provider=[]:PROVIDER:(auto omdb tmdb both)' \ '--api-key-omdb=[]:API_KEY_OMDB:_default' \ '--api-key-tmdb=[]:API_KEY_TMDB:_default' \ '--cache=[]:PATH:_files' \ '--report=[]' \ '--report-format=[]:REPORT_FORMAT:(text json csv)' \ '--min-score=[]:MIN_SCORE:_default' \ '--quality-tags=[]:LIST:_default' \ '--color=[]:COLOR:(auto always never)' \ '--llm-mode=[]:LLM_MODE:(off parse assist)' \ '--llm-endpoint=[]:URL:_default' \ '--llm-model=[]:NAME:_default' \ '--llm-timeout=[]:SECONDS:_default' \ '--llm-max-tokens=[]:N:_default' \ '--jobs=[]:JOBS:_default' \ '--net-jobs=[]:NET_JOBS:_default' \ '--completions=[]:COMPLETIONS:(bash zsh fish)' \ '--refresh-cache[]' \ '--dry-run[]' \ '--dry-run-summary[]' \ '(--rename-in-place)--move[]' \ '(--move)--rename-in-place[]' \ '--interactive[]' \ '--sidecar-notes[]' \ '--sidecars[]' \ '--overwrite[]' \ '--suffix[]' \ '--include-id[]' \ '--no-lookup[]' \ '--explain[]' \ '--print-config[]' \ '--verbose[]' \ '-h[Print help]' \ '--help[Print help]' \ '-V[Print version]' \ '--version[Print version]' \ && ret=0 } (( $+functions[_mov-renamarr_commands] )) || _mov-renamarr_commands() { local commands; commands=() _describe -t commands 'mov-renamarr commands' commands "$@" } if [ "$funcstack[1]" = "_mov-renamarr" ]; then _mov-renamarr "$@" else compdef _mov-renamarr mov-renamarr fi