#compdef lxlogger

autoload -U is-at-least

_lxlogger() {
    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[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_lxlogger_commands" \
"*::: :->lxlogger" \
&& ret=0
    case $state in
    (lxlogger)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:lxlogger-command-$line[1]:"
        case $line[1] in
            (up)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
'-y+[Year to import (e.g. 2025)]:YYYY:_default' \
'--year=[Year to import (e.g. 2025)]:YYYY:_default' \
'-m+[Month to import (1–12). Omit to import all twelve months]:MM:_default' \
'--month=[Month to import (1–12). Omit to import all twelve months]:MM:_default' \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'--dry-run[Preview only — connect to the Miniserver but do not write to any sink]' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(backup)
_arguments "${_arguments_options[@]}" : \
'-o+[Destination directory (overrides \`\[backup\].dest\` / \`LXL_BACKUP_DEST\`)]:PATH:_files' \
'--output=[Destination directory (overrides \`\[backup\].dest\` / \`LXL_BACKUP_DEST\`)]:PATH:_files' \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'--dry-run[Preview only — resolve and check the destination but transfer nothing]' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(check)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(version)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(completions)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':shell -- Target shell:(bash elvish fish powershell zsh)' \
&& ret=0
;;
(secret)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_lxlogger__subcmd__secret_commands" \
"*::: :->secret" \
&& ret=0

    case $state in
    (secret)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:lxlogger-secret-command-$line[1]:"
        case $line[1] in
            (set)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key -- Secret key, e.g. `miniserver.password` or `influxdb_v2.token` (`lxlogger secret list` shows them all):_default' \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key -- Secret key to read:_default' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key -- Secret key to delete:_default' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_lxlogger__subcmd__secret__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:lxlogger-secret-help-command-$line[1]:"
        case $line[1] in
            (set)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(license)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_lxlogger__subcmd__license_commands" \
"*::: :->license" \
&& ret=0

    case $state in
    (license)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:lxlogger-license-command-$line[1]:"
        case $line[1] in
            (show)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::path -- Token file to verify (default\: the resolved active token — `--license`, the `LXL_LICENSE*` env vars, or the config-dir paths):_files' \
&& ret=0
;;
(trial)
_arguments "${_arguments_options[@]}" : \
'--config=[Config file (default\: search \$HOME, ., /etc/lxlogger/)]:PATH:_files' \
'--license=[License token file]:PATH:_files' \
'--log-format=[Log output format]:LOG_FORMAT:((pretty\:"Human-readable, colorized output"
json\:"Structured JSON, one object per line"))' \
'--instance-name=[Instance name used to label metrics and namespace the keyring]:NAME:_default' \
'*-v[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'*--verbose[Increase logging verbosity (repeatable\: -v, -vv, -vvv)]' \
'(-v --verbose)-q[Suppress all non-error output]' \
'(-v --verbose)--quiet[Suppress all non-error output]' \
'--no-color[Disable colored output]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_lxlogger__subcmd__license__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:lxlogger-license-help-command-$line[1]:"
        case $line[1] in
            (show)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(trial)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_lxlogger__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:lxlogger-help-command-$line[1]:"
        case $line[1] in
            (up)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(backup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(check)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(version)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(completions)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(secret)
_arguments "${_arguments_options[@]}" : \
":: :_lxlogger__subcmd__help__subcmd__secret_commands" \
"*::: :->secret" \
&& ret=0

    case $state in
    (secret)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:lxlogger-help-secret-command-$line[1]:"
        case $line[1] in
            (set)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(license)
_arguments "${_arguments_options[@]}" : \
":: :_lxlogger__subcmd__help__subcmd__license_commands" \
"*::: :->license" \
&& ret=0

    case $state in
    (license)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:lxlogger-help-license-command-$line[1]:"
        case $line[1] in
            (show)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(trial)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_lxlogger_commands] )) ||
