#compdef cargo-shuttle

autoload -U is-at-least

_cargo-shuttle() {
    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[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
'::dummy:(shuttle)' \
":: :_cargo-shuttle_commands" \
"*::: :->cargo-shuttle" \
&& ret=0
    case $state in
    (cargo-shuttle)
        words=($line[2] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-command-$line[2]:"
        case $line[2] in
            (init)
_arguments "${_arguments_options[@]}" : \
'(--from --subfolder)-t+[Clone a starter template from Shuttle'\''s official examples]:TEMPLATE:((axum\:"Axum - Modular web framework from the Tokio ecosystem"
actix-web\:"Actix Web - Powerful and fast web framework"
rocket\:"Rocket - Simple and easy-to-use web framework"
loco\:"Loco - Batteries included web framework based on Axum"
salvo\:"Salvo - Powerful and simple web framework"
poem\:"Poem - Full-featured and easy-to-use web framework"
poise\:"Poise - Discord Bot framework with good slash command support"
rama\:"Rama - Modular service framework to build proxies, servers and clients"
serenity\:"Serenity - Discord Bot framework"
tower\:"Tower - Modular service library"
thruster\:"Thruster - Web framework"
tide\:"Tide - Web framework"
warp\:"Warp - Web framework"
none\:"No template - Make a custom service"))' \
'(--from --subfolder)--template=[Clone a starter template from Shuttle'\''s official examples]:TEMPLATE:((axum\:"Axum - Modular web framework from the Tokio ecosystem"
actix-web\:"Actix Web - Powerful and fast web framework"
rocket\:"Rocket - Simple and easy-to-use web framework"
loco\:"Loco - Batteries included web framework based on Axum"
salvo\:"Salvo - Powerful and simple web framework"
poem\:"Poem - Full-featured and easy-to-use web framework"
poise\:"Poise - Discord Bot framework with good slash command support"
rama\:"Rama - Modular service framework to build proxies, servers and clients"
serenity\:"Serenity - Discord Bot framework"
tower\:"Tower - Modular service library"
thruster\:"Thruster - Web framework"
tide\:"Tide - Web framework"
warp\:"Warp - Web framework"
none\:"No template - Make a custom service"))' \
'--from=[Clone a template from a git repository or local path]:FROM:_default' \
'--subfolder=[Path to the template in the source (used with --from)]:SUBFOLDER:_default' \
'--api-key=[Log in with this Shuttle API key]:API_KEY:_default' \
'--console-url=[URL to the Shuttle Console for automatic login]:CONSOLE_URL:_default' \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--force-name[Don'\''t check the project name'\''s validity or availability and use it anyways]' \
'--create-project[Whether to create a project on Shuttle]' \
'--create_env[Whether to create a project on Shuttle]' \
'--no-git[Don'\''t initialize a new git repository]' \
'(--api-key)--prompt[Prompt to paste the API key instead of opening the browser]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::path -- Path where to place the new Shuttle project:_files' \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" : \
'-p+[Port to start service on]:PORT:_default' \
'--port=[Port to start service on]:PORT:_default' \
'--secrets=[Use this secrets file instead]:SECRETS:_files' \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--external[Use 0.0.0.0 instead of localhost (for usage with local external devices)]' \
'-r[Use release mode for building the project]' \
'--release[Use release mode for building the project]' \
'--raw[Don'\''t display timestamps and log origin tags]' \
'--bacon[Uses bacon crate to run the project in watch mode]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(deploy)
_arguments "${_arguments_options[@]}" : \
'-i+[WIP\: Deploy this Docker image instead of building one]:IMAGE:_default' \
'--image=[WIP\: Deploy this Docker image instead of building one]:IMAGE:_default' \
'--output-archive=[Output the deployment archive to a file instead of sending a deployment request]:OUTPUT_ARCHIVE:_files' \
'--secrets=[Use this secrets file instead]:SECRETS:_files' \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--allow-dirty[Allow deployment with uncommitted files]' \
'--ad[Allow deployment with uncommitted files]' \
'--no-follow[Don'\''t follow the deployment status, exit after the operation begins]' \
'--nf[Don'\''t follow the deployment status, exit after the operation begins]' \
'--raw[Don'\''t display timestamps and log origin tags]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(deployment)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__deployment_commands" \
"*::: :->deployment" \
&& ret=0

    case $state in
    (deployment)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-deployment-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'--page=[Which page to display]:PAGE:_default' \
