#compdef ironbar

autoload -U is-at-least

_ironbar() {
    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[@]}" : \
'--print-completions=[Print shell completions to \`stdout\` and exit]:PRINT_COMPLETIONS:(bash elvish zsh fish powershell)' \
'-c+[Specify the path to the config file to use]:CONFIG:_default' \
'--config=[Specify the path to the config file to use]:CONFIG:_default' \
'-t+[]:THEME:_default' \
'--theme=[]:THEME:_default' \
'-f+[Format to output the response as]:FORMAT:(plain json)' \
'--format=[Format to output the response as]:FORMAT:(plain json)' \
'-b+[\`bar_id\` argument passed by \`swaybar_command\`. Not used]:SWAY_BAR_ID:_default' \
'--print-schema[Print the config JSON schema to \`stdout\` and exit]' \
'--debug[Print debug information to stderr]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_ironbar_commands" \
"*::: :->ironbar" \
&& ret=0
    case $state in
    (ironbar)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:ironbar-command-$line[1]:"
        case $line[1] in
            (ping)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(inspect)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(reload)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(var)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_ironbar__var_commands" \
"*::: :->var" \
&& ret=0

    case $state in
    (var)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:ironbar-var-command-$line[1]:"
        case $line[1] in
            (set)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':key -- Variable key. Can be any alphanumeric ASCII string:_default' \
':value -- Variable value. Can be any valid UTF-8 string:_default' \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':key -- Variable key:_default' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'::namespace:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_ironbar__var__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:ironbar-var-help-command-$line[1]:"
        case $line[1] in
            (set)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(bar)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':name -- The name of the bar:_default' \
":: :_ironbar__bar_commands" \
"*::: :->bar" \
&& ret=0

    case $state in
    (bar)
        words=($line[2] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:ironbar-bar-command-$line[2]:"
        case $line[2] in
            (show)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(hide)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-visible)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':visible -- The new visibility state:(true false)' \
&& ret=0
;;
(toggle-visible)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(get-visible)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(show-popup)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':widget_name -- The configured name of the widget:_default' \
&& ret=0
;;
(hide-popup)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-popup-visible)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':widget_name -- The configured name of the widget:_default' \
':visible:(true false)' \
&& ret=0
;;
(toggle-popup)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':widget_name -- The configured name of the widget:_default' \
&& ret=0
;;
(get-popup-visible)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(set-exclusive)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':exclusive:(true false)' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_ironbar__bar__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:ironbar-bar-help-command-$line[1]:"
        case $line[1] in
            (show)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hide)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(show-popup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hide-popup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-popup-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-popup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get-popup-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-exclusive)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(style)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_ironbar__style_commands" \
"*::: :->style" \
&& ret=0

    case $state in
    (style)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:ironbar-style-command-$line[1]:"
        case $line[1] in
            (load-css)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':path -- The path to the sheet:_files' \
&& ret=0
;;
(add-class)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':module_name -- The name of the module to target:_default' \
':name -- The class name to add:_default' \
&& ret=0
;;
(remove-class)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':module_name -- The name of the module to target:_default' \
':name -- The class name to remove:_default' \
&& ret=0
;;
(toggle-class)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':module_name -- The name of the module to target:_default' \
':name -- The class name to toggle:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_ironbar__style__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:ironbar-style-help-command-$line[1]:"
        case $line[1] in
            (load-css)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add-class)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove-class)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-class)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_ironbar__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:ironbar-help-command-$line[1]:"
        case $line[1] in
            (ping)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(inspect)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(reload)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(var)
_arguments "${_arguments_options[@]}" : \
":: :_ironbar__help__var_commands" \
"*::: :->var" \
&& ret=0

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

    case $state in
    (bar)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:ironbar-help-bar-command-$line[1]:"
        case $line[1] in
            (show)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hide)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(show-popup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hide-popup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-popup-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-popup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get-popup-visible)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-exclusive)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(style)
_arguments "${_arguments_options[@]}" : \
":: :_ironbar__help__style_commands" \
"*::: :->style" \
&& ret=0

    case $state in
    (style)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:ironbar-help-style-command-$line[1]:"
        case $line[1] in
            (load-css)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add-class)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove-class)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(toggle-class)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_ironbar_commands] )) ||