_lxlogger_commands() {
    local commands; commands=(
'up:Connect to the Miniserver and log state changes to the configured sinks' \
'import:Bulk-import historical statistics into the configured sinks' \
'backup:Back up the Miniserver configuration' \
'check:Validate the config and ping the Miniserver' \
'info:Show system information' \
'version:Show version, commit, build date, and target triple' \
'completions:Print a shell completion script to stdout' \
'secret:Manage secrets stored in the OS keyring' \
'license:Inspect and verify the license token' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'lxlogger commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__backup_commands] )) ||
_lxlogger__subcmd__backup_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger backup commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__check_commands] )) ||
_lxlogger__subcmd__check_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger check commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__completions_commands] )) ||
_lxlogger__subcmd__completions_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger completions commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help_commands] )) ||
_lxlogger__subcmd__help_commands() {
    local commands; commands=(
'up:Connect to the Miniserver and log state changes to the configured sinks' \
'import:Bulk-import historical statistics into the configured sinks' \
'backup:Back up the Miniserver configuration' \
'check:Validate the config and ping the Miniserver' \
'info:Show system information' \
'version:Show version, commit, build date, and target triple' \
'completions:Print a shell completion script to stdout' \
'secret:Manage secrets stored in the OS keyring' \
'license:Inspect and verify the license token' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'lxlogger help commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__backup_commands] )) ||
_lxlogger__subcmd__help__subcmd__backup_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help backup commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__check_commands] )) ||
_lxlogger__subcmd__help__subcmd__check_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help check commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__completions_commands] )) ||
_lxlogger__subcmd__help__subcmd__completions_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help completions commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__help_commands] )) ||
_lxlogger__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help help commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__import_commands] )) ||
_lxlogger__subcmd__help__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help import commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__info_commands] )) ||
_lxlogger__subcmd__help__subcmd__info_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help info commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__license_commands] )) ||
_lxlogger__subcmd__help__subcmd__license_commands() {
    local commands; commands=(
'show:Show the active license details' \
'verify:Validate a license token'\''s signature and expiry' \
'trial:Show trial status (days remaining, expiry)' \
    )
    _describe -t commands 'lxlogger help license commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__license__subcmd__show_commands] )) ||
_lxlogger__subcmd__help__subcmd__license__subcmd__show_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help license show commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__license__subcmd__trial_commands] )) ||
_lxlogger__subcmd__help__subcmd__license__subcmd__trial_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help license trial commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__license__subcmd__verify_commands] )) ||
_lxlogger__subcmd__help__subcmd__license__subcmd__verify_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help license verify commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__secret_commands] )) ||
_lxlogger__subcmd__help__subcmd__secret_commands() {
    local commands; commands=(
'set:Store a secret (prompts for the value without echo)' \
'get:Read a secret'\''s value (prints the plaintext to stdout)' \
'delete:Delete a secret' \
'list:List the secrets the config needs and where each resolves from (never values)' \
    )
    _describe -t commands 'lxlogger help secret commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__secret__subcmd__delete_commands] )) ||
_lxlogger__subcmd__help__subcmd__secret__subcmd__delete_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help secret delete commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__secret__subcmd__get_commands] )) ||
_lxlogger__subcmd__help__subcmd__secret__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help secret get commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__secret__subcmd__list_commands] )) ||
_lxlogger__subcmd__help__subcmd__secret__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help secret list commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__secret__subcmd__set_commands] )) ||
_lxlogger__subcmd__help__subcmd__secret__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help secret set commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__up_commands] )) ||
_lxlogger__subcmd__help__subcmd__up_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help up commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__help__subcmd__version_commands] )) ||
_lxlogger__subcmd__help__subcmd__version_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger help version commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__import_commands] )) ||
_lxlogger__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger import commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__info_commands] )) ||
_lxlogger__subcmd__info_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger info commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__license_commands] )) ||
_lxlogger__subcmd__license_commands() {
    local commands; commands=(
'show:Show the active license details' \
'verify:Validate a license token'\''s signature and expiry' \
'trial:Show trial status (days remaining, expiry)' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'lxlogger license commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__license__subcmd__help_commands] )) ||
_lxlogger__subcmd__license__subcmd__help_commands() {
    local commands; commands=(
'show:Show the active license details' \
'verify:Validate a license token'\''s signature and expiry' \
'trial:Show trial status (days remaining, expiry)' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'lxlogger license help commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__license__subcmd__help__subcmd__help_commands] )) ||
_lxlogger__subcmd__license__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger license help help commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__license__subcmd__help__subcmd__show_commands] )) ||
_lxlogger__subcmd__license__subcmd__help__subcmd__show_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger license help show commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__license__subcmd__help__subcmd__trial_commands] )) ||
_lxlogger__subcmd__license__subcmd__help__subcmd__trial_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger license help trial commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__license__subcmd__help__subcmd__verify_commands] )) ||
_lxlogger__subcmd__license__subcmd__help__subcmd__verify_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger license help verify commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__license__subcmd__show_commands] )) ||
_lxlogger__subcmd__license__subcmd__show_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger license show commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__license__subcmd__trial_commands] )) ||
_lxlogger__subcmd__license__subcmd__trial_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger license trial commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__license__subcmd__verify_commands] )) ||
_lxlogger__subcmd__license__subcmd__verify_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger license verify commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__secret_commands] )) ||
_lxlogger__subcmd__secret_commands() {
    local commands; commands=(
'set:Store a secret (prompts for the value without echo)' \
'get:Read a secret'\''s value (prints the plaintext to stdout)' \
'delete:Delete a secret' \
'list:List the secrets the config needs and where each resolves from (never values)' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'lxlogger secret commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__secret__subcmd__delete_commands] )) ||
_lxlogger__subcmd__secret__subcmd__delete_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger secret delete commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__secret__subcmd__get_commands] )) ||
_lxlogger__subcmd__secret__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger secret get commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__secret__subcmd__help_commands] )) ||
_lxlogger__subcmd__secret__subcmd__help_commands() {
    local commands; commands=(
'set:Store a secret (prompts for the value without echo)' \
'get:Read a secret'\''s value (prints the plaintext to stdout)' \
'delete:Delete a secret' \
'list:List the secrets the config needs and where each resolves from (never values)' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'lxlogger secret help commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__secret__subcmd__help__subcmd__delete_commands] )) ||
_lxlogger__subcmd__secret__subcmd__help__subcmd__delete_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger secret help delete commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__secret__subcmd__help__subcmd__get_commands] )) ||
_lxlogger__subcmd__secret__subcmd__help__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger secret help get commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__secret__subcmd__help__subcmd__help_commands] )) ||
_lxlogger__subcmd__secret__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger secret help help commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__secret__subcmd__help__subcmd__list_commands] )) ||
_lxlogger__subcmd__secret__subcmd__help__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger secret help list commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__secret__subcmd__help__subcmd__set_commands] )) ||
_lxlogger__subcmd__secret__subcmd__help__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger secret help set commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__secret__subcmd__list_commands] )) ||
_lxlogger__subcmd__secret__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger secret list commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__secret__subcmd__set_commands] )) ||
_lxlogger__subcmd__secret__subcmd__set_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger secret set commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__up_commands] )) ||
_lxlogger__subcmd__up_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger up commands' commands "$@"
}
(( $+functions[_lxlogger__subcmd__version_commands] )) ||
_lxlogger__subcmd__version_commands() {
    local commands; commands=()
    _describe -t commands 'lxlogger version commands' commands "$@"
}

if [ "$funcstack[1]" = "_lxlogger" ]; then
    _lxlogger "$@"
else
    compdef _lxlogger lxlogger
fi