'--limit=[How many deployments per page to display]:LIMIT:_default' \
'--per-page=[How many deployments per page to display]:LIMIT:_default' \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--page=[Which page to display]:PAGE:_default' \
'--limit=[How many deployments per page to display]:LIMIT:_default' \
'--per-page=[How many deployments per page to display]:LIMIT:_default' \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
'::deployment_id -- ID of deployment to get status for:_default' \
&& ret=0
;;
(stat)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
'::deployment_id -- ID of deployment to get status for:_default' \
&& ret=0
;;
(redeploy)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--no-follow[Don'\''t follow the deployment status, exit after the operation begins]' \
'--nf[Don'\''t follow the deployment status, exit after the operation begins]' \
'--raw[Don'\''t display timestamps and log origin tags]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
'::deployment_id -- ID of deployment to redeploy:_default' \
&& ret=0
;;
(stop)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--no-follow[Don'\''t follow the deployment status, exit after the operation begins]' \
'--nf[Don'\''t follow the deployment status, exit after the operation begins]' \
'--raw[Don'\''t display timestamps and log origin tags]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__deployment__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-deployment-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(redeploy)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stop)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(depl)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__deployment_commands" \
"*::: :->deployment" \
&& ret=0

    case $state in
    (deployment)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-deployment-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'--page=[Which page to display]:PAGE:_default' \
