_cpak_completions()
{
    local cur prev words cword
    _init_completion || return

    COMPREPLY=($(compgen -W "addon alias application-runtime audit auth capabilities chromium-launch completion dedup desktop-bus-proxy dev discover doctor environment extract gc gen-schema grant health host-action init inspect install launch list lock lock-image logs migrate-flatpak migrate-manifest network-helper orchestrate override ps remote remove rollback run self-update service session shell spawn status stop storage system system-authority system-broker-server test tray-proxy update validate verify-signature x11-broker" -- "$cur"))
}

complete -F _cpak_completions cpak
