#compdef firefoxpwa

autoload -U is-at-least

_firefoxpwa() {
    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[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_firefoxpwa_commands" \
"*::: :->firefoxpwa" \
&& ret=0
    case $state in
    (firefoxpwa)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:firefoxpwa-command-$line[1]:"
        case $line[1] in
            (site)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_firefoxpwa__site_commands" \
"*::: :->site" \
&& ret=0

    case $state in
    (site)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:firefoxpwa-site-command-$line[1]:"
        case $line[1] in
            (launch)
_arguments "${_arguments_options[@]}" : \
'(--protocol)*--url=[Launch web app on a custom start URL]:URL:_urls' \
'(--url)--protocol=[Launch web app on a protocol handler URL]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
':id -- Web app ID:_default' \
'*::arguments -- Arguments passed to the runtime:_default' \
&& ret=0
;;
(install)
_arguments "${_arguments_options[@]}" : \
'--document-url=[Direct URL of the site'\''s main document {n}Defaults to the result of parsing a manifest URL with \`.\`]:DOCUMENT_URL:_urls' \
'--profile=[Profile where this web app will be installed {n}Defaults to the shared profile]:PROFILE:_default' \
'--start-url=[Set a custom web app start URL]:START_URL:_urls' \
'--icon-url=[Set a custom web app icon URL]:ICON_URL:_urls' \
'--name=[Set a custom web app name]:NAME:_default' \
'--description=[Set a custom web app description]:DESCRIPTION:_default' \
'*--categories=[Set custom web app categories]:CATEGORIES:_default' \
'*--keywords=[Set custom web app keywords]:KEYWORDS:_default' \
'--launch-on-login=[Set the web app to launch on the system login]:LAUNCH_ON_LOGIN:(true false)' \
'--launch-on-browser=[Set the web app to launch on the browser launch]:LAUNCH_ON_BROWSER:(true false)' \
'--user-agent=[Use a custom user-agent header]:USER_AGENT:_default' \
'*--tls-root-certificates-der=[Import additional root certificates from a DER file]:TLS_ROOT_CERTIFICATES_DER:_files' \
'*--tls-root-certificates-pem=[Import additional root certificates from a PEM file]:TLS_ROOT_CERTIFICATES_PEM:_files' \
'--launch-now[Launch this web app when the installation finishes]' \
'--no-system-integration[Disable system integration]' \
'--tls-danger-accept-invalid-certs[Dangerous\: Allow client to accept invalid certs]' \
'--tls-danger-accept-invalid-hostnames[Dangerous\: Allow client to accept invalid hostnames]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
':manifest_url -- Direct URL of the site'\''s web app manifest:_urls' \
&& ret=0
;;
(uninstall)
_arguments "${_arguments_options[@]}" : \
'-q[Disable any interactive prompts]' \
'--quiet[Disable any interactive prompts]' \
'--no-system-integration[Disable system integration]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
':id -- Web app ID:_default' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'--start-url=[Set a custom web app start URL]' \
'--icon-url=[Set a custom web app icon URL]' \
'--name=[Set a custom web app name]' \
'--description=[Set a custom web app description]' \
'*--categories=[Set custom web app categories]:CATEGORIES:_default' \
'*--keywords=[Set custom web app keywords]:KEYWORDS:_default' \
'*--enabled-url-handlers=[Set enabled URL handlers]:ENABLED_URL_HANDLERS:_default' \
'*--enabled-protocol-handlers=[Set enabled protocol handlers]:ENABLED_PROTOCOL_HANDLERS:_default' \
'--launch-on-login=[Set the web app to launch on the system login]:LAUNCH_ON_LOGIN:(true false)' \
'--launch-on-browser=[Set the web app to launch on the browser launch]:LAUNCH_ON_BROWSER:(true false)' \
'--user-agent=[Use a custom user-agent header]:USER_AGENT:_default' \
'*--tls-root-certificates-der=[Import additional root certificates from a DER file]:TLS_ROOT_CERTIFICATES_DER:_files' \
'*--tls-root-certificates-pem=[Import additional root certificates from a PEM file]:TLS_ROOT_CERTIFICATES_PEM:_files' \
'--no-manifest-updates[Disable manifest updates]' \
'--no-icon-updates[Disable icon updates]' \
'--no-system-integration[Disable system integration]' \
'--tls-danger-accept-invalid-certs[Dangerous\: Allow client to accept invalid certs]' \
'--tls-danger-accept-invalid-hostnames[Dangerous\: Allow client to accept invalid hostnames]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
':id -- Web app ID:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_firefoxpwa__site__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:firefoxpwa-site-help-command-$line[1]:"
        case $line[1] in
            (launch)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(install)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(uninstall)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(profile)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_firefoxpwa__profile_commands" \
"*::: :->profile" \
&& ret=0

    case $state in
    (profile)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:firefoxpwa-profile-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
'--name=[Set a profile name]:NAME:_default' \
'--description=[Set a profile description]:DESCRIPTION:_default' \
'--template=[Set a profile template {n}All contents of the template directory will be copied to a newly-created profile]:TEMPLATE:_files -/' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'-q[Disable any interactive prompts]' \
'--quiet[Disable any interactive prompts]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
':id -- Profile ID:_default' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'--name=[Set a profile name]' \
'--description=[Set a profile description]' \
'--template=[Set a profile template {n}All contents of the template directory will be copied to the currently-updated profile]:TEMPLATE:_files -/' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
':id -- Profile ID:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_firefoxpwa__profile__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:firefoxpwa-profile-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(runtime)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_firefoxpwa__runtime_commands" \
"*::: :->runtime" \
&& ret=0

    case $state in
    (runtime)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:firefoxpwa-runtime-command-$line[1]:"
        case $line[1] in
            (install)
_arguments "${_arguments_options[@]}" : \
'--link[Experimental\: Use a linked runtime instead of downloading from Mozilla]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(uninstall)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(patch)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_firefoxpwa__runtime__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:firefoxpwa-runtime-help-command-$line[1]:"
        case $line[1] in
            (install)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(uninstall)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(patch)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_firefoxpwa__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:firefoxpwa-help-command-$line[1]:"
        case $line[1] in
            (site)
_arguments "${_arguments_options[@]}" : \
":: :_firefoxpwa__help__site_commands" \
"*::: :->site" \
&& ret=0

    case $state in
    (site)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:firefoxpwa-help-site-command-$line[1]:"
        case $line[1] in
            (launch)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(install)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(uninstall)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(profile)
_arguments "${_arguments_options[@]}" : \
":: :_firefoxpwa__help__profile_commands" \
"*::: :->profile" \
&& ret=0

    case $state in
    (profile)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:firefoxpwa-help-profile-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(runtime)
_arguments "${_arguments_options[@]}" : \
":: :_firefoxpwa__help__runtime_commands" \
"*::: :->runtime" \
&& ret=0

    case $state in
    (runtime)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:firefoxpwa-help-runtime-command-$line[1]:"
        case $line[1] in
            (install)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(uninstall)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(patch)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_firefoxpwa_commands] )) ||
_firefoxpwa_commands() {
    local commands; commands=(
'site:Manage web apps' \
'profile:Manage profiles' \
'runtime:Manage the runtime' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'firefoxpwa commands' commands "$@"
}
(( $+functions[_firefoxpwa__help_commands] )) ||
_firefoxpwa__help_commands() {
    local commands; commands=(
'site:Manage web apps' \
'profile:Manage profiles' \
'runtime:Manage the runtime' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'firefoxpwa help commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__help_commands] )) ||
_firefoxpwa__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help help commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__profile_commands] )) ||
_firefoxpwa__help__profile_commands() {
    local commands; commands=(
'list:List available profiles and their web apps' \
'create:Create a new profile' \
'remove:Remove an existing profile' \
'update:Update an existing profile' \
    )
    _describe -t commands 'firefoxpwa help profile commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__profile__create_commands] )) ||
_firefoxpwa__help__profile__create_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help profile create commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__profile__list_commands] )) ||
_firefoxpwa__help__profile__list_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help profile list commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__profile__remove_commands] )) ||
_firefoxpwa__help__profile__remove_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help profile remove commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__profile__update_commands] )) ||
_firefoxpwa__help__profile__update_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help profile update commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__runtime_commands] )) ||
_firefoxpwa__help__runtime_commands() {
    local commands; commands=(
'install:Install the runtime' \
'uninstall:Uninstall the runtime' \
'patch:Patch the runtime' \
    )
    _describe -t commands 'firefoxpwa help runtime commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__runtime__install_commands] )) ||
_firefoxpwa__help__runtime__install_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help runtime install commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__runtime__patch_commands] )) ||
_firefoxpwa__help__runtime__patch_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help runtime patch commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__runtime__uninstall_commands] )) ||
_firefoxpwa__help__runtime__uninstall_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help runtime uninstall commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__site_commands] )) ||
_firefoxpwa__help__site_commands() {
    local commands; commands=(
'launch:Launch a web app' \
'install:Install a web app' \
'uninstall:Uninstall a web app' \
'update:Update a web app' \
    )
    _describe -t commands 'firefoxpwa help site commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__site__install_commands] )) ||
_firefoxpwa__help__site__install_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help site install commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__site__launch_commands] )) ||
_firefoxpwa__help__site__launch_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help site launch commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__site__uninstall_commands] )) ||
_firefoxpwa__help__site__uninstall_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help site uninstall commands' commands "$@"
}
(( $+functions[_firefoxpwa__help__site__update_commands] )) ||
_firefoxpwa__help__site__update_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa help site update commands' commands "$@"
}
(( $+functions[_firefoxpwa__profile_commands] )) ||
_firefoxpwa__profile_commands() {
    local commands; commands=(
'list:List available profiles and their web apps' \
'create:Create a new profile' \
'remove:Remove an existing profile' \
'update:Update an existing profile' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'firefoxpwa profile commands' commands "$@"
}
(( $+functions[_firefoxpwa__profile__create_commands] )) ||
_firefoxpwa__profile__create_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa profile create commands' commands "$@"
}
(( $+functions[_firefoxpwa__profile__help_commands] )) ||
_firefoxpwa__profile__help_commands() {
    local commands; commands=(
'list:List available profiles and their web apps' \
'create:Create a new profile' \
'remove:Remove an existing profile' \
'update:Update an existing profile' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'firefoxpwa profile help commands' commands "$@"
}
(( $+functions[_firefoxpwa__profile__help__create_commands] )) ||
_firefoxpwa__profile__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa profile help create commands' commands "$@"
}
(( $+functions[_firefoxpwa__profile__help__help_commands] )) ||
_firefoxpwa__profile__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa profile help help commands' commands "$@"
}
(( $+functions[_firefoxpwa__profile__help__list_commands] )) ||
_firefoxpwa__profile__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa profile help list commands' commands "$@"
}
(( $+functions[_firefoxpwa__profile__help__remove_commands] )) ||
_firefoxpwa__profile__help__remove_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa profile help remove commands' commands "$@"
}
(( $+functions[_firefoxpwa__profile__help__update_commands] )) ||
_firefoxpwa__profile__help__update_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa profile help update commands' commands "$@"
}
(( $+functions[_firefoxpwa__profile__list_commands] )) ||
_firefoxpwa__profile__list_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa profile list commands' commands "$@"
}
(( $+functions[_firefoxpwa__profile__remove_commands] )) ||
_firefoxpwa__profile__remove_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa profile remove commands' commands "$@"
}
(( $+functions[_firefoxpwa__profile__update_commands] )) ||
_firefoxpwa__profile__update_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa profile update commands' commands "$@"
}
(( $+functions[_firefoxpwa__runtime_commands] )) ||
_firefoxpwa__runtime_commands() {
    local commands; commands=(
'install:Install the runtime' \
'uninstall:Uninstall the runtime' \
'patch:Patch the runtime' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'firefoxpwa runtime commands' commands "$@"
}
(( $+functions[_firefoxpwa__runtime__help_commands] )) ||
_firefoxpwa__runtime__help_commands() {
    local commands; commands=(
'install:Install the runtime' \
'uninstall:Uninstall the runtime' \
'patch:Patch the runtime' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'firefoxpwa runtime help commands' commands "$@"
}
(( $+functions[_firefoxpwa__runtime__help__help_commands] )) ||
_firefoxpwa__runtime__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa runtime help help commands' commands "$@"
}
(( $+functions[_firefoxpwa__runtime__help__install_commands] )) ||
_firefoxpwa__runtime__help__install_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa runtime help install commands' commands "$@"
}
(( $+functions[_firefoxpwa__runtime__help__patch_commands] )) ||
_firefoxpwa__runtime__help__patch_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa runtime help patch commands' commands "$@"
}
(( $+functions[_firefoxpwa__runtime__help__uninstall_commands] )) ||
_firefoxpwa__runtime__help__uninstall_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa runtime help uninstall commands' commands "$@"
}
(( $+functions[_firefoxpwa__runtime__install_commands] )) ||
_firefoxpwa__runtime__install_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa runtime install commands' commands "$@"
}
(( $+functions[_firefoxpwa__runtime__patch_commands] )) ||
_firefoxpwa__runtime__patch_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa runtime patch commands' commands "$@"
}
(( $+functions[_firefoxpwa__runtime__uninstall_commands] )) ||
_firefoxpwa__runtime__uninstall_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa runtime uninstall commands' commands "$@"
}
(( $+functions[_firefoxpwa__site_commands] )) ||
_firefoxpwa__site_commands() {
    local commands; commands=(
'launch:Launch a web app' \
'install:Install a web app' \
'uninstall:Uninstall a web app' \
'update:Update a web app' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'firefoxpwa site commands' commands "$@"
}
(( $+functions[_firefoxpwa__site__help_commands] )) ||
_firefoxpwa__site__help_commands() {
    local commands; commands=(
'launch:Launch a web app' \
'install:Install a web app' \
'uninstall:Uninstall a web app' \
'update:Update a web app' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'firefoxpwa site help commands' commands "$@"
}
(( $+functions[_firefoxpwa__site__help__help_commands] )) ||
_firefoxpwa__site__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa site help help commands' commands "$@"
}
(( $+functions[_firefoxpwa__site__help__install_commands] )) ||
_firefoxpwa__site__help__install_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa site help install commands' commands "$@"
}
(( $+functions[_firefoxpwa__site__help__launch_commands] )) ||
_firefoxpwa__site__help__launch_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa site help launch commands' commands "$@"
}
(( $+functions[_firefoxpwa__site__help__uninstall_commands] )) ||
_firefoxpwa__site__help__uninstall_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa site help uninstall commands' commands "$@"
}
(( $+functions[_firefoxpwa__site__help__update_commands] )) ||
_firefoxpwa__site__help__update_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa site help update commands' commands "$@"
}
(( $+functions[_firefoxpwa__site__install_commands] )) ||
_firefoxpwa__site__install_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa site install commands' commands "$@"
}
(( $+functions[_firefoxpwa__site__launch_commands] )) ||
_firefoxpwa__site__launch_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa site launch commands' commands "$@"
}
(( $+functions[_firefoxpwa__site__uninstall_commands] )) ||
_firefoxpwa__site__uninstall_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa site uninstall commands' commands "$@"
}
(( $+functions[_firefoxpwa__site__update_commands] )) ||
_firefoxpwa__site__update_commands() {
    local commands; commands=()
    _describe -t commands 'firefoxpwa site update commands' commands "$@"
}

if [ "$funcstack[1]" = "_firefoxpwa" ]; then
    _firefoxpwa "$@"
else
    compdef _firefoxpwa firefoxpwa
fi