'--limit=[How many deployments per page to display]:LIMIT:_default' \
'--per-page=[How many deployments per page to display]:LIMIT:_default' \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--page=[Which page to display]:PAGE:_default' \
'--limit=[How many deployments per page to display]:LIMIT:_default' \
'--per-page=[How many deployments per page to display]:LIMIT:_default' \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
'::deployment_id -- ID of deployment to get status for:_default' \
&& ret=0
;;
(stat)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
'::deployment_id -- ID of deployment to get status for:_default' \
&& ret=0
;;
(redeploy)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--no-follow[Don'\''t follow the deployment status, exit after the operation begins]' \
'--nf[Don'\''t follow the deployment status, exit after the operation begins]' \
'--raw[Don'\''t display timestamps and log origin tags]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
'::deployment_id -- ID of deployment to redeploy:_default' \
&& ret=0
;;
(stop)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--no-follow[Don'\''t follow the deployment status, exit after the operation begins]' \
'--nf[Don'\''t follow the deployment status, exit after the operation begins]' \
'--raw[Don'\''t display timestamps and log origin tags]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__deployment__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-deployment-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(redeploy)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stop)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(logs)
_arguments "${_arguments_options[@]}" : \
'--head=[View the first N log lines]:HEAD:_default' \
'--tail=[View the last N log lines]:TAIL:_default' \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-l[View logs from the most recent deployment (which is not always the running one)]' \
'--latest[View logs from the most recent deployment (which is not always the running one)]' \
'-f[Follow log output]' \
'--follow[Follow log output]' \
'--raw[Don'\''t display timestamps and log origin tags]' \
'--all[View all log lines]' \
'--all-deployments[Get logs from all deployments instead of one deployment]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
'::deployment_id -- Deployment ID to get logs for. Defaults to the current deployment:_default' \
&& ret=0
;;
(project)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__project_commands" \
"*::: :->project" \
&& ret=0

    case $state in
    (project)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(start)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__project__update_commands" \
"*::: :->update" \
&& ret=0

    case $state in
    (update)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-update-command-$line[1]:"
        case $line[1] in
            (name)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':new_name:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__project__update__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-update-help-command-$line[1]:"
        case $line[1] in
            (name)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(upd)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__project__update_commands" \
"*::: :->update" \
&& ret=0

    case $state in
    (update)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-update-command-$line[1]:"
        case $line[1] in
            (name)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':new_name:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__project__update__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-update-help-command-$line[1]:"
        case $line[1] in
            (name)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(status)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(stat)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(rm)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(link)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__project__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-help-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__project__help__update_commands" \
"*::: :->update" \
&& ret=0

    case $state in
    (update)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-help-update-command-$line[1]:"
        case $line[1] in
            (name)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(link)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(proj)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__project_commands" \
"*::: :->project" \
&& ret=0

    case $state in
    (project)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(start)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__project__update_commands" \
"*::: :->update" \
&& ret=0

    case $state in
    (update)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-update-command-$line[1]:"
        case $line[1] in
            (name)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':new_name:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__project__update__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-update-help-command-$line[1]:"
        case $line[1] in
            (name)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(upd)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__project__update_commands" \
"*::: :->update" \
&& ret=0

    case $state in
    (update)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-update-command-$line[1]:"
        case $line[1] in
            (name)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':new_name:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__project__update__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-update-help-command-$line[1]:"
        case $line[1] in
            (name)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(status)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(stat)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(rm)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(link)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__project__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-help-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__project__help__update_commands" \
"*::: :->update" \
&& ret=0

    case $state in
    (update)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-project-help-update-command-$line[1]:"
        case $line[1] in
            (name)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(link)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(resource)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__resource_commands" \
"*::: :->resource" \
&& ret=0

    case $state in
    (resource)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-resource-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--show-secrets[Show secrets from resources (e.g. a password in a connection string)]' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--show-secrets[Show secrets from resources (e.g. a password in a connection string)]' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':resource_type -- Type of the resource to delete. Use the string in the '\''Type'\'' column as displayed in the `resource list` command. For example, '\''database\:\:shared\:\:postgres'\'':_default' \
&& ret=0
;;
(rm)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':resource_type -- Type of the resource to delete. Use the string in the '\''Type'\'' column as displayed in the `resource list` command. For example, '\''database\:\:shared\:\:postgres'\'':_default' \
&& ret=0
;;
(dump)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':resource_type -- Type of the resource to dump. Use the string in the '\''Type'\'' column as displayed in the `resource list` command. For example, '\''database\:\:shared\:\:postgres'\'':_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__resource__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-resource-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dump)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(res)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__resource_commands" \
"*::: :->resource" \
&& ret=0

    case $state in
    (resource)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-resource-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--show-secrets[Show secrets from resources (e.g. a password in a connection string)]' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--show-secrets[Show secrets from resources (e.g. a password in a connection string)]' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':resource_type -- Type of the resource to delete. Use the string in the '\''Type'\'' column as displayed in the `resource list` command. For example, '\''database\:\:shared\:\:postgres'\'':_default' \
&& ret=0
;;
(rm)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':resource_type -- Type of the resource to delete. Use the string in the '\''Type'\'' column as displayed in the `resource list` command. For example, '\''database\:\:shared\:\:postgres'\'':_default' \
&& ret=0
;;
(dump)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':resource_type -- Type of the resource to dump. Use the string in the '\''Type'\'' column as displayed in the `resource list` command. For example, '\''database\:\:shared\:\:postgres'\'':_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__resource__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-resource-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dump)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(certificate)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__certificate_commands" \
"*::: :->certificate" \
&& ret=0

    case $state in
    (certificate)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-certificate-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':domain -- Domain name:_default' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':domain -- Domain name:_default' \
&& ret=0
;;
(rm)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':domain -- Domain name:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__certificate__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-certificate-help-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(cert)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__certificate_commands" \
"*::: :->certificate" \
&& ret=0

    case $state in
    (certificate)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-certificate-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':domain -- Domain name:_default' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(ls)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--raw[Output tables without borders]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':domain -- Domain name:_default' \
&& ret=0
;;
(rm)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'-y[Skip confirmations and proceed]' \
'--yes[Skip confirmations and proceed]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':domain -- Domain name:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__certificate__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-certificate-help-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(account)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(acc)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(login)
_arguments "${_arguments_options[@]}" : \
'--api-key=[Log in with this Shuttle API key]:API_KEY:_default' \
'--console-url=[URL to the Shuttle Console for automatic login]:CONSOLE_URL:_default' \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'(--api-key)--prompt[Prompt to paste the API key instead of opening the browser]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(logout)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--reset-api-key[Reset the API key before logging out]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(generate)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__generate_commands" \
"*::: :->generate" \
&& ret=0

    case $state in
    (generate)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-generate-command-$line[1]:"
        case $line[1] in
            (shell)