_ironbar_commands() {
    local commands; commands=(
'ping:Pong' \
'inspect:Open the GTK inspector' \
'reload:Reload the config' \
'var:Get and set reactive Ironvar values' \
'bar:Interact with a specific bar' \
'style:Load stylesheets and dynamically add/remove classes' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'ironbar commands' commands "$@"
}
(( $+functions[_ironbar__bar_commands] )) ||
_ironbar__bar_commands() {
    local commands; commands=(
'show:Force the bar to be shown, regardless of current visibility state' \
'hide:Force the bar to be hidden, regardless of current visibility state' \
'set-visible:Set the bar'\''s visibility state via an argument' \
'toggle-visible:Toggle the current visibility state between shown and hidden' \
'get-visible:Get the bar'\''s visibility state' \
'show-popup:Open a popup, regardless of current state. If opening this popup, and a different popup on the same bar is already open, the other is closed' \
'hide-popup:Close a popup, regardless of current state' \
'set-popup-visible:Set the popup'\''s visibility state via an argument. If opening this popup, and a different popup on the same bar is already open, the other is closed' \
'toggle-popup:Toggle a popup open/closed. If opening this popup, and a different popup on the same bar is already open, the other is closed' \
'get-popup-visible:Get the popup'\''s current visibility state' \
'set-exclusive:Set whether the bar reserves an exclusive zone' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'ironbar bar commands' commands "$@"
}
(( $+functions[_ironbar__bar__get-popup-visible_commands] )) ||
_ironbar__bar__get-popup-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar get-popup-visible commands' commands "$@"
}
(( $+functions[_ironbar__bar__get-visible_commands] )) ||
_ironbar__bar__get-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar get-visible commands' commands "$@"
}
(( $+functions[_ironbar__bar__help_commands] )) ||
_ironbar__bar__help_commands() {
    local commands; commands=(
'show:Force the bar to be shown, regardless of current visibility state' \
'hide:Force the bar to be hidden, regardless of current visibility state' \
'set-visible:Set the bar'\''s visibility state via an argument' \
'toggle-visible:Toggle the current visibility state between shown and hidden' \
'get-visible:Get the bar'\''s visibility state' \
'show-popup:Open a popup, regardless of current state. If opening this popup, and a different popup on the same bar is already open, the other is closed' \
'hide-popup:Close a popup, regardless of current state' \
'set-popup-visible:Set the popup'\''s visibility state via an argument. If opening this popup, and a different popup on the same bar is already open, the other is closed' \
'toggle-popup:Toggle a popup open/closed. If opening this popup, and a different popup on the same bar is already open, the other is closed' \
'get-popup-visible:Get the popup'\''s current visibility state' \
'set-exclusive:Set whether the bar reserves an exclusive zone' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'ironbar bar help commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__get-popup-visible_commands] )) ||
_ironbar__bar__help__get-popup-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help get-popup-visible commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__get-visible_commands] )) ||
_ironbar__bar__help__get-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help get-visible commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__help_commands] )) ||
_ironbar__bar__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help help commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__hide_commands] )) ||
_ironbar__bar__help__hide_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help hide commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__hide-popup_commands] )) ||
_ironbar__bar__help__hide-popup_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help hide-popup commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__set-exclusive_commands] )) ||
_ironbar__bar__help__set-exclusive_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help set-exclusive commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__set-popup-visible_commands] )) ||
_ironbar__bar__help__set-popup-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help set-popup-visible commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__set-visible_commands] )) ||
_ironbar__bar__help__set-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help set-visible commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__show_commands] )) ||
_ironbar__bar__help__show_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help show commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__show-popup_commands] )) ||
_ironbar__bar__help__show-popup_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help show-popup commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__toggle-popup_commands] )) ||
_ironbar__bar__help__toggle-popup_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help toggle-popup commands' commands "$@"
}
(( $+functions[_ironbar__bar__help__toggle-visible_commands] )) ||
_ironbar__bar__help__toggle-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar help toggle-visible commands' commands "$@"
}
(( $+functions[_ironbar__bar__hide_commands] )) ||
_ironbar__bar__hide_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar hide commands' commands "$@"
}
(( $+functions[_ironbar__bar__hide-popup_commands] )) ||
_ironbar__bar__hide-popup_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar hide-popup commands' commands "$@"
}
(( $+functions[_ironbar__bar__set-exclusive_commands] )) ||
_ironbar__bar__set-exclusive_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar set-exclusive commands' commands "$@"
}
(( $+functions[_ironbar__bar__set-popup-visible_commands] )) ||
_ironbar__bar__set-popup-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar set-popup-visible commands' commands "$@"
}
(( $+functions[_ironbar__bar__set-visible_commands] )) ||
_ironbar__bar__set-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar set-visible commands' commands "$@"
}
(( $+functions[_ironbar__bar__show_commands] )) ||
_ironbar__bar__show_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar show commands' commands "$@"
}
(( $+functions[_ironbar__bar__show-popup_commands] )) ||
_ironbar__bar__show-popup_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar show-popup commands' commands "$@"
}
(( $+functions[_ironbar__bar__toggle-popup_commands] )) ||
_ironbar__bar__toggle-popup_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar toggle-popup commands' commands "$@"
}
(( $+functions[_ironbar__bar__toggle-visible_commands] )) ||
_ironbar__bar__toggle-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar bar toggle-visible commands' commands "$@"
}
(( $+functions[_ironbar__help_commands] )) ||
_ironbar__help_commands() {
    local commands; commands=(
'ping:Pong' \
'inspect:Open the GTK inspector' \
'reload:Reload the config' \
'var:Get and set reactive Ironvar values' \
'bar:Interact with a specific bar' \
'style:Load stylesheets and dynamically add/remove classes' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'ironbar help commands' commands "$@"
}
(( $+functions[_ironbar__help__bar_commands] )) ||
_ironbar__help__bar_commands() {
    local commands; commands=(
'show:Force the bar to be shown, regardless of current visibility state' \
'hide:Force the bar to be hidden, regardless of current visibility state' \
'set-visible:Set the bar'\''s visibility state via an argument' \
'toggle-visible:Toggle the current visibility state between shown and hidden' \
'get-visible:Get the bar'\''s visibility state' \
'show-popup:Open a popup, regardless of current state. If opening this popup, and a different popup on the same bar is already open, the other is closed' \
'hide-popup:Close a popup, regardless of current state' \
'set-popup-visible:Set the popup'\''s visibility state via an argument. If opening this popup, and a different popup on the same bar is already open, the other is closed' \
'toggle-popup:Toggle a popup open/closed. If opening this popup, and a different popup on the same bar is already open, the other is closed' \
'get-popup-visible:Get the popup'\''s current visibility state' \
'set-exclusive:Set whether the bar reserves an exclusive zone' \
    )
    _describe -t commands 'ironbar help bar commands' commands "$@"
}
(( $+functions[_ironbar__help__bar__get-popup-visible_commands] )) ||
_ironbar__help__bar__get-popup-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help bar get-popup-visible commands' commands "$@"
}
(( $+functions[_ironbar__help__bar__get-visible_commands] )) ||
_ironbar__help__bar__get-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help bar get-visible commands' commands "$@"
}
(( $+functions[_ironbar__help__bar__hide_commands] )) ||
_ironbar__help__bar__hide_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help bar hide commands' commands "$@"
}
(( $+functions[_ironbar__help__bar__hide-popup_commands] )) ||
_ironbar__help__bar__hide-popup_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help bar hide-popup commands' commands "$@"
}
(( $+functions[_ironbar__help__bar__set-exclusive_commands] )) ||
_ironbar__help__bar__set-exclusive_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help bar set-exclusive commands' commands "$@"
}
(( $+functions[_ironbar__help__bar__set-popup-visible_commands] )) ||
_ironbar__help__bar__set-popup-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help bar set-popup-visible commands' commands "$@"
}
(( $+functions[_ironbar__help__bar__set-visible_commands] )) ||
_ironbar__help__bar__set-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help bar set-visible commands' commands "$@"
}
(( $+functions[_ironbar__help__bar__show_commands] )) ||
_ironbar__help__bar__show_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help bar show commands' commands "$@"
}
(( $+functions[_ironbar__help__bar__show-popup_commands] )) ||
_ironbar__help__bar__show-popup_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help bar show-popup commands' commands "$@"
}
(( $+functions[_ironbar__help__bar__toggle-popup_commands] )) ||
_ironbar__help__bar__toggle-popup_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help bar toggle-popup commands' commands "$@"
}
(( $+functions[_ironbar__help__bar__toggle-visible_commands] )) ||
_ironbar__help__bar__toggle-visible_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help bar toggle-visible commands' commands "$@"
}
(( $+functions[_ironbar__help__help_commands] )) ||
_ironbar__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help help commands' commands "$@"
}
(( $+functions[_ironbar__help__inspect_commands] )) ||
_ironbar__help__inspect_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help inspect commands' commands "$@"
}
(( $+functions[_ironbar__help__ping_commands] )) ||
_ironbar__help__ping_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help ping commands' commands "$@"
}
(( $+functions[_ironbar__help__reload_commands] )) ||
_ironbar__help__reload_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help reload commands' commands "$@"
}
(( $+functions[_ironbar__help__style_commands] )) ||
_ironbar__help__style_commands() {
    local commands; commands=(
'load-css:Load an additional CSS stylesheet. The sheet is automatically hot-reloaded' \
'add-class:Add a CSS class \`name\` to all modules matching \`module_name\`' \
'remove-class:Remove a CSS class \`name\` from all modules matching \`module_name\`' \
'toggle-class:Toggle a CSS class \`name\` on all modules matching \`module_name\`' \
    )
    _describe -t commands 'ironbar help style commands' commands "$@"
}
(( $+functions[_ironbar__help__style__add-class_commands] )) ||
_ironbar__help__style__add-class_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help style add-class commands' commands "$@"
}
(( $+functions[_ironbar__help__style__load-css_commands] )) ||
_ironbar__help__style__load-css_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help style load-css commands' commands "$@"
}
(( $+functions[_ironbar__help__style__remove-class_commands] )) ||
_ironbar__help__style__remove-class_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help style remove-class commands' commands "$@"
}
(( $+functions[_ironbar__help__style__toggle-class_commands] )) ||
_ironbar__help__style__toggle-class_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help style toggle-class commands' commands "$@"
}
(( $+functions[_ironbar__help__var_commands] )) ||
_ironbar__help__var_commands() {
    local commands; commands=(
'set:Set an \`ironvar\` value. This creates it if it does not already exist, and updates it if it does. Any references to this variable are automatically and immediately updated. Keys and values can be any valid UTF-8 string' \
'get:Get the current value of an \`ironvar\`' \
'list:Gets the current value of all \`ironvar\`s' \
    )
    _describe -t commands 'ironbar help var commands' commands "$@"
}
(( $+functions[_ironbar__help__var__get_commands] )) ||
_ironbar__help__var__get_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help var get commands' commands "$@"
}
(( $+functions[_ironbar__help__var__list_commands] )) ||
_ironbar__help__var__list_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help var list commands' commands "$@"
}
(( $+functions[_ironbar__help__var__set_commands] )) ||
_ironbar__help__var__set_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar help var set commands' commands "$@"
}
(( $+functions[_ironbar__inspect_commands] )) ||
_ironbar__inspect_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar inspect commands' commands "$@"
}
(( $+functions[_ironbar__ping_commands] )) ||
_ironbar__ping_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar ping commands' commands "$@"
}
(( $+functions[_ironbar__reload_commands] )) ||
_ironbar__reload_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar reload commands' commands "$@"
}
(( $+functions[_ironbar__style_commands] )) ||
_ironbar__style_commands() {
    local commands; commands=(
'load-css:Load an additional CSS stylesheet. The sheet is automatically hot-reloaded' \
'add-class:Add a CSS class \`name\` to all modules matching \`module_name\`' \
'remove-class:Remove a CSS class \`name\` from all modules matching \`module_name\`' \
'toggle-class:Toggle a CSS class \`name\` on all modules matching \`module_name\`' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'ironbar style commands' commands "$@"
}
(( $+functions[_ironbar__style__add-class_commands] )) ||
_ironbar__style__add-class_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar style add-class commands' commands "$@"
}
(( $+functions[_ironbar__style__help_commands] )) ||
_ironbar__style__help_commands() {
    local commands; commands=(
'load-css:Load an additional CSS stylesheet. The sheet is automatically hot-reloaded' \
'add-class:Add a CSS class \`name\` to all modules matching \`module_name\`' \
'remove-class:Remove a CSS class \`name\` from all modules matching \`module_name\`' \
'toggle-class:Toggle a CSS class \`name\` on all modules matching \`module_name\`' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'ironbar style help commands' commands "$@"
}
(( $+functions[_ironbar__style__help__add-class_commands] )) ||
_ironbar__style__help__add-class_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar style help add-class commands' commands "$@"
}
(( $+functions[_ironbar__style__help__help_commands] )) ||
_ironbar__style__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar style help help commands' commands "$@"
}
(( $+functions[_ironbar__style__help__load-css_commands] )) ||
_ironbar__style__help__load-css_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar style help load-css commands' commands "$@"
}
(( $+functions[_ironbar__style__help__remove-class_commands] )) ||
_ironbar__style__help__remove-class_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar style help remove-class commands' commands "$@"
}
(( $+functions[_ironbar__style__help__toggle-class_commands] )) ||
_ironbar__style__help__toggle-class_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar style help toggle-class commands' commands "$@"
}
(( $+functions[_ironbar__style__load-css_commands] )) ||
_ironbar__style__load-css_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar style load-css commands' commands "$@"
}
(( $+functions[_ironbar__style__remove-class_commands] )) ||
_ironbar__style__remove-class_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar style remove-class commands' commands "$@"
}
(( $+functions[_ironbar__style__toggle-class_commands] )) ||
_ironbar__style__toggle-class_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar style toggle-class commands' commands "$@"
}
(( $+functions[_ironbar__var_commands] )) ||
_ironbar__var_commands() {
    local commands; commands=(
'set:Set an \`ironvar\` value. This creates it if it does not already exist, and updates it if it does. Any references to this variable are automatically and immediately updated. Keys and values can be any valid UTF-8 string' \
'get:Get the current value of an \`ironvar\`' \
'list:Gets the current value of all \`ironvar\`s' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'ironbar var commands' commands "$@"
}
(( $+functions[_ironbar__var__get_commands] )) ||
_ironbar__var__get_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar var get commands' commands "$@"
}
(( $+functions[_ironbar__var__help_commands] )) ||
_ironbar__var__help_commands() {
    local commands; commands=(
'set:Set an \`ironvar\` value. This creates it if it does not already exist, and updates it if it does. Any references to this variable are automatically and immediately updated. Keys and values can be any valid UTF-8 string' \
'get:Get the current value of an \`ironvar\`' \
'list:Gets the current value of all \`ironvar\`s' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'ironbar var help commands' commands "$@"
}
(( $+functions[_ironbar__var__help__get_commands] )) ||
_ironbar__var__help__get_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar var help get commands' commands "$@"
}
(( $+functions[_ironbar__var__help__help_commands] )) ||
_ironbar__var__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar var help help commands' commands "$@"
}
(( $+functions[_ironbar__var__help__list_commands] )) ||
_ironbar__var__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar var help list commands' commands "$@"
}
(( $+functions[_ironbar__var__help__set_commands] )) ||
_ironbar__var__help__set_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar var help set commands' commands "$@"
}
(( $+functions[_ironbar__var__list_commands] )) ||
_ironbar__var__list_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar var list commands' commands "$@"
}
(( $+functions[_ironbar__var__set_commands] )) ||
_ironbar__var__set_commands() {
    local commands; commands=()
    _describe -t commands 'ironbar var set commands' commands "$@"
}

if [ "$funcstack[1]" = "_ironbar" ]; then
    _ironbar "$@"
else
    compdef _ironbar ironbar
fi
