#compdef bootc

autoload -U is-at-least

_bootc() {
    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 (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_bootc_commands" \
"*::: :->bootc" \
&& ret=0
    case $state in
    (bootc)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-command-$line[1]:"
        case $line[1] in
            (upgrade)
_arguments "${_arguments_options[@]}" : \
'(--check)--soft-reboot=[Configure soft reboot behavior]:SOFT_REBOOT:((required\:"Require a soft reboot; fail if not possible"
auto\:"Automatically use soft reboot if possible, otherwise use regular reboot"))' \
'--progress-fd=[File descriptor number which must refer to an open pipe]:PROGRESS_FD:_default' \
'--quiet[Don'\''t display progress]' \
'(--apply)--check[Check if an update is available without applying it]' \
'(--check)--apply[Restart or reboot into the new target image]' \
'(--check --apply)--download-only[Download and stage the update without applying it]' \
'(--check --download-only)--from-downloaded[Apply a staged deployment that was previously downloaded with --download-only]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(switch)
_arguments "${_arguments_options[@]}" : \
'--soft-reboot=[Configure soft reboot behavior]:SOFT_REBOOT:((required\:"Require a soft reboot; fail if not possible"
auto\:"Automatically use soft reboot if possible, otherwise use regular reboot"))' \
'--transport=[The transport; e.g. registry, oci, oci-archive, docker-daemon, containers-storage.  Defaults to \`registry\`]:TRANSPORT:_default' \
'--progress-fd=[File descriptor number which must refer to an open pipe]:PROGRESS_FD:_default' \
'--quiet[Don'\''t display progress]' \
'--apply[Restart or reboot into the new target image]' \
'--no-signature-verification[This argument is deprecated and does nothing]' \
'--enforce-container-sigpolicy[This is the inverse of the previous \`--target-no-signature-verification\` (which is now a no-op)]' \
'--mutate-in-place[Don'\''t create a new deployment, but directly mutate the booted state. This is hidden because it'\''s not something we generally expect to be done, but this can be used in e.g. Anaconda %post to fixup]' \
'--retain[Retain reference to currently booted image]' \
'--experimental-unified-storage[Use unified storage path to pull images (experimental)]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':target -- Target image to use for the next boot:_default' \
&& ret=0
;;
(rollback)
_arguments "${_arguments_options[@]}" : \
'--soft-reboot=[Configure soft reboot behavior]:SOFT_REBOOT:((required\:"Require a soft reboot; fail if not possible"
auto\:"Automatically use soft reboot if possible, otherwise use regular reboot"))' \
'--apply[Restart or reboot into the rollback image]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
'-f+[Use filename to edit system specification]:FILENAME:_default' \
'--filename=[Use filename to edit system specification]:FILENAME:_default' \
'--quiet[Don'\''t display progress]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
'--format=[The output format]:FORMAT:((humanreadable\:"Output in Human Readable format"
yaml\:"Output in YAML format"
json\:"Output in JSON format"))' \
'--format-version=[The desired format version. There is currently one supported version, which is exposed as both \`0\` and \`1\`. Pass this option to explicitly request it; it is possible that another future version 2 or newer will be supported in the future]:FORMAT_VERSION:_default' \
'--json[Output in JSON format]' \
'--booted[Only display status for the booted deployment]' \
'-v[Include additional fields in human readable format]' \
'--verbose[Include additional fields in human readable format]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(usr-overlay)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(install)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_bootc__install_commands" \
"*::: :->install" \
&& ret=0

    case $state in
    (install)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-install-command-$line[1]:"
        case $line[1] in
            (to-disk)
_arguments "${_arguments_options[@]}" : \
'--block-setup=[Target root block device setup]:BLOCK_SETUP:(direct tpm2-luks)' \
'--filesystem=[Target root filesystem type]:FILESYSTEM:(xfs ext4 btrfs)' \
'--root-size=[Size of the root partition (default specifier\: M).  Allowed specifiers\: M (mebibytes), G (gibibytes), T (tebibytes)]:ROOT_SIZE:_default' \
'--source-imgref=[Install the system from an explicitly given source]:SOURCE_IMGREF:_default' \
'--target-transport=[The transport; e.g. oci, oci-archive, containers-storage.  Defaults to \`registry\`]:TARGET_TRANSPORT:_default' \
'--target-imgref=[Specify the image to fetch for subsequent updates]:TARGET_IMGREF:_default' \
'*--karg=[Add a kernel argument.  This option can be provided multiple times]:KARG:_default' \
'--root-ssh-authorized-keys=[The path to an \`authorized_keys\` that will be injected into the \`root\` account]:ROOT_SSH_AUTHORIZED_KEYS:_default' \
'--bound-images=[How should logically bound images be retrieved]:BOUND_IMAGES:((stored\:"Bound images must exist in the source'\''s root container storage (default)"
pull\:"Bound images will be pulled and stored directly in the target'\''s bootc container storage"))' \
'--stateroot=[The stateroot name to use. Defaults to \`default\`]:STATEROOT:_default' \
'--bootloader=[The bootloader to use]:BOOTLOADER:((grub\:"Use Grub as the bootloader"
systemd\:"Use SystemdBoot as the bootloader"
none\:"Don'\''t use a bootloader managed by bootc"))' \
'*--uki-addon=[Name of the UKI addons to install without the ".efi.addon" suffix. This option can be provided multiple times if multiple addons are to be installed]:UKI_ADDON:_default' \
'--wipe[Automatically wipe all existing data on device]' \
'--target-no-signature-verification[This command line argument does nothing; it exists for compatibility]' \
'--enforce-container-sigpolicy[This is the inverse of the previous \`--target-no-signature-verification\` (which is now a no-op).  Enabling this option enforces that \`/etc/containers/policy.json\` includes a default policy which requires signatures]' \
'--run-fetch-check[Verify the image can be fetched from the bootc image. Updates may fail when the installation host is authenticated with the registry but the pull secret is not in the bootc image]' \
'--skip-fetch-check[Verify the image can be fetched from the bootc image. Updates may fail when the installation host is authenticated with the registry but the pull secret is not in the bootc image]' \
'--experimental-unified-storage[Use unified storage path to pull images (experimental)]' \
'--disable-selinux[Disable SELinux in the target (installed) system]' \
'--generic-image[Perform configuration changes suitable for a "generic" disk image. At the moment\:]' \
'--bootupd-skip-boot-uuid[Don'\''t pass --write-uuid to bootupd during bootloader installation]' \
'--via-loopback[Instead of targeting a block device, write to a file via loopback]' \
'--composefs-backend[If true, composefs backend is used, else ostree backend is used]' \
'--insecure[Make fs-verity validation optional in case the filesystem doesn'\''t support it]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':device -- Target block device for installation.  The entire device will be wiped:_default' \
&& ret=0
;;
(to-filesystem)
_arguments "${_arguments_options[@]}" : \
'--root-mount-spec=[Source device specification for the root filesystem.  For example, \`UUID=2e9f4241-229b-4202-8429-62d2302382e1\`. If not provided, the UUID of the target filesystem will be used. This option is provided as some use cases might prefer to mount by a label instead via e.g. \`LABEL=rootfs\`]:ROOT_MOUNT_SPEC:_default' \
'--boot-mount-spec=[Mount specification for the /boot filesystem]:BOOT_MOUNT_SPEC:_default' \
'--replace=[Initialize the system in-place; at the moment, only one mode for this is implemented. In the future, it may also be supported to set up an explicit "dual boot" system]:REPLACE:((wipe\:"Completely wipe the contents of the target filesystem.  This cannot be done if the target filesystem is the one the system is booted from"
alongside\:"This is a destructive operation in the sense that the bootloader state will have its contents wiped and replaced.  However, the running system (and all files) will remain in place until reboot"))' \
'--source-imgref=[Install the system from an explicitly given source]:SOURCE_IMGREF:_default' \
'--target-transport=[The transport; e.g. oci, oci-archive, containers-storage.  Defaults to \`registry\`]:TARGET_TRANSPORT:_default' \
'--target-imgref=[Specify the image to fetch for subsequent updates]:TARGET_IMGREF:_default' \
'*--karg=[Add a kernel argument.  This option can be provided multiple times]:KARG:_default' \
'--root-ssh-authorized-keys=[The path to an \`authorized_keys\` that will be injected into the \`root\` account]:ROOT_SSH_AUTHORIZED_KEYS:_default' \
'--bound-images=[How should logically bound images be retrieved]:BOUND_IMAGES:((stored\:"Bound images must exist in the source'\''s root container storage (default)"
pull\:"Bound images will be pulled and stored directly in the target'\''s bootc container storage"))' \
'--stateroot=[The stateroot name to use. Defaults to \`default\`]:STATEROOT:_default' \
'--bootloader=[The bootloader to use]:BOOTLOADER:((grub\:"Use Grub as the bootloader"
systemd\:"Use SystemdBoot as the bootloader"
none\:"Don'\''t use a bootloader managed by bootc"))' \
'*--uki-addon=[Name of the UKI addons to install without the ".efi.addon" suffix. This option can be provided multiple times if multiple addons are to be installed]:UKI_ADDON:_default' \
'--acknowledge-destructive[If the target is the running system'\''s root filesystem, this will skip any warnings]' \
'--skip-finalize[The default mode is to "finalize" the target filesystem by invoking \`fstrim\` and similar operations, and finally mounting it readonly.  This option skips those operations.  It is then the responsibility of the invoking code to perform those operations]' \
'--target-no-signature-verification[This command line argument does nothing; it exists for compatibility]' \
'--enforce-container-sigpolicy[This is the inverse of the previous \`--target-no-signature-verification\` (which is now a no-op).  Enabling this option enforces that \`/etc/containers/policy.json\` includes a default policy which requires signatures]' \
'--run-fetch-check[Verify the image can be fetched from the bootc image. Updates may fail when the installation host is authenticated with the registry but the pull secret is not in the bootc image]' \
'--skip-fetch-check[Verify the image can be fetched from the bootc image. Updates may fail when the installation host is authenticated with the registry but the pull secret is not in the bootc image]' \
'--experimental-unified-storage[Use unified storage path to pull images (experimental)]' \
'--disable-selinux[Disable SELinux in the target (installed) system]' \
'--generic-image[Perform configuration changes suitable for a "generic" disk image. At the moment\:]' \
'--bootupd-skip-boot-uuid[Don'\''t pass --write-uuid to bootupd during bootloader installation]' \
'--composefs-backend[If true, composefs backend is used, else ostree backend is used]' \
'--insecure[Make fs-verity validation optional in case the filesystem doesn'\''t support it]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':root_path -- Path to the mounted root filesystem:_default' \
&& ret=0
;;
(to-existing-root)
_arguments "${_arguments_options[@]}" : \
'--replace=[Configure how existing data is treated]:REPLACE:((wipe\:"Completely wipe the contents of the target filesystem.  This cannot be done if the target filesystem is the one the system is booted from"
alongside\:"This is a destructive operation in the sense that the bootloader state will have its contents wiped and replaced.  However, the running system (and all files) will remain in place until reboot"))' \
'--source-imgref=[Install the system from an explicitly given source]:SOURCE_IMGREF:_default' \
'--target-transport=[The transport; e.g. oci, oci-archive, containers-storage.  Defaults to \`registry\`]:TARGET_TRANSPORT:_default' \
'--target-imgref=[Specify the image to fetch for subsequent updates]:TARGET_IMGREF:_default' \
'*--karg=[Add a kernel argument.  This option can be provided multiple times]:KARG:_default' \
'--root-ssh-authorized-keys=[The path to an \`authorized_keys\` that will be injected into the \`root\` account]:ROOT_SSH_AUTHORIZED_KEYS:_default' \
'--bound-images=[How should logically bound images be retrieved]:BOUND_IMAGES:((stored\:"Bound images must exist in the source'\''s root container storage (default)"
pull\:"Bound images will be pulled and stored directly in the target'\''s bootc container storage"))' \
'--stateroot=[The stateroot name to use. Defaults to \`default\`]:STATEROOT:_default' \
'--bootloader=[The bootloader to use]:BOOTLOADER:((grub\:"Use Grub as the bootloader"
systemd\:"Use SystemdBoot as the bootloader"
none\:"Don'\''t use a bootloader managed by bootc"))' \
'*--uki-addon=[Name of the UKI addons to install without the ".efi.addon" suffix. This option can be provided multiple times if multiple addons are to be installed]:UKI_ADDON:_default' \
'--target-no-signature-verification[This command line argument does nothing; it exists for compatibility]' \
'--enforce-container-sigpolicy[This is the inverse of the previous \`--target-no-signature-verification\` (which is now a no-op).  Enabling this option enforces that \`/etc/containers/policy.json\` includes a default policy which requires signatures]' \
'--run-fetch-check[Verify the image can be fetched from the bootc image. Updates may fail when the installation host is authenticated with the registry but the pull secret is not in the bootc image]' \
'--skip-fetch-check[Verify the image can be fetched from the bootc image. Updates may fail when the installation host is authenticated with the registry but the pull secret is not in the bootc image]' \
'--experimental-unified-storage[Use unified storage path to pull images (experimental)]' \
'--disable-selinux[Disable SELinux in the target (installed) system]' \
'--generic-image[Perform configuration changes suitable for a "generic" disk image. At the moment\:]' \
'--bootupd-skip-boot-uuid[Don'\''t pass --write-uuid to bootupd during bootloader installation]' \
'--acknowledge-destructive[Accept that this is a destructive action and skip a warning timer]' \
'--cleanup[Add the bootc-destructive-cleanup systemd service to delete files from the previous install on first boot]' \
'--composefs-backend[If true, composefs backend is used, else ostree backend is used]' \
'--insecure[Make fs-verity validation optional in case the filesystem doesn'\''t support it]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::root_path -- Path to the mounted root; this is now not necessary to provide. Historically it was necessary to ensure the host rootfs was mounted at here via e.g. `-v /\:/target`:_default' \
&& ret=0
;;
(reset)
_arguments "${_arguments_options[@]}" : \
'--source-imgref=[Install the system from an explicitly given source]:SOURCE_IMGREF:_default' \
'--target-transport=[The transport; e.g. oci, oci-archive, containers-storage.  Defaults to \`registry\`]:TARGET_TRANSPORT:_default' \
'--target-imgref=[Specify the image to fetch for subsequent updates]:TARGET_IMGREF:_default' \
'--stateroot=[Name of the target stateroot. If not provided, one will be automatically generated of the form \`s<year>-<serial>\` where \`<serial>\` starts at zero and increments automatically]:STATEROOT:_default' \
'--progress-fd=[File descriptor number which must refer to an open pipe]:PROGRESS_FD:_default' \
'*--karg=[Add a kernel argument.  This option can be provided multiple times]:KARG:_default' \
'--experimental[Acknowledge that this command is experimental]' \
'--target-no-signature-verification[This command line argument does nothing; it exists for compatibility]' \
'--enforce-container-sigpolicy[This is the inverse of the previous \`--target-no-signature-verification\` (which is now a no-op).  Enabling this option enforces that \`/etc/containers/policy.json\` includes a default policy which requires signatures]' \
'--run-fetch-check[Verify the image can be fetched from the bootc image. Updates may fail when the installation host is authenticated with the registry but the pull secret is not in the bootc image]' \
'--skip-fetch-check[Verify the image can be fetched from the bootc image. Updates may fail when the installation host is authenticated with the registry but the pull secret is not in the bootc image]' \
'--experimental-unified-storage[Use unified storage path to pull images (experimental)]' \
'--quiet[Don'\''t display progress]' \
'--apply[Restart or reboot into the new target image]' \
'--no-root-kargs[Skip inheriting any automatically discovered root file system kernel arguments]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(finalize)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':root_path -- Path to the mounted root filesystem:_default' \
&& ret=0
;;
(ensure-completion)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(print-configuration)
_arguments "${_arguments_options[@]}" : \
'--all[Print all configuration]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__install__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-install-help-command-$line[1]:"
        case $line[1] in
            (to-disk)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(to-filesystem)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(to-existing-root)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(reset)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(finalize)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ensure-completion)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(print-configuration)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(container)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_bootc__container_commands" \
"*::: :->container" \
&& ret=0

    case $state in
    (container)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-container-command-$line[1]:"
        case $line[1] in
            (inspect)
_arguments "${_arguments_options[@]}" : \
'--rootfs=[Operate on the provided rootfs]:ROOTFS:_default' \
'(--json)--format=[The output format]:FORMAT:((humanreadable\:"Output in Human Readable format"
yaml\:"Output in YAML format"
json\:"Output in JSON format"))' \
'--json[Output in JSON format]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(lint)
_arguments "${_arguments_options[@]}" : \
'--rootfs=[Operate on the provided rootfs]:ROOTFS:_default' \
'*--skip=[Skip checking the targeted lints, by name. Use \`--list\` to discover the set of available lints]:SKIP:_default' \
'--fatal-warnings[Make warnings fatal]' \
'--list[Instead of executing the lints, just print all available lints. At the current time, this will output in YAML format because it'\''s reasonably human friendly. However, there is no commitment to maintaining this exact format; do not parse it via code or scripts]' \
'--no-truncate[Don'\''t truncate the output. By default, only a limited number of entries are shown for each lint, followed by a count of remaining entries]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(compute-composefs-digest)
_arguments "${_arguments_options[@]}" : \
'--write-dumpfile-to=[Additionally generate a dumpfile written to the target path]:WRITE_DUMPFILE_TO:_default' \
'-h[Print help]' \
'--help[Print help]' \
'::path -- Path to the filesystem root:_default' \
&& ret=0
;;
(compute-composefs-digest-from-storage)
_arguments "${_arguments_options[@]}" : \
'--write-dumpfile-to=[Additionally generate a dumpfile written to the target path]:WRITE_DUMPFILE_TO:_default' \
'-h[Print help]' \
'--help[Print help]' \
'::image -- Identifier for image; if not provided, the running image will be used:_default' \
&& ret=0
;;
(ukify)
_arguments "${_arguments_options[@]}" : \
'--rootfs=[Operate on the provided rootfs]:ROOTFS:_default' \
'*--karg=[Additional kernel arguments to append to the cmdline. Can be specified multiple times. This is a temporary workaround and will be removed]:KARGS:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'*::args -- Additional arguments to pass to ukify (after `--`):_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__container__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-container-help-command-$line[1]:"
        case $line[1] in
            (inspect)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(lint)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(compute-composefs-digest)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(compute-composefs-digest-from-storage)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ukify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(image)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_bootc__image_commands" \
"*::: :->image" \
&& ret=0

    case $state in
    (image)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-image-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'--type=[Type of image to list]:LIST_TYPE:((all\:"List all images"
logical\:"List only logically bound images"
host\:"List only host images"))' \
'--format=[]:LIST_FORMAT:((table\:"Human readable table format"
json\:"JSON format"))' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(copy-to-storage)
_arguments "${_arguments_options[@]}" : \
'--source=[The source image; if not specified, the booted image will be used]:SOURCE:_default' \
'--target=[The destination; if not specified, then the default is to push to \`containers-storage\:localhost/bootc\`; this will make the image accessible via e.g. \`podman run localhost/bootc\` and for builds]:TARGET:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(set-unified)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(pull-from-default-storage)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':image -- The image to pull:_default' \
&& ret=0
;;
(cmd)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_bootc__image__cmd_commands" \
"*::: :->cmd" \
&& ret=0

    case $state in
    (cmd)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-image-cmd-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'*::args:_default' \
&& ret=0
;;
(build)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'*::args:_default' \
&& ret=0
;;
(pull)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'*::args:_default' \
&& ret=0
;;
(push)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'*::args:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__image__cmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-image-cmd-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(build)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pull)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(push)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__image__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-image-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(copy-to-storage)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-unified)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pull-from-default-storage)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cmd)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__image__help__cmd_commands" \
"*::: :->cmd" \
&& ret=0

    case $state in
    (cmd)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-image-help-cmd-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(build)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pull)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(push)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(exec-in-host-mount-namespace)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'*::args:_default' \
&& ret=0
;;
(state)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_bootc__state_commands" \
"*::: :->state" \
&& ret=0

    case $state in
    (state)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-state-command-$line[1]:"
        case $line[1] in
            (wipe-ostree)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__state__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-state-help-command-$line[1]:"
        case $line[1] in
            (wipe-ostree)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(internals)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_bootc__internals_commands" \
"*::: :->internals" \
&& ret=0

    case $state in
    (internals)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-internals-command-$line[1]:"
        case $line[1] in
            (systemd-generator)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':normal_dir:_default' \
'::early_dir:_default' \
'::late_dir:_default' \
&& ret=0
;;
(fixup-etc-fstab)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(print-json-schema)
_arguments "${_arguments_options[@]}" : \
'--of=[]:OF:(host progress)' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(fsverity)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_bootc__internals__fsverity_commands" \
"*::: :->fsverity" \
&& ret=0

    case $state in
    (fsverity)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-internals-fsverity-command-$line[1]:"
        case $line[1] in
            (measure)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':path -- Path to file:_default' \
&& ret=0
;;
(enable)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':path -- Ptah to file:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__internals__fsverity__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-internals-fsverity-help-command-$line[1]:"
        case $line[1] in
            (measure)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(enable)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(fsck)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(cleanup)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(relabel)
_arguments "${_arguments_options[@]}" : \
'--as-path=[Relabel using this path as root]:AS_PATH:_default' \
'-h[Print help]' \
'--help[Print help]' \
':path -- Relabel this path:_default' \
&& ret=0
;;
(ostree-ext)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'*::args:_default' \
&& ret=0
;;
(cfs)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'*::args:_default' \
&& ret=0
;;
(ostree-container)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'*::args:_default' \
&& ret=0
;;
(test-composefs)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(loopback-cleanup-helper)
_arguments "${_arguments_options[@]}" : \
'--device=[Device path to clean up]:DEVICE:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(allocate-cleanup-loopback)
_arguments "${_arguments_options[@]}" : \
'--file-path=[File path to create loopback device for]:FILE_PATH:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(bootc-install-completion)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':sysroot -- Path to the sysroot:_default' \
':stateroot:_default' \
&& ret=0
;;
(reboot)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(dir-diff)
_arguments "${_arguments_options[@]}" : \
'--merge[Whether to perform the three way merge or not]' \
'-h[Print help]' \
'--help[Print help]' \
':pristine_etc -- Directory path to the pristine_etc:_default' \
':current_etc -- Directory path to the current_etc:_default' \
':new_etc -- Directory path to the new_etc:_default' \
&& ret=0
;;
(prep-soft-reboot)
_arguments "${_arguments_options[@]}" : \
'(--reset)--reboot[]' \
'(--reboot)--reset[]' \
'-h[Print help]' \
'--help[Print help]' \
'::deployment:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__internals__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-internals-help-command-$line[1]:"
        case $line[1] in
            (systemd-generator)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(fixup-etc-fstab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(print-json-schema)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(fsverity)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__internals__help__fsverity_commands" \
"*::: :->fsverity" \
&& ret=0

    case $state in
    (fsverity)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-internals-help-fsverity-command-$line[1]:"
        case $line[1] in
            (measure)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(enable)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(fsck)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cleanup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(relabel)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ostree-ext)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cfs)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ostree-container)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(test-composefs)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(loopback-cleanup-helper)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(allocate-cleanup-loopback)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(bootc-install-completion)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(reboot)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dir-diff)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(prep-soft-reboot)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(composefs-finalize-staged)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(config-diff)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(completion)
_arguments "${_arguments_options[@]}" : \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':shell -- Shell type to generate (bash, zsh, fish):(bash elvish fish powershell zsh)' \
&& ret=0
;;
(delete-deployment)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':depl_id:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-help-command-$line[1]:"
        case $line[1] in
            (upgrade)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(switch)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rollback)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(usr-overlay)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(install)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__help__install_commands" \
"*::: :->install" \
&& ret=0

    case $state in
    (install)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-help-install-command-$line[1]:"
        case $line[1] in
            (to-disk)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(to-filesystem)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(to-existing-root)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(reset)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(finalize)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ensure-completion)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(print-configuration)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(container)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__help__container_commands" \
"*::: :->container" \
&& ret=0

    case $state in
    (container)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-help-container-command-$line[1]:"
        case $line[1] in
            (inspect)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(lint)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(compute-composefs-digest)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(compute-composefs-digest-from-storage)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ukify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(image)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__help__image_commands" \
"*::: :->image" \
&& ret=0

    case $state in
    (image)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-help-image-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(copy-to-storage)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(set-unified)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pull-from-default-storage)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cmd)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__help__image__cmd_commands" \
"*::: :->cmd" \
&& ret=0

    case $state in
    (cmd)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-help-image-cmd-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(build)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pull)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(push)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(exec-in-host-mount-namespace)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(state)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__help__state_commands" \
"*::: :->state" \
&& ret=0

    case $state in
    (state)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-help-state-command-$line[1]:"
        case $line[1] in
            (wipe-ostree)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(internals)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__help__internals_commands" \
"*::: :->internals" \
&& ret=0

    case $state in
    (internals)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-help-internals-command-$line[1]:"
        case $line[1] in
            (systemd-generator)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(fixup-etc-fstab)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(print-json-schema)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(fsverity)
_arguments "${_arguments_options[@]}" : \
":: :_bootc__help__internals__fsverity_commands" \
"*::: :->fsverity" \
&& ret=0

    case $state in
    (fsverity)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bootc-help-internals-fsverity-command-$line[1]:"
        case $line[1] in
            (measure)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(enable)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(fsck)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cleanup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(relabel)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ostree-ext)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cfs)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ostree-container)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(test-composefs)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(loopback-cleanup-helper)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(allocate-cleanup-loopback)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(bootc-install-completion)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(reboot)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dir-diff)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(prep-soft-reboot)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(composefs-finalize-staged)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(config-diff)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(completion)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete-deployment)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_bootc_commands] )) ||
_bootc_commands() {
    local commands; commands=(
'upgrade:Download and queue an updated container image to apply' \
'switch:Target a new container image reference to boot' \
'rollback:Change the bootloader entry ordering; the deployment under \`rollback\` will be queued for the next boot, and the current will become rollback.  If there is a \`staged\` entry (an unapplied, queued upgrade) then it will be discarded' \
'edit:Apply full changes to the host specification' \
'status:Display status' \
'usr-overlay:Add a transient writable overlayfs on \`/usr\`' \
'install:Install the running container to a target' \
'container:Operations which can be executed as part of a container build' \
'image:Operations on container images' \
'exec-in-host-mount-namespace:Execute the given command in the host mount namespace' \
'state:Modify the state of the system' \
'internals:Hidden, internal only options' \
'composefs-finalize-staged:' \
'config-diff:Diff current /etc configuration versus default' \
'completion:Generate shell completion script for supported shells' \
'delete-deployment:' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc commands' commands "$@"
}
(( $+functions[_bootc__completion_commands] )) ||
_bootc__completion_commands() {
    local commands; commands=()
    _describe -t commands 'bootc completion commands' commands "$@"
}
(( $+functions[_bootc__composefs-finalize-staged_commands] )) ||
_bootc__composefs-finalize-staged_commands() {
    local commands; commands=()
    _describe -t commands 'bootc composefs-finalize-staged commands' commands "$@"
}
(( $+functions[_bootc__config-diff_commands] )) ||
_bootc__config-diff_commands() {
    local commands; commands=()
    _describe -t commands 'bootc config-diff commands' commands "$@"
}
(( $+functions[_bootc__container_commands] )) ||
_bootc__container_commands() {
    local commands; commands=(
'inspect:Output information about the container image' \
'lint:Perform relatively inexpensive static analysis checks as part of a container build' \
'compute-composefs-digest:Output the bootable composefs digest for a directory' \
'compute-composefs-digest-from-storage:Output the bootable composefs digest from container storage' \
'ukify:Build a Unified Kernel Image (UKI) using ukify' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc container commands' commands "$@"
}
(( $+functions[_bootc__container__compute-composefs-digest_commands] )) ||
_bootc__container__compute-composefs-digest_commands() {
    local commands; commands=()
    _describe -t commands 'bootc container compute-composefs-digest commands' commands "$@"
}
(( $+functions[_bootc__container__compute-composefs-digest-from-storage_commands] )) ||
_bootc__container__compute-composefs-digest-from-storage_commands() {
    local commands; commands=()
    _describe -t commands 'bootc container compute-composefs-digest-from-storage commands' commands "$@"
}
(( $+functions[_bootc__container__help_commands] )) ||
_bootc__container__help_commands() {
    local commands; commands=(
'inspect:Output information about the container image' \
'lint:Perform relatively inexpensive static analysis checks as part of a container build' \
'compute-composefs-digest:Output the bootable composefs digest for a directory' \
'compute-composefs-digest-from-storage:Output the bootable composefs digest from container storage' \
'ukify:Build a Unified Kernel Image (UKI) using ukify' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc container help commands' commands "$@"
}
(( $+functions[_bootc__container__help__compute-composefs-digest_commands] )) ||
_bootc__container__help__compute-composefs-digest_commands() {
    local commands; commands=()
    _describe -t commands 'bootc container help compute-composefs-digest commands' commands "$@"
}
(( $+functions[_bootc__container__help__compute-composefs-digest-from-storage_commands] )) ||
_bootc__container__help__compute-composefs-digest-from-storage_commands() {
    local commands; commands=()
    _describe -t commands 'bootc container help compute-composefs-digest-from-storage commands' commands "$@"
}
(( $+functions[_bootc__container__help__help_commands] )) ||
_bootc__container__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'bootc container help help commands' commands "$@"
}
(( $+functions[_bootc__container__help__inspect_commands] )) ||
_bootc__container__help__inspect_commands() {
    local commands; commands=()
    _describe -t commands 'bootc container help inspect commands' commands "$@"
}
(( $+functions[_bootc__container__help__lint_commands] )) ||
_bootc__container__help__lint_commands() {
    local commands; commands=()
    _describe -t commands 'bootc container help lint commands' commands "$@"
}
(( $+functions[_bootc__container__help__ukify_commands] )) ||
_bootc__container__help__ukify_commands() {
    local commands; commands=()
    _describe -t commands 'bootc container help ukify commands' commands "$@"
}
(( $+functions[_bootc__container__inspect_commands] )) ||
_bootc__container__inspect_commands() {
    local commands; commands=()
    _describe -t commands 'bootc container inspect commands' commands "$@"
}
(( $+functions[_bootc__container__lint_commands] )) ||
_bootc__container__lint_commands() {
    local commands; commands=()
    _describe -t commands 'bootc container lint commands' commands "$@"
}
(( $+functions[_bootc__container__ukify_commands] )) ||
_bootc__container__ukify_commands() {
    local commands; commands=()
    _describe -t commands 'bootc container ukify commands' commands "$@"
}
(( $+functions[_bootc__delete-deployment_commands] )) ||
_bootc__delete-deployment_commands() {
    local commands; commands=()
    _describe -t commands 'bootc delete-deployment commands' commands "$@"
}
(( $+functions[_bootc__edit_commands] )) ||
_bootc__edit_commands() {
    local commands; commands=()
    _describe -t commands 'bootc edit commands' commands "$@"
}
(( $+functions[_bootc__exec-in-host-mount-namespace_commands] )) ||
_bootc__exec-in-host-mount-namespace_commands() {
    local commands; commands=()
    _describe -t commands 'bootc exec-in-host-mount-namespace commands' commands "$@"
}
(( $+functions[_bootc__help_commands] )) ||
_bootc__help_commands() {
    local commands; commands=(
'upgrade:Download and queue an updated container image to apply' \
'switch:Target a new container image reference to boot' \
'rollback:Change the bootloader entry ordering; the deployment under \`rollback\` will be queued for the next boot, and the current will become rollback.  If there is a \`staged\` entry (an unapplied, queued upgrade) then it will be discarded' \
'edit:Apply full changes to the host specification' \
'status:Display status' \
'usr-overlay:Add a transient writable overlayfs on \`/usr\`' \
'install:Install the running container to a target' \
'container:Operations which can be executed as part of a container build' \
'image:Operations on container images' \
'exec-in-host-mount-namespace:Execute the given command in the host mount namespace' \
'state:Modify the state of the system' \
'internals:Hidden, internal only options' \
'composefs-finalize-staged:' \
'config-diff:Diff current /etc configuration versus default' \
'completion:Generate shell completion script for supported shells' \
'delete-deployment:' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc help commands' commands "$@"
}
(( $+functions[_bootc__help__completion_commands] )) ||
_bootc__help__completion_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help completion commands' commands "$@"
}
(( $+functions[_bootc__help__composefs-finalize-staged_commands] )) ||
_bootc__help__composefs-finalize-staged_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help composefs-finalize-staged commands' commands "$@"
}
(( $+functions[_bootc__help__config-diff_commands] )) ||
_bootc__help__config-diff_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help config-diff commands' commands "$@"
}
(( $+functions[_bootc__help__container_commands] )) ||
_bootc__help__container_commands() {
    local commands; commands=(
'inspect:Output information about the container image' \
'lint:Perform relatively inexpensive static analysis checks as part of a container build' \
'compute-composefs-digest:Output the bootable composefs digest for a directory' \
'compute-composefs-digest-from-storage:Output the bootable composefs digest from container storage' \
'ukify:Build a Unified Kernel Image (UKI) using ukify' \
    )
    _describe -t commands 'bootc help container commands' commands "$@"
}
(( $+functions[_bootc__help__container__compute-composefs-digest_commands] )) ||
_bootc__help__container__compute-composefs-digest_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help container compute-composefs-digest commands' commands "$@"
}
(( $+functions[_bootc__help__container__compute-composefs-digest-from-storage_commands] )) ||
_bootc__help__container__compute-composefs-digest-from-storage_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help container compute-composefs-digest-from-storage commands' commands "$@"
}
(( $+functions[_bootc__help__container__inspect_commands] )) ||
_bootc__help__container__inspect_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help container inspect commands' commands "$@"
}
(( $+functions[_bootc__help__container__lint_commands] )) ||
_bootc__help__container__lint_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help container lint commands' commands "$@"
}
(( $+functions[_bootc__help__container__ukify_commands] )) ||
_bootc__help__container__ukify_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help container ukify commands' commands "$@"
}
(( $+functions[_bootc__help__delete-deployment_commands] )) ||
_bootc__help__delete-deployment_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help delete-deployment commands' commands "$@"
}
(( $+functions[_bootc__help__edit_commands] )) ||
_bootc__help__edit_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help edit commands' commands "$@"
}
(( $+functions[_bootc__help__exec-in-host-mount-namespace_commands] )) ||
_bootc__help__exec-in-host-mount-namespace_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help exec-in-host-mount-namespace commands' commands "$@"
}
(( $+functions[_bootc__help__help_commands] )) ||
_bootc__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help help commands' commands "$@"
}
(( $+functions[_bootc__help__image_commands] )) ||
_bootc__help__image_commands() {
    local commands; commands=(
'list:List fetched images stored in the bootc storage' \
'copy-to-storage:Copy a container image from the bootc storage to \`containers-storage\:\`' \
'set-unified:Re-pull the currently booted image into the bootc-owned container storage' \
'pull-from-default-storage:Copy a container image from the default \`containers-storage\:\` to the bootc-owned container storage' \
'cmd:Wrapper for selected \`podman image\` subcommands in bootc storage' \
    )
    _describe -t commands 'bootc help image commands' commands "$@"
}
(( $+functions[_bootc__help__image__cmd_commands] )) ||
_bootc__help__image__cmd_commands() {
    local commands; commands=(
'list:Wrapper for \`podman image list\` in bootc storage' \
'build:Wrapper for \`podman image build\` in bootc storage' \
'pull:Wrapper for \`podman image pull\` in bootc storage' \
'push:Wrapper for \`podman image push\` in bootc storage' \
    )
    _describe -t commands 'bootc help image cmd commands' commands "$@"
}
(( $+functions[_bootc__help__image__cmd__build_commands] )) ||
_bootc__help__image__cmd__build_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help image cmd build commands' commands "$@"
}
(( $+functions[_bootc__help__image__cmd__list_commands] )) ||
_bootc__help__image__cmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help image cmd list commands' commands "$@"
}
(( $+functions[_bootc__help__image__cmd__pull_commands] )) ||
_bootc__help__image__cmd__pull_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help image cmd pull commands' commands "$@"
}
(( $+functions[_bootc__help__image__cmd__push_commands] )) ||
_bootc__help__image__cmd__push_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help image cmd push commands' commands "$@"
}
(( $+functions[_bootc__help__image__copy-to-storage_commands] )) ||
_bootc__help__image__copy-to-storage_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help image copy-to-storage commands' commands "$@"
}
(( $+functions[_bootc__help__image__list_commands] )) ||
_bootc__help__image__list_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help image list commands' commands "$@"
}
(( $+functions[_bootc__help__image__pull-from-default-storage_commands] )) ||
_bootc__help__image__pull-from-default-storage_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help image pull-from-default-storage commands' commands "$@"
}
(( $+functions[_bootc__help__image__set-unified_commands] )) ||
_bootc__help__image__set-unified_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help image set-unified commands' commands "$@"
}
(( $+functions[_bootc__help__install_commands] )) ||
_bootc__help__install_commands() {
    local commands; commands=(
'to-disk:Install to the target block device' \
'to-filesystem:Install to an externally created filesystem structure' \
'to-existing-root:Install to the host root filesystem' \
'reset:Nondestructively create a fresh installation state inside an existing bootc system' \
'finalize:Execute this as the penultimate step of an installation using \`install to-filesystem\`' \
'ensure-completion:Intended for use in environments that are performing an ostree-based installation, not bootc' \
'print-configuration:Output JSON to stdout that contains the merged installation configuration as it may be relevant to calling processes using \`install to-filesystem\` that in particular want to discover the desired root filesystem type from the container image' \
    )
    _describe -t commands 'bootc help install commands' commands "$@"
}
(( $+functions[_bootc__help__install__ensure-completion_commands] )) ||
_bootc__help__install__ensure-completion_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help install ensure-completion commands' commands "$@"
}
(( $+functions[_bootc__help__install__finalize_commands] )) ||
_bootc__help__install__finalize_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help install finalize commands' commands "$@"
}
(( $+functions[_bootc__help__install__print-configuration_commands] )) ||
_bootc__help__install__print-configuration_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help install print-configuration commands' commands "$@"
}
(( $+functions[_bootc__help__install__reset_commands] )) ||
_bootc__help__install__reset_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help install reset commands' commands "$@"
}
(( $+functions[_bootc__help__install__to-disk_commands] )) ||
_bootc__help__install__to-disk_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help install to-disk commands' commands "$@"
}
(( $+functions[_bootc__help__install__to-existing-root_commands] )) ||
_bootc__help__install__to-existing-root_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help install to-existing-root commands' commands "$@"
}
(( $+functions[_bootc__help__install__to-filesystem_commands] )) ||
_bootc__help__install__to-filesystem_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help install to-filesystem commands' commands "$@"
}
(( $+functions[_bootc__help__internals_commands] )) ||
_bootc__help__internals_commands() {
    local commands; commands=(
'systemd-generator:' \
'fixup-etc-fstab:' \
'print-json-schema:Should only be used by \`make update-generated\`' \
'fsverity:Options for consistency checking' \
'fsck:Perform consistency checking' \
'cleanup:Perform cleanup actions' \
'relabel:' \
'ostree-ext:Proxy frontend for the \`ostree-ext\` CLI' \
'cfs:Proxy frontend for the \`cfsctl\` CLI' \
'ostree-container:Proxy frontend for the legacy \`ostree container\` CLI' \
'test-composefs:Ensure that a composefs repository is initialized' \
'loopback-cleanup-helper:Loopback device cleanup helper (internal use only)' \
'allocate-cleanup-loopback:Test loopback device allocation and cleanup (internal use only)' \
'bootc-install-completion:Invoked from ostree-ext to complete an installation' \
'reboot:Initiate a reboot the same way we would after --apply; intended primarily for testing' \
'dir-diff:Internal command for testing etc-diff/etc-merge' \
'prep-soft-reboot:' \
    )
    _describe -t commands 'bootc help internals commands' commands "$@"
}
(( $+functions[_bootc__help__internals__allocate-cleanup-loopback_commands] )) ||
_bootc__help__internals__allocate-cleanup-loopback_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals allocate-cleanup-loopback commands' commands "$@"
}
(( $+functions[_bootc__help__internals__bootc-install-completion_commands] )) ||
_bootc__help__internals__bootc-install-completion_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals bootc-install-completion commands' commands "$@"
}
(( $+functions[_bootc__help__internals__cfs_commands] )) ||
_bootc__help__internals__cfs_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals cfs commands' commands "$@"
}
(( $+functions[_bootc__help__internals__cleanup_commands] )) ||
_bootc__help__internals__cleanup_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals cleanup commands' commands "$@"
}
(( $+functions[_bootc__help__internals__dir-diff_commands] )) ||
_bootc__help__internals__dir-diff_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals dir-diff commands' commands "$@"
}
(( $+functions[_bootc__help__internals__fixup-etc-fstab_commands] )) ||
_bootc__help__internals__fixup-etc-fstab_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals fixup-etc-fstab commands' commands "$@"
}
(( $+functions[_bootc__help__internals__fsck_commands] )) ||
_bootc__help__internals__fsck_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals fsck commands' commands "$@"
}
(( $+functions[_bootc__help__internals__fsverity_commands] )) ||
_bootc__help__internals__fsverity_commands() {
    local commands; commands=(
'measure:Measure the fsverity digest of the target file' \
'enable:Enable fsverity on the target file' \
    )
    _describe -t commands 'bootc help internals fsverity commands' commands "$@"
}
(( $+functions[_bootc__help__internals__fsverity__enable_commands] )) ||
_bootc__help__internals__fsverity__enable_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals fsverity enable commands' commands "$@"
}
(( $+functions[_bootc__help__internals__fsverity__measure_commands] )) ||
_bootc__help__internals__fsverity__measure_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals fsverity measure commands' commands "$@"
}
(( $+functions[_bootc__help__internals__loopback-cleanup-helper_commands] )) ||
_bootc__help__internals__loopback-cleanup-helper_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals loopback-cleanup-helper commands' commands "$@"
}
(( $+functions[_bootc__help__internals__ostree-container_commands] )) ||
_bootc__help__internals__ostree-container_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals ostree-container commands' commands "$@"
}
(( $+functions[_bootc__help__internals__ostree-ext_commands] )) ||
_bootc__help__internals__ostree-ext_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals ostree-ext commands' commands "$@"
}
(( $+functions[_bootc__help__internals__prep-soft-reboot_commands] )) ||
_bootc__help__internals__prep-soft-reboot_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals prep-soft-reboot commands' commands "$@"
}
(( $+functions[_bootc__help__internals__print-json-schema_commands] )) ||
_bootc__help__internals__print-json-schema_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals print-json-schema commands' commands "$@"
}
(( $+functions[_bootc__help__internals__reboot_commands] )) ||
_bootc__help__internals__reboot_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals reboot commands' commands "$@"
}
(( $+functions[_bootc__help__internals__relabel_commands] )) ||
_bootc__help__internals__relabel_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals relabel commands' commands "$@"
}
(( $+functions[_bootc__help__internals__systemd-generator_commands] )) ||
_bootc__help__internals__systemd-generator_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals systemd-generator commands' commands "$@"
}
(( $+functions[_bootc__help__internals__test-composefs_commands] )) ||
_bootc__help__internals__test-composefs_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help internals test-composefs commands' commands "$@"
}
(( $+functions[_bootc__help__rollback_commands] )) ||
_bootc__help__rollback_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help rollback commands' commands "$@"
}
(( $+functions[_bootc__help__state_commands] )) ||
_bootc__help__state_commands() {
    local commands; commands=(
'wipe-ostree:Remove all ostree deployments from this system' \
    )
    _describe -t commands 'bootc help state commands' commands "$@"
}
(( $+functions[_bootc__help__state__wipe-ostree_commands] )) ||
_bootc__help__state__wipe-ostree_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help state wipe-ostree commands' commands "$@"
}
(( $+functions[_bootc__help__status_commands] )) ||
_bootc__help__status_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help status commands' commands "$@"
}
(( $+functions[_bootc__help__switch_commands] )) ||
_bootc__help__switch_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help switch commands' commands "$@"
}
(( $+functions[_bootc__help__upgrade_commands] )) ||
_bootc__help__upgrade_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help upgrade commands' commands "$@"
}
(( $+functions[_bootc__help__usr-overlay_commands] )) ||
_bootc__help__usr-overlay_commands() {
    local commands; commands=()
    _describe -t commands 'bootc help usr-overlay commands' commands "$@"
}
(( $+functions[_bootc__image_commands] )) ||
_bootc__image_commands() {
    local commands; commands=(
'list:List fetched images stored in the bootc storage' \
'copy-to-storage:Copy a container image from the bootc storage to \`containers-storage\:\`' \
'set-unified:Re-pull the currently booted image into the bootc-owned container storage' \
'pull-from-default-storage:Copy a container image from the default \`containers-storage\:\` to the bootc-owned container storage' \
'cmd:Wrapper for selected \`podman image\` subcommands in bootc storage' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc image commands' commands "$@"
}
(( $+functions[_bootc__image__cmd_commands] )) ||
_bootc__image__cmd_commands() {
    local commands; commands=(
'list:Wrapper for \`podman image list\` in bootc storage' \
'build:Wrapper for \`podman image build\` in bootc storage' \
'pull:Wrapper for \`podman image pull\` in bootc storage' \
'push:Wrapper for \`podman image push\` in bootc storage' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc image cmd commands' commands "$@"
}
(( $+functions[_bootc__image__cmd__build_commands] )) ||
_bootc__image__cmd__build_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image cmd build commands' commands "$@"
}
(( $+functions[_bootc__image__cmd__help_commands] )) ||
_bootc__image__cmd__help_commands() {
    local commands; commands=(
'list:Wrapper for \`podman image list\` in bootc storage' \
'build:Wrapper for \`podman image build\` in bootc storage' \
'pull:Wrapper for \`podman image pull\` in bootc storage' \
'push:Wrapper for \`podman image push\` in bootc storage' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc image cmd help commands' commands "$@"
}
(( $+functions[_bootc__image__cmd__help__build_commands] )) ||
_bootc__image__cmd__help__build_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image cmd help build commands' commands "$@"
}
(( $+functions[_bootc__image__cmd__help__help_commands] )) ||
_bootc__image__cmd__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image cmd help help commands' commands "$@"
}
(( $+functions[_bootc__image__cmd__help__list_commands] )) ||
_bootc__image__cmd__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image cmd help list commands' commands "$@"
}
(( $+functions[_bootc__image__cmd__help__pull_commands] )) ||
_bootc__image__cmd__help__pull_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image cmd help pull commands' commands "$@"
}
(( $+functions[_bootc__image__cmd__help__push_commands] )) ||
_bootc__image__cmd__help__push_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image cmd help push commands' commands "$@"
}
(( $+functions[_bootc__image__cmd__list_commands] )) ||
_bootc__image__cmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image cmd list commands' commands "$@"
}
(( $+functions[_bootc__image__cmd__pull_commands] )) ||
_bootc__image__cmd__pull_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image cmd pull commands' commands "$@"
}
(( $+functions[_bootc__image__cmd__push_commands] )) ||
_bootc__image__cmd__push_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image cmd push commands' commands "$@"
}
(( $+functions[_bootc__image__copy-to-storage_commands] )) ||
_bootc__image__copy-to-storage_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image copy-to-storage commands' commands "$@"
}
(( $+functions[_bootc__image__help_commands] )) ||
_bootc__image__help_commands() {
    local commands; commands=(
'list:List fetched images stored in the bootc storage' \
'copy-to-storage:Copy a container image from the bootc storage to \`containers-storage\:\`' \
'set-unified:Re-pull the currently booted image into the bootc-owned container storage' \
'pull-from-default-storage:Copy a container image from the default \`containers-storage\:\` to the bootc-owned container storage' \
'cmd:Wrapper for selected \`podman image\` subcommands in bootc storage' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc image help commands' commands "$@"
}
(( $+functions[_bootc__image__help__cmd_commands] )) ||
_bootc__image__help__cmd_commands() {
    local commands; commands=(
'list:Wrapper for \`podman image list\` in bootc storage' \
'build:Wrapper for \`podman image build\` in bootc storage' \
'pull:Wrapper for \`podman image pull\` in bootc storage' \
'push:Wrapper for \`podman image push\` in bootc storage' \
    )
    _describe -t commands 'bootc image help cmd commands' commands "$@"
}
(( $+functions[_bootc__image__help__cmd__build_commands] )) ||
_bootc__image__help__cmd__build_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image help cmd build commands' commands "$@"
}
(( $+functions[_bootc__image__help__cmd__list_commands] )) ||
_bootc__image__help__cmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image help cmd list commands' commands "$@"
}
(( $+functions[_bootc__image__help__cmd__pull_commands] )) ||
_bootc__image__help__cmd__pull_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image help cmd pull commands' commands "$@"
}
(( $+functions[_bootc__image__help__cmd__push_commands] )) ||
_bootc__image__help__cmd__push_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image help cmd push commands' commands "$@"
}
(( $+functions[_bootc__image__help__copy-to-storage_commands] )) ||
_bootc__image__help__copy-to-storage_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image help copy-to-storage commands' commands "$@"
}
(( $+functions[_bootc__image__help__help_commands] )) ||
_bootc__image__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image help help commands' commands "$@"
}
(( $+functions[_bootc__image__help__list_commands] )) ||
_bootc__image__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image help list commands' commands "$@"
}
(( $+functions[_bootc__image__help__pull-from-default-storage_commands] )) ||
_bootc__image__help__pull-from-default-storage_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image help pull-from-default-storage commands' commands "$@"
}
(( $+functions[_bootc__image__help__set-unified_commands] )) ||
_bootc__image__help__set-unified_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image help set-unified commands' commands "$@"
}
(( $+functions[_bootc__image__list_commands] )) ||
_bootc__image__list_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image list commands' commands "$@"
}
(( $+functions[_bootc__image__pull-from-default-storage_commands] )) ||
_bootc__image__pull-from-default-storage_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image pull-from-default-storage commands' commands "$@"
}
(( $+functions[_bootc__image__set-unified_commands] )) ||
_bootc__image__set-unified_commands() {
    local commands; commands=()
    _describe -t commands 'bootc image set-unified commands' commands "$@"
}
(( $+functions[_bootc__install_commands] )) ||
_bootc__install_commands() {
    local commands; commands=(
'to-disk:Install to the target block device' \
'to-filesystem:Install to an externally created filesystem structure' \
'to-existing-root:Install to the host root filesystem' \
'reset:Nondestructively create a fresh installation state inside an existing bootc system' \
'finalize:Execute this as the penultimate step of an installation using \`install to-filesystem\`' \
'ensure-completion:Intended for use in environments that are performing an ostree-based installation, not bootc' \
'print-configuration:Output JSON to stdout that contains the merged installation configuration as it may be relevant to calling processes using \`install to-filesystem\` that in particular want to discover the desired root filesystem type from the container image' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc install commands' commands "$@"
}
(( $+functions[_bootc__install__ensure-completion_commands] )) ||
_bootc__install__ensure-completion_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install ensure-completion commands' commands "$@"
}
(( $+functions[_bootc__install__finalize_commands] )) ||
_bootc__install__finalize_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install finalize commands' commands "$@"
}
(( $+functions[_bootc__install__help_commands] )) ||
_bootc__install__help_commands() {
    local commands; commands=(
'to-disk:Install to the target block device' \
'to-filesystem:Install to an externally created filesystem structure' \
'to-existing-root:Install to the host root filesystem' \
'reset:Nondestructively create a fresh installation state inside an existing bootc system' \
'finalize:Execute this as the penultimate step of an installation using \`install to-filesystem\`' \
'ensure-completion:Intended for use in environments that are performing an ostree-based installation, not bootc' \
'print-configuration:Output JSON to stdout that contains the merged installation configuration as it may be relevant to calling processes using \`install to-filesystem\` that in particular want to discover the desired root filesystem type from the container image' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc install help commands' commands "$@"
}
(( $+functions[_bootc__install__help__ensure-completion_commands] )) ||
_bootc__install__help__ensure-completion_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install help ensure-completion commands' commands "$@"
}
(( $+functions[_bootc__install__help__finalize_commands] )) ||
_bootc__install__help__finalize_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install help finalize commands' commands "$@"
}
(( $+functions[_bootc__install__help__help_commands] )) ||
_bootc__install__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install help help commands' commands "$@"
}
(( $+functions[_bootc__install__help__print-configuration_commands] )) ||
_bootc__install__help__print-configuration_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install help print-configuration commands' commands "$@"
}
(( $+functions[_bootc__install__help__reset_commands] )) ||
_bootc__install__help__reset_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install help reset commands' commands "$@"
}
(( $+functions[_bootc__install__help__to-disk_commands] )) ||
_bootc__install__help__to-disk_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install help to-disk commands' commands "$@"
}
(( $+functions[_bootc__install__help__to-existing-root_commands] )) ||
_bootc__install__help__to-existing-root_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install help to-existing-root commands' commands "$@"
}
(( $+functions[_bootc__install__help__to-filesystem_commands] )) ||
_bootc__install__help__to-filesystem_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install help to-filesystem commands' commands "$@"
}
(( $+functions[_bootc__install__print-configuration_commands] )) ||
_bootc__install__print-configuration_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install print-configuration commands' commands "$@"
}
(( $+functions[_bootc__install__reset_commands] )) ||
_bootc__install__reset_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install reset commands' commands "$@"
}
(( $+functions[_bootc__install__to-disk_commands] )) ||
_bootc__install__to-disk_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install to-disk commands' commands "$@"
}
(( $+functions[_bootc__install__to-existing-root_commands] )) ||
_bootc__install__to-existing-root_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install to-existing-root commands' commands "$@"
}
(( $+functions[_bootc__install__to-filesystem_commands] )) ||
_bootc__install__to-filesystem_commands() {
    local commands; commands=()
    _describe -t commands 'bootc install to-filesystem commands' commands "$@"
}
(( $+functions[_bootc__internals_commands] )) ||
_bootc__internals_commands() {
    local commands; commands=(
'systemd-generator:' \
'fixup-etc-fstab:' \
'print-json-schema:Should only be used by \`make update-generated\`' \
'fsverity:Options for consistency checking' \
'fsck:Perform consistency checking' \
'cleanup:Perform cleanup actions' \
'relabel:' \
'ostree-ext:Proxy frontend for the \`ostree-ext\` CLI' \
'cfs:Proxy frontend for the \`cfsctl\` CLI' \
'ostree-container:Proxy frontend for the legacy \`ostree container\` CLI' \
'test-composefs:Ensure that a composefs repository is initialized' \
'loopback-cleanup-helper:Loopback device cleanup helper (internal use only)' \
'allocate-cleanup-loopback:Test loopback device allocation and cleanup (internal use only)' \
'bootc-install-completion:Invoked from ostree-ext to complete an installation' \
'reboot:Initiate a reboot the same way we would after --apply; intended primarily for testing' \
'dir-diff:Internal command for testing etc-diff/etc-merge' \
'prep-soft-reboot:' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc internals commands' commands "$@"
}
(( $+functions[_bootc__internals__allocate-cleanup-loopback_commands] )) ||
_bootc__internals__allocate-cleanup-loopback_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals allocate-cleanup-loopback commands' commands "$@"
}
(( $+functions[_bootc__internals__bootc-install-completion_commands] )) ||
_bootc__internals__bootc-install-completion_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals bootc-install-completion commands' commands "$@"
}
(( $+functions[_bootc__internals__cfs_commands] )) ||
_bootc__internals__cfs_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals cfs commands' commands "$@"
}
(( $+functions[_bootc__internals__cleanup_commands] )) ||
_bootc__internals__cleanup_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals cleanup commands' commands "$@"
}
(( $+functions[_bootc__internals__dir-diff_commands] )) ||
_bootc__internals__dir-diff_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals dir-diff commands' commands "$@"
}
(( $+functions[_bootc__internals__fixup-etc-fstab_commands] )) ||
_bootc__internals__fixup-etc-fstab_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals fixup-etc-fstab commands' commands "$@"
}
(( $+functions[_bootc__internals__fsck_commands] )) ||
_bootc__internals__fsck_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals fsck commands' commands "$@"
}
(( $+functions[_bootc__internals__fsverity_commands] )) ||
_bootc__internals__fsverity_commands() {
    local commands; commands=(
'measure:Measure the fsverity digest of the target file' \
'enable:Enable fsverity on the target file' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc internals fsverity commands' commands "$@"
}
(( $+functions[_bootc__internals__fsverity__enable_commands] )) ||
_bootc__internals__fsverity__enable_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals fsverity enable commands' commands "$@"
}
(( $+functions[_bootc__internals__fsverity__help_commands] )) ||
_bootc__internals__fsverity__help_commands() {
    local commands; commands=(
'measure:Measure the fsverity digest of the target file' \
'enable:Enable fsverity on the target file' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc internals fsverity help commands' commands "$@"
}
(( $+functions[_bootc__internals__fsverity__help__enable_commands] )) ||
_bootc__internals__fsverity__help__enable_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals fsverity help enable commands' commands "$@"
}
(( $+functions[_bootc__internals__fsverity__help__help_commands] )) ||
_bootc__internals__fsverity__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals fsverity help help commands' commands "$@"
}
(( $+functions[_bootc__internals__fsverity__help__measure_commands] )) ||
_bootc__internals__fsverity__help__measure_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals fsverity help measure commands' commands "$@"
}
(( $+functions[_bootc__internals__fsverity__measure_commands] )) ||
_bootc__internals__fsverity__measure_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals fsverity measure commands' commands "$@"
}
(( $+functions[_bootc__internals__help_commands] )) ||
_bootc__internals__help_commands() {
    local commands; commands=(
'systemd-generator:' \
'fixup-etc-fstab:' \
'print-json-schema:Should only be used by \`make update-generated\`' \
'fsverity:Options for consistency checking' \
'fsck:Perform consistency checking' \
'cleanup:Perform cleanup actions' \
'relabel:' \
'ostree-ext:Proxy frontend for the \`ostree-ext\` CLI' \
'cfs:Proxy frontend for the \`cfsctl\` CLI' \
'ostree-container:Proxy frontend for the legacy \`ostree container\` CLI' \
'test-composefs:Ensure that a composefs repository is initialized' \
'loopback-cleanup-helper:Loopback device cleanup helper (internal use only)' \
'allocate-cleanup-loopback:Test loopback device allocation and cleanup (internal use only)' \
'bootc-install-completion:Invoked from ostree-ext to complete an installation' \
'reboot:Initiate a reboot the same way we would after --apply; intended primarily for testing' \
'dir-diff:Internal command for testing etc-diff/etc-merge' \
'prep-soft-reboot:' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc internals help commands' commands "$@"
}
(( $+functions[_bootc__internals__help__allocate-cleanup-loopback_commands] )) ||
_bootc__internals__help__allocate-cleanup-loopback_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help allocate-cleanup-loopback commands' commands "$@"
}
(( $+functions[_bootc__internals__help__bootc-install-completion_commands] )) ||
_bootc__internals__help__bootc-install-completion_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help bootc-install-completion commands' commands "$@"
}
(( $+functions[_bootc__internals__help__cfs_commands] )) ||
_bootc__internals__help__cfs_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help cfs commands' commands "$@"
}
(( $+functions[_bootc__internals__help__cleanup_commands] )) ||
_bootc__internals__help__cleanup_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help cleanup commands' commands "$@"
}
(( $+functions[_bootc__internals__help__dir-diff_commands] )) ||
_bootc__internals__help__dir-diff_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help dir-diff commands' commands "$@"
}
(( $+functions[_bootc__internals__help__fixup-etc-fstab_commands] )) ||
_bootc__internals__help__fixup-etc-fstab_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help fixup-etc-fstab commands' commands "$@"
}
(( $+functions[_bootc__internals__help__fsck_commands] )) ||
_bootc__internals__help__fsck_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help fsck commands' commands "$@"
}
(( $+functions[_bootc__internals__help__fsverity_commands] )) ||
_bootc__internals__help__fsverity_commands() {
    local commands; commands=(
'measure:Measure the fsverity digest of the target file' \
'enable:Enable fsverity on the target file' \
    )
    _describe -t commands 'bootc internals help fsverity commands' commands "$@"
}
(( $+functions[_bootc__internals__help__fsverity__enable_commands] )) ||
_bootc__internals__help__fsverity__enable_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help fsverity enable commands' commands "$@"
}
(( $+functions[_bootc__internals__help__fsverity__measure_commands] )) ||
_bootc__internals__help__fsverity__measure_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help fsverity measure commands' commands "$@"
}
(( $+functions[_bootc__internals__help__help_commands] )) ||
_bootc__internals__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help help commands' commands "$@"
}
(( $+functions[_bootc__internals__help__loopback-cleanup-helper_commands] )) ||
_bootc__internals__help__loopback-cleanup-helper_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help loopback-cleanup-helper commands' commands "$@"
}
(( $+functions[_bootc__internals__help__ostree-container_commands] )) ||
_bootc__internals__help__ostree-container_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help ostree-container commands' commands "$@"
}
(( $+functions[_bootc__internals__help__ostree-ext_commands] )) ||
_bootc__internals__help__ostree-ext_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help ostree-ext commands' commands "$@"
}
(( $+functions[_bootc__internals__help__prep-soft-reboot_commands] )) ||
_bootc__internals__help__prep-soft-reboot_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help prep-soft-reboot commands' commands "$@"
}
(( $+functions[_bootc__internals__help__print-json-schema_commands] )) ||
_bootc__internals__help__print-json-schema_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help print-json-schema commands' commands "$@"
}
(( $+functions[_bootc__internals__help__reboot_commands] )) ||
_bootc__internals__help__reboot_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help reboot commands' commands "$@"
}
(( $+functions[_bootc__internals__help__relabel_commands] )) ||
_bootc__internals__help__relabel_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help relabel commands' commands "$@"
}
(( $+functions[_bootc__internals__help__systemd-generator_commands] )) ||
_bootc__internals__help__systemd-generator_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help systemd-generator commands' commands "$@"
}
(( $+functions[_bootc__internals__help__test-composefs_commands] )) ||
_bootc__internals__help__test-composefs_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals help test-composefs commands' commands "$@"
}
(( $+functions[_bootc__internals__loopback-cleanup-helper_commands] )) ||
_bootc__internals__loopback-cleanup-helper_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals loopback-cleanup-helper commands' commands "$@"
}
(( $+functions[_bootc__internals__ostree-container_commands] )) ||
_bootc__internals__ostree-container_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals ostree-container commands' commands "$@"
}
(( $+functions[_bootc__internals__ostree-ext_commands] )) ||
_bootc__internals__ostree-ext_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals ostree-ext commands' commands "$@"
}
(( $+functions[_bootc__internals__prep-soft-reboot_commands] )) ||
_bootc__internals__prep-soft-reboot_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals prep-soft-reboot commands' commands "$@"
}
(( $+functions[_bootc__internals__print-json-schema_commands] )) ||
_bootc__internals__print-json-schema_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals print-json-schema commands' commands "$@"
}
(( $+functions[_bootc__internals__reboot_commands] )) ||
_bootc__internals__reboot_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals reboot commands' commands "$@"
}
(( $+functions[_bootc__internals__relabel_commands] )) ||
_bootc__internals__relabel_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals relabel commands' commands "$@"
}
(( $+functions[_bootc__internals__systemd-generator_commands] )) ||
_bootc__internals__systemd-generator_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals systemd-generator commands' commands "$@"
}
(( $+functions[_bootc__internals__test-composefs_commands] )) ||
_bootc__internals__test-composefs_commands() {
    local commands; commands=()
    _describe -t commands 'bootc internals test-composefs commands' commands "$@"
}
(( $+functions[_bootc__rollback_commands] )) ||
_bootc__rollback_commands() {
    local commands; commands=()
    _describe -t commands 'bootc rollback commands' commands "$@"
}
(( $+functions[_bootc__state_commands] )) ||
_bootc__state_commands() {
    local commands; commands=(
'wipe-ostree:Remove all ostree deployments from this system' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc state commands' commands "$@"
}
(( $+functions[_bootc__state__help_commands] )) ||
_bootc__state__help_commands() {
    local commands; commands=(
'wipe-ostree:Remove all ostree deployments from this system' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'bootc state help commands' commands "$@"
}
(( $+functions[_bootc__state__help__help_commands] )) ||
_bootc__state__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'bootc state help help commands' commands "$@"
}
(( $+functions[_bootc__state__help__wipe-ostree_commands] )) ||
_bootc__state__help__wipe-ostree_commands() {
    local commands; commands=()
    _describe -t commands 'bootc state help wipe-ostree commands' commands "$@"
}
(( $+functions[_bootc__state__wipe-ostree_commands] )) ||
_bootc__state__wipe-ostree_commands() {
    local commands; commands=()
    _describe -t commands 'bootc state wipe-ostree commands' commands "$@"
}
(( $+functions[_bootc__status_commands] )) ||
_bootc__status_commands() {
    local commands; commands=()
    _describe -t commands 'bootc status commands' commands "$@"
}
(( $+functions[_bootc__switch_commands] )) ||
_bootc__switch_commands() {
    local commands; commands=()
    _describe -t commands 'bootc switch commands' commands "$@"
}
(( $+functions[_bootc__upgrade_commands] )) ||
_bootc__upgrade_commands() {
    local commands; commands=()
    _describe -t commands 'bootc upgrade commands' commands "$@"
}
(( $+functions[_bootc__usr-overlay_commands] )) ||
_bootc__usr-overlay_commands() {
    local commands; commands=()
    _describe -t commands 'bootc usr-overlay commands' commands "$@"
}

if [ "$funcstack[1]" = "_bootc" ]; then
    _bootc "$@"
else
    compdef _bootc bootc
fi