_arguments "${_arguments_options[@]}" : \
'-o+[Output to a file (stdout by default)]:OUTPUT_FILE:_files' \
'--output-file=[Output to a file (stdout by default)]:OUTPUT_FILE:_files' \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
':shell -- The shell to generate shell completion for:(bash elvish fish powershell zsh)' \
&& ret=0
;;
(manpage)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__generate__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-generate-help-command-$line[1]:"
        case $line[1] in
            (shell)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(manpage)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(feedback)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(upgrade)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--preview[Install an unreleased version from the repository'\''s main branch]' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(mcp)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_cargo-shuttle__mcp_commands" \
"*::: :->mcp" \
&& ret=0

    case $state in
    (mcp)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-mcp-command-$line[1]:"
        case $line[1] in
            (start)
_arguments "${_arguments_options[@]}" : \
'--api-env=[Target a different Shuttle API env (use a separate global config) (default\: None (= prod = production))]:API_ENV:_default' \
'--api-url=[URL for the Shuttle API to target (overrides inferred URL from api_env)]:API_URL:_default' \
'--output=[What format to print output in]:OUTPUT_MODE:(normal json)' \
'--working-directory=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--wd=[Specify the working directory]:WORKING_DIRECTORY:_files' \
'--name=[Specify the name of the project to target or create]:NAME:_default' \
'--id=[Specify the id of the project to target]:ID:_default' \
'--admin[Modify Shuttle API URL to use admin endpoints]' \
'--offline[Disable network requests that are not strictly necessary. Limits some features]' \
'--debug[Turn on tracing output for Shuttle libraries. (WARNING\: can print sensitive data)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__mcp__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-mcp-help-command-$line[1]:"
        case $line[1] in
            (start)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-help-command-$line[1]:"
        case $line[1] in
            (init)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(run)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(deploy)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(deployment)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__help__deployment_commands" \
"*::: :->deployment" \
&& ret=0

    case $state in
    (deployment)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-help-deployment-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(redeploy)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stop)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(logs)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(project)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__help__project_commands" \
"*::: :->project" \
&& ret=0

    case $state in
    (project)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-help-project-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__help__project__update_commands" \
"*::: :->update" \
&& ret=0

    case $state in
    (update)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-help-project-update-command-$line[1]:"
        case $line[1] in
            (name)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(link)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(resource)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__help__resource_commands" \
"*::: :->resource" \
&& ret=0

    case $state in
    (resource)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-help-resource-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dump)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(certificate)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__help__certificate_commands" \
"*::: :->certificate" \
&& ret=0

    case $state in
    (certificate)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-help-certificate-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(account)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(login)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(logout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(generate)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__help__generate_commands" \
"*::: :->generate" \
&& ret=0

    case $state in
    (generate)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-help-generate-command-$line[1]:"
        case $line[1] in
            (shell)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(manpage)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(feedback)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(upgrade)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(mcp)
_arguments "${_arguments_options[@]}" : \
":: :_cargo-shuttle__help__mcp_commands" \
"*::: :->mcp" \
&& ret=0

    case $state in
    (mcp)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:cargo-shuttle-help-mcp-command-$line[1]:"
        case $line[1] in
            (start)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_cargo-shuttle_commands] )) ||
_cargo-shuttle_commands() {
    local commands; commands=(
'init:Generate a Shuttle project from a template' \
'run:Run a project locally' \
'deploy:Deploy a project' \
'deployment:Manage deployments' \
'depl:Manage deployments' \
'logs:View build and deployment logs' \
'project:Manage Shuttle projects' \
'proj:Manage Shuttle projects' \
'resource:Manage resources' \
'res:Manage resources' \
'certificate:Manage SSL certificates for custom domains' \
'cert:Manage SSL certificates for custom domains' \
'account:Show info about your Shuttle account' \
'acc:Show info about your Shuttle account' \
'login:Log in to the Shuttle platform' \
'logout:Log out of the Shuttle platform' \
'generate:Generate shell completions and man page' \
'feedback:Open an issue on GitHub and provide feedback' \
'upgrade:Upgrade the Shuttle CLI binary' \
'mcp:Commands for the Shuttle MCP server' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle commands' commands "$@"
}
(( $+functions[_cargo-shuttle__account_commands] )) ||
_cargo-shuttle__account_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle account commands' commands "$@"
}
(( $+functions[_cargo-shuttle__certificate_commands] )) ||
_cargo-shuttle__certificate_commands() {
    local commands; commands=(
'add:Add an SSL certificate for a custom domain' \
'list:List the certificates for a project' \
'ls:List the certificates for a project' \
'delete:Delete an SSL certificate' \
'rm:Delete an SSL certificate' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle certificate commands' commands "$@"
}
(( $+functions[_cargo-shuttle__certificate__add_commands] )) ||
_cargo-shuttle__certificate__add_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle certificate add commands' commands "$@"
}
(( $+functions[_cargo-shuttle__certificate__delete_commands] )) ||
_cargo-shuttle__certificate__delete_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle certificate delete commands' commands "$@"
}
(( $+functions[_cargo-shuttle__certificate__help_commands] )) ||
_cargo-shuttle__certificate__help_commands() {
    local commands; commands=(
'add:Add an SSL certificate for a custom domain' \
'list:List the certificates for a project' \
'delete:Delete an SSL certificate' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle certificate help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__certificate__help__add_commands] )) ||
_cargo-shuttle__certificate__help__add_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle certificate help add commands' commands "$@"
}
(( $+functions[_cargo-shuttle__certificate__help__delete_commands] )) ||
_cargo-shuttle__certificate__help__delete_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle certificate help delete commands' commands "$@"
}
(( $+functions[_cargo-shuttle__certificate__help__help_commands] )) ||
_cargo-shuttle__certificate__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle certificate help help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__certificate__help__list_commands] )) ||
_cargo-shuttle__certificate__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle certificate help list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__certificate__list_commands] )) ||
_cargo-shuttle__certificate__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle certificate list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deploy_commands] )) ||
_cargo-shuttle__deploy_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle deploy commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deployment_commands] )) ||
_cargo-shuttle__deployment_commands() {
    local commands; commands=(
'list:List the deployments for a service' \
'ls:List the deployments for a service' \
'status:View status of a deployment' \
'stat:View status of a deployment' \
'redeploy:Redeploy a previous deployment (if possible)' \
'stop:Stop running deployment(s)' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle deployment commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deployment__help_commands] )) ||
_cargo-shuttle__deployment__help_commands() {
    local commands; commands=(
'list:List the deployments for a service' \
'status:View status of a deployment' \
'redeploy:Redeploy a previous deployment (if possible)' \
'stop:Stop running deployment(s)' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle deployment help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deployment__help__help_commands] )) ||
_cargo-shuttle__deployment__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle deployment help help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deployment__help__list_commands] )) ||
_cargo-shuttle__deployment__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle deployment help list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deployment__help__redeploy_commands] )) ||
_cargo-shuttle__deployment__help__redeploy_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle deployment help redeploy commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deployment__help__status_commands] )) ||
_cargo-shuttle__deployment__help__status_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle deployment help status commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deployment__help__stop_commands] )) ||
_cargo-shuttle__deployment__help__stop_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle deployment help stop commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deployment__list_commands] )) ||
_cargo-shuttle__deployment__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle deployment list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deployment__redeploy_commands] )) ||
_cargo-shuttle__deployment__redeploy_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle deployment redeploy commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deployment__status_commands] )) ||
_cargo-shuttle__deployment__status_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle deployment status commands' commands "$@"
}
(( $+functions[_cargo-shuttle__deployment__stop_commands] )) ||
_cargo-shuttle__deployment__stop_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle deployment stop commands' commands "$@"
}
(( $+functions[_cargo-shuttle__feedback_commands] )) ||
_cargo-shuttle__feedback_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle feedback commands' commands "$@"
}
(( $+functions[_cargo-shuttle__generate_commands] )) ||
_cargo-shuttle__generate_commands() {
    local commands; commands=(
'shell:Generate shell completions' \
'manpage:Generate man page to the standard output' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle generate commands' commands "$@"
}
(( $+functions[_cargo-shuttle__generate__help_commands] )) ||
_cargo-shuttle__generate__help_commands() {
    local commands; commands=(
'shell:Generate shell completions' \
'manpage:Generate man page to the standard output' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle generate help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__generate__help__help_commands] )) ||
_cargo-shuttle__generate__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle generate help help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__generate__help__manpage_commands] )) ||
_cargo-shuttle__generate__help__manpage_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle generate help manpage commands' commands "$@"
}
(( $+functions[_cargo-shuttle__generate__help__shell_commands] )) ||
_cargo-shuttle__generate__help__shell_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle generate help shell commands' commands "$@"
}
(( $+functions[_cargo-shuttle__generate__manpage_commands] )) ||
_cargo-shuttle__generate__manpage_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle generate manpage commands' commands "$@"
}
(( $+functions[_cargo-shuttle__generate__shell_commands] )) ||
_cargo-shuttle__generate__shell_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle generate shell commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help_commands] )) ||
_cargo-shuttle__help_commands() {
    local commands; commands=(
'init:Generate a Shuttle project from a template' \
'run:Run a project locally' \
'deploy:Deploy a project' \
'deployment:Manage deployments' \
'logs:View build and deployment logs' \
'project:Manage Shuttle projects' \
'resource:Manage resources' \
'certificate:Manage SSL certificates for custom domains' \
'account:Show info about your Shuttle account' \
'login:Log in to the Shuttle platform' \
'logout:Log out of the Shuttle platform' \
'generate:Generate shell completions and man page' \
'feedback:Open an issue on GitHub and provide feedback' \
'upgrade:Upgrade the Shuttle CLI binary' \
'mcp:Commands for the Shuttle MCP server' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__account_commands] )) ||
_cargo-shuttle__help__account_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help account commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__certificate_commands] )) ||
_cargo-shuttle__help__certificate_commands() {
    local commands; commands=(
'add:Add an SSL certificate for a custom domain' \
'list:List the certificates for a project' \
'delete:Delete an SSL certificate' \
    )
    _describe -t commands 'cargo-shuttle help certificate commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__certificate__add_commands] )) ||
_cargo-shuttle__help__certificate__add_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help certificate add commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__certificate__delete_commands] )) ||
_cargo-shuttle__help__certificate__delete_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help certificate delete commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__certificate__list_commands] )) ||
_cargo-shuttle__help__certificate__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help certificate list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__deploy_commands] )) ||
_cargo-shuttle__help__deploy_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help deploy commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__deployment_commands] )) ||
_cargo-shuttle__help__deployment_commands() {
    local commands; commands=(
'list:List the deployments for a service' \
'status:View status of a deployment' \
'redeploy:Redeploy a previous deployment (if possible)' \
'stop:Stop running deployment(s)' \
    )
    _describe -t commands 'cargo-shuttle help deployment commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__deployment__list_commands] )) ||
_cargo-shuttle__help__deployment__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help deployment list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__deployment__redeploy_commands] )) ||
_cargo-shuttle__help__deployment__redeploy_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help deployment redeploy commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__deployment__status_commands] )) ||
_cargo-shuttle__help__deployment__status_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help deployment status commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__deployment__stop_commands] )) ||
_cargo-shuttle__help__deployment__stop_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help deployment stop commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__feedback_commands] )) ||
_cargo-shuttle__help__feedback_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help feedback commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__generate_commands] )) ||
_cargo-shuttle__help__generate_commands() {
    local commands; commands=(
'shell:Generate shell completions' \
'manpage:Generate man page to the standard output' \
    )
    _describe -t commands 'cargo-shuttle help generate commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__generate__manpage_commands] )) ||
_cargo-shuttle__help__generate__manpage_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help generate manpage commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__generate__shell_commands] )) ||
_cargo-shuttle__help__generate__shell_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help generate shell commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__help_commands] )) ||
_cargo-shuttle__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__init_commands] )) ||
_cargo-shuttle__help__init_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help init commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__login_commands] )) ||
_cargo-shuttle__help__login_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help login commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__logout_commands] )) ||
_cargo-shuttle__help__logout_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help logout commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__logs_commands] )) ||
_cargo-shuttle__help__logs_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help logs commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__mcp_commands] )) ||
_cargo-shuttle__help__mcp_commands() {
    local commands; commands=(
'start:Start the Shuttle MCP server' \
    )
    _describe -t commands 'cargo-shuttle help mcp commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__mcp__start_commands] )) ||
_cargo-shuttle__help__mcp__start_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help mcp start commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__project_commands] )) ||
_cargo-shuttle__help__project_commands() {
    local commands; commands=(
'create:Create a project on Shuttle' \
'update:Update project config' \
'status:Get the status of this project on Shuttle' \
'list:List all projects you have access to' \
'delete:Delete a project and all linked data' \
'link:Link this workspace to a Shuttle project' \
    )
    _describe -t commands 'cargo-shuttle help project commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__project__create_commands] )) ||
_cargo-shuttle__help__project__create_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help project create commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__project__delete_commands] )) ||
_cargo-shuttle__help__project__delete_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help project delete commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__project__link_commands] )) ||
_cargo-shuttle__help__project__link_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help project link commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__project__list_commands] )) ||
_cargo-shuttle__help__project__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help project list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__project__status_commands] )) ||
_cargo-shuttle__help__project__status_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help project status commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__project__update_commands] )) ||
_cargo-shuttle__help__project__update_commands() {
    local commands; commands=(
'name:Rename the project, including its default subdomain' \
    )
    _describe -t commands 'cargo-shuttle help project update commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__project__update__name_commands] )) ||
_cargo-shuttle__help__project__update__name_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help project update name commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__resource_commands] )) ||
_cargo-shuttle__help__resource_commands() {
    local commands; commands=(
'list:List the resources for a project' \
'delete:Delete a resource' \
'dump:Dump a resource' \
    )
    _describe -t commands 'cargo-shuttle help resource commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__resource__delete_commands] )) ||
_cargo-shuttle__help__resource__delete_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help resource delete commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__resource__dump_commands] )) ||
_cargo-shuttle__help__resource__dump_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help resource dump commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__resource__list_commands] )) ||
_cargo-shuttle__help__resource__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help resource list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__run_commands] )) ||
_cargo-shuttle__help__run_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help run commands' commands "$@"
}
(( $+functions[_cargo-shuttle__help__upgrade_commands] )) ||
_cargo-shuttle__help__upgrade_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle help upgrade commands' commands "$@"
}
(( $+functions[_cargo-shuttle__init_commands] )) ||
_cargo-shuttle__init_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle init commands' commands "$@"
}
(( $+functions[_cargo-shuttle__login_commands] )) ||
_cargo-shuttle__login_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle login commands' commands "$@"
}
(( $+functions[_cargo-shuttle__logout_commands] )) ||
_cargo-shuttle__logout_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle logout commands' commands "$@"
}
(( $+functions[_cargo-shuttle__logs_commands] )) ||
_cargo-shuttle__logs_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle logs commands' commands "$@"
}
(( $+functions[_cargo-shuttle__mcp_commands] )) ||
_cargo-shuttle__mcp_commands() {
    local commands; commands=(
'start:Start the Shuttle MCP server' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle mcp commands' commands "$@"
}
(( $+functions[_cargo-shuttle__mcp__help_commands] )) ||
_cargo-shuttle__mcp__help_commands() {
    local commands; commands=(
'start:Start the Shuttle MCP server' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle mcp help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__mcp__help__help_commands] )) ||
_cargo-shuttle__mcp__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle mcp help help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__mcp__help__start_commands] )) ||
_cargo-shuttle__mcp__help__start_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle mcp help start commands' commands "$@"
}
(( $+functions[_cargo-shuttle__mcp__start_commands] )) ||
_cargo-shuttle__mcp__start_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle mcp start commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project_commands] )) ||
_cargo-shuttle__project_commands() {
    local commands; commands=(
'create:Create a project on Shuttle' \
'start:Create a project on Shuttle' \
'update:Update project config' \
'upd:Update project config' \
'status:Get the status of this project on Shuttle' \
'stat:Get the status of this project on Shuttle' \
'list:List all projects you have access to' \
'ls:List all projects you have access to' \
'delete:Delete a project and all linked data' \
'rm:Delete a project and all linked data' \
'link:Link this workspace to a Shuttle project' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle project commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__create_commands] )) ||
_cargo-shuttle__project__create_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project create commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__delete_commands] )) ||
_cargo-shuttle__project__delete_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project delete commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__help_commands] )) ||
_cargo-shuttle__project__help_commands() {
    local commands; commands=(
'create:Create a project on Shuttle' \
'update:Update project config' \
'status:Get the status of this project on Shuttle' \
'list:List all projects you have access to' \
'delete:Delete a project and all linked data' \
'link:Link this workspace to a Shuttle project' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle project help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__help__create_commands] )) ||
_cargo-shuttle__project__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project help create commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__help__delete_commands] )) ||
_cargo-shuttle__project__help__delete_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project help delete commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__help__help_commands] )) ||
_cargo-shuttle__project__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project help help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__help__link_commands] )) ||
_cargo-shuttle__project__help__link_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project help link commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__help__list_commands] )) ||
_cargo-shuttle__project__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project help list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__help__status_commands] )) ||
_cargo-shuttle__project__help__status_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project help status commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__help__update_commands] )) ||
_cargo-shuttle__project__help__update_commands() {
    local commands; commands=(
'name:Rename the project, including its default subdomain' \
    )
    _describe -t commands 'cargo-shuttle project help update commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__help__update__name_commands] )) ||
_cargo-shuttle__project__help__update__name_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project help update name commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__link_commands] )) ||
_cargo-shuttle__project__link_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project link commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__list_commands] )) ||
_cargo-shuttle__project__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__status_commands] )) ||
_cargo-shuttle__project__status_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project status commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__update_commands] )) ||
_cargo-shuttle__project__update_commands() {
    local commands; commands=(
'name:Rename the project, including its default subdomain' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle project update commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__update__help_commands] )) ||
_cargo-shuttle__project__update__help_commands() {
    local commands; commands=(
'name:Rename the project, including its default subdomain' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle project update help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__update__help__help_commands] )) ||
_cargo-shuttle__project__update__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project update help help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__update__help__name_commands] )) ||
_cargo-shuttle__project__update__help__name_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project update help name commands' commands "$@"
}
(( $+functions[_cargo-shuttle__project__update__name_commands] )) ||
_cargo-shuttle__project__update__name_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle project update name commands' commands "$@"
}
(( $+functions[_cargo-shuttle__resource_commands] )) ||
_cargo-shuttle__resource_commands() {
    local commands; commands=(
'list:List the resources for a project' \
'ls:List the resources for a project' \
'delete:Delete a resource' \
'rm:Delete a resource' \
'dump:Dump a resource' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle resource commands' commands "$@"
}
(( $+functions[_cargo-shuttle__resource__delete_commands] )) ||
_cargo-shuttle__resource__delete_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle resource delete commands' commands "$@"
}
(( $+functions[_cargo-shuttle__resource__dump_commands] )) ||
_cargo-shuttle__resource__dump_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle resource dump commands' commands "$@"
}
(( $+functions[_cargo-shuttle__resource__help_commands] )) ||
_cargo-shuttle__resource__help_commands() {
    local commands; commands=(
'list:List the resources for a project' \
'delete:Delete a resource' \
'dump:Dump a resource' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'cargo-shuttle resource help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__resource__help__delete_commands] )) ||
_cargo-shuttle__resource__help__delete_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle resource help delete commands' commands "$@"
}
(( $+functions[_cargo-shuttle__resource__help__dump_commands] )) ||
_cargo-shuttle__resource__help__dump_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle resource help dump commands' commands "$@"
}
(( $+functions[_cargo-shuttle__resource__help__help_commands] )) ||
_cargo-shuttle__resource__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle resource help help commands' commands "$@"
}
(( $+functions[_cargo-shuttle__resource__help__list_commands] )) ||
_cargo-shuttle__resource__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle resource help list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__resource__list_commands] )) ||
_cargo-shuttle__resource__list_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle resource list commands' commands "$@"
}
(( $+functions[_cargo-shuttle__run_commands] )) ||
_cargo-shuttle__run_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle run commands' commands "$@"
}
(( $+functions[_cargo-shuttle__upgrade_commands] )) ||
_cargo-shuttle__upgrade_commands() {
    local commands; commands=()
    _describe -t commands 'cargo-shuttle upgrade commands' commands "$@"
}

if [ "$funcstack[1]" = "_cargo-shuttle" ]; then
    _cargo-shuttle "$@"
else
    compdef _cargo-shuttle cargo-shuttle
fi
