#compdef nethsm

autoload -U is-at-least

_nethsm() {
    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[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_nethsm_commands" \
"*::: :->nethsm" \
&& ret=0
    case $state in
    (nethsm)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-command-$line[1]:"
        case $line[1] in
            (config)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__config_commands" \
"*::: :->config" \
&& ret=0

    case $state in
    (config)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-config-command-$line[1]:"
        case $line[1] in
            (get)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__config__subcmd__get_commands" \
"*::: :->get" \
&& ret=0

    case $state in
    (get)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-config-get-command-$line[1]:"
        case $line[1] in
            (boot-mode)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(logging)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(network)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(time)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(tls-certificate)
_arguments "${_arguments_options[@]}" : \
'-o+[The optional path to a specific file that the certificate is written to]:OUTPUT:_files' \
'--output=[The optional path to a specific file that the certificate is written to]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(tls-csr)
_arguments "${_arguments_options[@]}" : \
'-o+[The optional path to a specific file that the certificate is written to]:OUTPUT:_files' \
'--output=[The optional path to a specific file that the certificate is written to]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':common_name -- The mandatory "Common Name" (CN) attribute for the CSR:_default' \
'::org_name -- The optional "Organization Name" (O) attribute for the CSR:_default' \
'::org_unit -- The optional "Organizational Unit" (OU) attribute for the CSR:_default' \
'::locality -- The optional "Locality" (L) attribute for the CSR:_default' \
'::state -- The optional "State" (ST) attribute for the CSR:_default' \
'::country -- The optional "Country" (C) attribute for the CSR:_default' \
'::email -- The optional "Email Address" (EMAIL) attribute for the CSR:_default' \
'*::subject_alt_names -- The optional list of subject alt names (SAN) for the CSR:_default' \
&& ret=0
;;
(tls-public-key)
_arguments "${_arguments_options[@]}" : \
'-o+[The optional path to a specific file that the certificate is written to]:OUTPUT:_files' \
'--output=[The optional path to a specific file that the certificate is written to]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__config__subcmd__get__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-config-get-help-command-$line[1]:"
        case $line[1] in
            (boot-mode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(logging)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(network)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(time)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-certificate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-csr)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-public-key)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(set)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__config__subcmd__set_commands" \
"*::: :->set" \
&& ret=0

    case $state in
    (set)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-config-set-command-$line[1]:"
        case $line[1] in
            (backup-passphrase)
_arguments "${_arguments_options[@]}" : \
'-n+[The path to a file containing the new passphrase]:NEW_PASSPHRASE_FILE:_default' \
'--new-passphrase-file=[The path to a file containing the new passphrase]:NEW_PASSPHRASE_FILE:_default' \
'-o+[The path to a file containing the old passphrase]:OLD_PASSPHRASE_FILE:_default' \
'--old-passphrase-file=[The path to a file containing the old passphrase]:OLD_PASSPHRASE_FILE:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(boot-mode)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':boot_mode -- The boot mode to use:_default' \
&& ret=0
;;
(logging)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':ip_address -- The IPv4 address of the host to send syslog to:_default' \
':port -- The port of the host to send syslog to:_default' \
'::log_level -- The log level at which to log:_default' \
&& ret=0
;;
(network)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':ip_address -- The IPv4 address the device is to use:_default' \
':netmask -- The IPv4 netmask the device is to use:_default' \
':gateway -- The IPv4 gateway the device is to use:_default' \
&& ret=0
;;
(time)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::system_time -- An optional ISO 8601 formatted UTC timestamp:_default' \
&& ret=0
;;
(tls-certificate)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':tls_cert -- A new TLS certificate file:_files' \
&& ret=0
;;
(tls-generate)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::tls_key_type -- The optional key type of the TLS certificate to generate:_default' \
'::tls_key_length -- The bit length of the TLS key to generate:_default' \
&& ret=0
;;
(unlock-passphrase)
_arguments "${_arguments_options[@]}" : \
'-n+[The path to a file containing the new passphrase]:NEW_PASSPHRASE_FILE:_default' \
'--new-passphrase-file=[The path to a file containing the new passphrase]:NEW_PASSPHRASE_FILE:_default' \
'-o+[The path to a file containing the old passphrase]:OLD_PASSPHRASE_FILE:_default' \
'--old-passphrase-file=[The path to a file containing the old passphrase]:OLD_PASSPHRASE_FILE:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__config__subcmd__set__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-config-set-help-command-$line[1]:"
        case $line[1] in
            (backup-passphrase)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(boot-mode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(logging)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(network)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(time)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-certificate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-generate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(unlock-passphrase)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__config__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

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

    case $state in
    (get)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-config-help-get-command-$line[1]:"
        case $line[1] in
            (boot-mode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(logging)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(network)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(time)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-certificate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-csr)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-public-key)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(set)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__config__subcmd__help__subcmd__set_commands" \
"*::: :->set" \
&& ret=0

    case $state in
    (set)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-config-help-set-command-$line[1]:"
        case $line[1] in
            (backup-passphrase)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(boot-mode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(logging)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(network)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(time)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-certificate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-generate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(unlock-passphrase)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(env)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__env_commands" \
"*::: :->env" \
&& ret=0

    case $state in
    (env)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-env-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__env__subcmd__add_commands" \
"*::: :->add" \
&& ret=0

    case $state in
    (add)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-env-add-command-$line[1]:"
        case $line[1] in
            (credentials)
_arguments "${_arguments_options[@]}" : \
'-p+[The path to a file containing the passphrase]:PASSPHRASE_FILE:_default' \
'--passphrase-file=[The path to a file containing the passphrase]:PASSPHRASE_FILE:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-w[Whether to prompt for and store a passphrase for the user]' \
'--with-passphrase[Whether to prompt for and store a passphrase for the user]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- The name of the user on the target device:_default' \
'::role -- The optional role of the user on the target device:_default' \
&& ret=0
;;
(device)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':url -- The URL of the device API:_default' \
':tls_security -- The TLS connection security for the device:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__env__subcmd__add__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-env-add-help-command-$line[1]:"
        case $line[1] in
            (credentials)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(device)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__env__subcmd__delete_commands" \
"*::: :->delete" \
&& ret=0

    case $state in
    (delete)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-env-delete-command-$line[1]:"
        case $line[1] in
            (credentials)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- The user name matching the credentials to be deleted:_default' \
&& ret=0
;;
(device)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__env__subcmd__delete__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-env-delete-help-command-$line[1]:"
        case $line[1] in
            (credentials)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(device)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(list)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__env__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

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

    case $state in
    (add)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-env-help-add-command-$line[1]:"
        case $line[1] in
            (credentials)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(device)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(delete)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__env__subcmd__help__subcmd__delete_commands" \
"*::: :->delete" \
&& ret=0

    case $state in
    (delete)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-env-help-delete-command-$line[1]:"
        case $line[1] in
            (credentials)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(device)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(health)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__health_commands" \
"*::: :->health" \
&& ret=0

    case $state in
    (health)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-health-command-$line[1]:"
        case $line[1] in
            (alive)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(ready)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(state)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__health__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-health-help-command-$line[1]:"
        case $line[1] in
            (alive)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ready)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(state)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(info)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(key)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__key_commands" \
"*::: :->key" \
&& ret=0

    case $state in
    (key)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-key-command-$line[1]:"
        case $line[1] in
            (cert)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__key__subcmd__cert_commands" \
"*::: :->cert" \
&& ret=0

    case $state in
    (cert)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-key-cert-command-$line[1]:"
        case $line[1] in
            (delete)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key, for which to delete the certificate:_default' \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
'-o+[The optional path to a specific output file]:OUTPUT:_files' \
'--output=[The optional path to a specific output file]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key, for which to retrieve the certificate:_default' \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key, for which to import the certificate:_default' \
':cert_file -- The path to the certificate file to import:_files' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__key__subcmd__cert__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-key-cert-help-command-$line[1]:"
        case $line[1] in
            (delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(csr)
_arguments "${_arguments_options[@]}" : \
'-o+[The optional path to a specific output file]:OUTPUT:_files' \
'--output=[The optional path to a specific output file]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The key ID for which to create a CSR:_default' \
':common_name -- The mandatory "Common Name" (CN) attribute for the CSR:_default' \
'::org_name -- The optional "Organization Name" (O) attribute for the CSR:_default' \
'::org_unit -- The optional "Organizational Unit" (OU) attribute for the CSR:_default' \
'::locality -- The optional "Locality" (L) attribute for the CSR:_default' \
'::state -- The optional "State" (ST) attribute for the CSR:_default' \
'::country -- The optional "Country" (C) attribute for the CSR:_default' \
'::email -- The optional "Email Address" (EMAIL) attribute for the CSR:_default' \
'*::subject_alt_names -- The optional list of subject alt names (SAN) for the CSR:_default' \
&& ret=0
;;
(decrypt)
_arguments "${_arguments_options[@]}" : \
'-i+[The path to a file containing the initialization vector (IV) for symmetric decryption]:INITIALIZATION_VECTOR:_files' \
'--initialization-vector=[The path to a file containing the initialization vector (IV) for symmetric decryption]:INITIALIZATION_VECTOR:_files' \
'-o+[The path to a specific file to write the decrypted message to]:OUTPUT:_files' \
'--output=[The path to a specific file to write the decrypted message to]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key to use for decryption:_default' \
':message -- The path to an encrypted message to decrypt:_files' \
'::decrypt_mode -- The decryption mode to use:_default' \
&& ret=0
;;
(encrypt)
_arguments "${_arguments_options[@]}" : \
'-i+[The path to a file containing the initialization vector (IV) for symmetric encryption]:INITIALIZATION_VECTOR:_files' \
'--initialization-vector=[The path to a file containing the initialization vector (IV) for symmetric encryption]:INITIALIZATION_VECTOR:_files' \
'-o+[The path to a specific file to write the encrypted message to]:OUTPUT:_files' \
'--output=[The path to a specific file to write the encrypted message to]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key to use for encryption:_default' \
':message -- The path to a message to encrypt:_files' \
'::encrypt_mode -- The encryption mode to use:_default' \
&& ret=0
;;
(generate)
_arguments "${_arguments_options[@]}" : \
'-L+[The optional bit length of the generated key]:LENGTH:_default' \
'--length=[The optional bit length of the generated key]:LENGTH:_default' \
'-k+[An optional unique ID that is assigned to the generated key]:KEY_ID:_default' \
'--key-id=[An optional unique ID that is assigned to the generated key]:KEY_ID:_default' \
'*-t+[An optional list of tags that are assigned to the generated key]:TAGS:_default' \
'*--tags=[An optional list of tags that are assigned to the generated key]:TAGS:_default' \
'-l+[An optional label that is assigned to the generated key]:LABEL:_default' \
'--label=[An optional label that is assigned to the generated key]:LABEL:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::key_type -- The optional type of key to generate:_default' \
'*::key_mechanisms -- The mechanisms provided by the generated key:_default' \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key, for which to show information for:_default' \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
'--format=[The format of key to import]:FORMAT:_default' \
'-k+[An optional unique ID that is assigned to the imported key]:KEY_ID:_default' \
'--key-id=[An optional unique ID that is assigned to the imported key]:KEY_ID:_default' \
'*-t+[An optional list of tags that are assigned to the imported key]:TAGS:_default' \
'*--tags=[An optional list of tags that are assigned to the imported key]:TAGS:_default' \
'-l+[An optional label that is assigned to the imported key]:LABEL:_default' \
'--label=[An optional label that is assigned to the imported key]:LABEL:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_type -- The type of key to import:_default' \
':key_data -- The path to a PKCS#8 private key in ASN.1 DER-encoded format:_files' \
'*::key_mechanisms -- The mechanisms provided by the imported key:_default' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'-f+[An optional filter to apply to the list of key IDs]:FILTER:_default' \
'--filter=[An optional filter to apply to the list of key IDs]:FILTER:_default' \
'-l+[An optional label to search for]:LABEL:_default' \
'--label=[An optional label to search for]:LABEL:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(public-key)
_arguments "${_arguments_options[@]}" : \
'-o+[The optional path to a specific output file]:OUTPUT:_files' \
'--output=[The optional path to a specific output file]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key to get the public key for:_default' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key that is removed:_default' \
&& ret=0
;;
(sign)
_arguments "${_arguments_options[@]}" : \
'-o+[The optional path to a specific file that the signature is written to]:OUTPUT:_files' \
'--output=[The optional path to a specific file that the signature is written to]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key to use for signing the message:_default' \
':signature_type -- The signature type to use for the signature:_default' \
':message -- The path to a message for which to create a signature:_files' \
&& ret=0
;;
(tag)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key for which a tag is added:_default' \
':tag -- The tag to add to the key:_default' \
&& ret=0
;;
(untag)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key for which a tag is removed:_default' \
':tag -- The tag to remove from the key:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__key__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

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

    case $state in
    (cert)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-key-help-cert-command-$line[1]:"
        case $line[1] in
            (delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(csr)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(decrypt)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(encrypt)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(generate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(public-key)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(sign)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tag)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(untag)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(lock)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(metrics)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(namespace)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__namespace_commands" \
"*::: :->namespace" \
&& ret=0

    case $state in
    (namespace)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-namespace-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- The name of the namespace that is created:_default' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- The name of the namespace to remove:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__namespace__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-namespace-help-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(openpgp)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__openpgp_commands" \
"*::: :->openpgp" \
&& ret=0

    case $state in
    (openpgp)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-openpgp-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'-t+[The optional creation time of the certificate (defaults to now)]:TIME:_default' \
'--time=[The optional creation time of the certificate (defaults to now)]:TIME:_default' \
'-v+[The OpenPGP version the certificate is created with (defaults to "4")]:VERSION:_default' \
'--version=[The OpenPGP version the certificate is created with (defaults to "4")]:VERSION:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'--can-sign[Sets the signing key flag (default to set)]' \
'--cannot-sign[Clears the signing key flag]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key to use:_default' \
':user_id -- The User ID to use for the key:_default' \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
'-k+[An optional unique ID that is assigned to the imported key]:KEY_ID:_default' \
'--key-id=[An optional unique ID that is assigned to the imported key]:KEY_ID:_default' \
'*-t+[An optional list of tags that are assigned to the imported key]:TAGS:_default' \
'*--tags=[An optional list of tags that are assigned to the imported key]:TAGS:_default' \
'-l+[An optional label that is assigned to the imported key]:LABEL:_default' \
'--label=[An optional label that is assigned to the imported key]:LABEL:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':tsk_file -- The path to the Transferable Secret Key file to import:_files' \
&& ret=0
;;
(sign)
_arguments "${_arguments_options[@]}" : \
'-o+[The optional path to a specific output file]:OUTPUT:_files' \
'--output=[The optional path to a specific output file]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key to use:_default' \
':message -- The path to a message for which to create a signature:_files' \
&& ret=0
;;
(sign-state)
_arguments "${_arguments_options[@]}" : \
'-o+[The optional path to a specific output file]:OUTPUT:_files' \
'--output=[The optional path to a specific output file]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The ID of the key to use:_default' \
':input -- The path to a valid signature request file:_files' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__openpgp__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-openpgp-help-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(sign)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(sign-state)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(provision)
_arguments "${_arguments_options[@]}" : \
'-A+[The path to a file containing the admin passphrase]:ADMIN_PASSPHRASE_FILE:_default' \
'--admin-passphrase-file=[The path to a file containing the admin passphrase]:ADMIN_PASSPHRASE_FILE:_default' \
'-s+[The initial system time for the device]:SYSTEM_TIME:_default' \
'--system-time=[The initial system time for the device]:SYSTEM_TIME:_default' \
'-U+[The path to a file containing the unlock passphrase]:UNLOCK_PASSPHRASE_FILE:_default' \
'--unlock-passphrase-file=[The path to a file containing the unlock passphrase]:UNLOCK_PASSPHRASE_FILE:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(random)
_arguments "${_arguments_options[@]}" : \
'-o+[The optional path to a specific output file]:OUTPUT:_files' \
'--output=[The optional path to a specific output file]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':length -- The number of random bytes to return:_default' \
&& ret=0
;;
(system)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__system_commands" \
"*::: :->system" \
&& ret=0

    case $state in
    (system)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-system-command-$line[1]:"
        case $line[1] in
            (backup)
_arguments "${_arguments_options[@]}" : \
'-o+[The optional path to a specific output file]:OUTPUT:_files' \
'--output=[The optional path to a specific output file]:OUTPUT:_files' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-f[Write to output file even if it exists already]' \
'--force[Write to output file even if it exists already]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(factory-reset)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(reboot)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(restore)
_arguments "${_arguments_options[@]}" : \
'-b+[The path to a file containing the backup passphrase]:BACKUP_PASSPHRASE_FILE:_default' \
'--backup-passphrase-file=[The path to a file containing the backup passphrase]:BACKUP_PASSPHRASE_FILE:_default' \
'-s+[The new system time for the device]:SYSTEM_TIME:_default' \
'--system-time=[The new system time for the device]:SYSTEM_TIME:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':input -- The path to a valid NetHSM backup file:_files' \
&& ret=0
;;
(shutdown)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(upload-update)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':input -- The path to an update file:_files' \
&& ret=0
;;
(cancel-update)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(commit-update)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(validate-backup)
_arguments "${_arguments_options[@]}" : \
'-b+[The path to a file containing the backup passphrase]:BACKUP_PASSPHRASE_FILE:_default' \
'--backup-passphrase-file=[The path to a file containing the backup passphrase]:BACKUP_PASSPHRASE_FILE:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':input -- The path to the backup file to validate:_files' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__system__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-system-help-command-$line[1]:"
        case $line[1] in
            (backup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(factory-reset)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(reboot)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(restore)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(shutdown)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(upload-update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cancel-update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(commit-update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(validate-backup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(unlock)
_arguments "${_arguments_options[@]}" : \
'-U+[The path to a file containing the unlock passphrase]:UNLOCK_PASSPHRASE_FILE:_default' \
'--unlock-passphrase-file=[The path to a file containing the unlock passphrase]:UNLOCK_PASSPHRASE_FILE:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(user)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_nethsm__subcmd__user_commands" \
"*::: :->user" \
&& ret=0

    case $state in
    (user)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-user-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'-p+[The path to a file containing the new user'\''s passphrase]:PASSPHRASE_FILE:_default' \
'--passphrase-file=[The path to a file containing the new user'\''s passphrase]:PASSPHRASE_FILE:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':real_name -- The real name of the user that is created:_default' \
'::role -- The role of the user that is created:_default' \
'::name -- A unique name for the user that is created:_default' \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- The unique name of a user on the target device:_default' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(passphrase)
_arguments "${_arguments_options[@]}" : \
'-p+[The path to a file containing the user'\''s new passphrase]:PASSPHRASE_FILE:_default' \
'--passphrase-file=[The path to a file containing the user'\''s new passphrase]:PASSPHRASE_FILE:_default' \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- The name of the user on the target device:_default' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- The name of the user to remove:_default' \
&& ret=0
;;
(tag)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- The name of the user for which to add a tag:_default' \
':tag -- The tag to add for a user:_default' \
&& ret=0
;;
(untag)
_arguments "${_arguments_options[@]}" : \
'*-a+[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'*--auth-passphrase-file=[The path to a file containing a passphrase for authentication]:AUTH_PASSPHRASE_FILE:_default' \
'-c+[The path to a custom configuration file]:CONFIG:_files' \
'--config=[The path to a custom configuration file]:CONFIG:_files' \
'-l+[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'--label=[A label uniquely identifying a device in the configuration file]:LABEL:_default' \
'*-u+[A user name which is used for the command]:USER:_default' \
'*--user=[A user name which is used for the command]:USER:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':name -- The name of the user from which to remove a tag:_default' \
':tag -- The tag to remove from a user:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__user__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-user-help-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(passphrase)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tag)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(untag)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__help_commands" \
"*::: :->help" \
&& ret=0

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

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

    case $state in
    (get)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-help-config-get-command-$line[1]:"
        case $line[1] in
            (boot-mode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(logging)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(network)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(time)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-certificate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-csr)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-public-key)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(set)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__help__subcmd__config__subcmd__set_commands" \
"*::: :->set" \
&& ret=0

    case $state in
    (set)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-help-config-set-command-$line[1]:"
        case $line[1] in
            (backup-passphrase)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(boot-mode)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(logging)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(network)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(time)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-certificate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tls-generate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(unlock-passphrase)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(env)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__help__subcmd__env_commands" \
"*::: :->env" \
&& ret=0

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

    case $state in
    (add)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-help-env-add-command-$line[1]:"
        case $line[1] in
            (credentials)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(device)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(delete)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__help__subcmd__env__subcmd__delete_commands" \
"*::: :->delete" \
&& ret=0

    case $state in
    (delete)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-help-env-delete-command-$line[1]:"
        case $line[1] in
            (credentials)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(device)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(health)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__help__subcmd__health_commands" \
"*::: :->health" \
&& ret=0

    case $state in
    (health)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-help-health-command-$line[1]:"
        case $line[1] in
            (alive)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(ready)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(state)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(key)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__help__subcmd__key_commands" \
"*::: :->key" \
&& ret=0

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

    case $state in
    (cert)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-help-key-cert-command-$line[1]:"
        case $line[1] in
            (delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(csr)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(decrypt)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(encrypt)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(generate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(public-key)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(sign)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tag)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(untag)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(lock)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(metrics)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(namespace)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__help__subcmd__namespace_commands" \
"*::: :->namespace" \
&& ret=0

    case $state in
    (namespace)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-help-namespace-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(openpgp)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__help__subcmd__openpgp_commands" \
"*::: :->openpgp" \
&& ret=0

    case $state in
    (openpgp)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-help-openpgp-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(sign)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(sign-state)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(provision)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(random)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(system)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__help__subcmd__system_commands" \
"*::: :->system" \
&& ret=0

    case $state in
    (system)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-help-system-command-$line[1]:"
        case $line[1] in
            (backup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(factory-reset)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(reboot)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(restore)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(shutdown)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(upload-update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cancel-update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(commit-update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(validate-backup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(unlock)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(user)
_arguments "${_arguments_options[@]}" : \
":: :_nethsm__subcmd__help__subcmd__user_commands" \
"*::: :->user" \
&& ret=0

    case $state in
    (user)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:nethsm-help-user-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(passphrase)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tag)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(untag)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_nethsm_commands] )) ||
_nethsm_commands() {
    local commands; commands=(
'config:The "nethsm config" command' \
'env:The "nethsm env" command' \
'health:The "nethsm health" command' \
'info:The "nethsm info" command' \
'key:The "nethsm key" command' \
'lock:The "nethsm lock" command' \
'metrics:The "nethsm metrics" command' \
'namespace:The "nethsm namespace" command' \
'openpgp:The "nethsm openpgp" command' \
'provision:The "nethsm provision" command' \
'random:The "nethsm random" command' \
'system:The "nethsm system" command' \
'unlock:The "nethsm unlock" command' \
'user:The "nethsm user" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config_commands] )) ||
_nethsm__subcmd__config_commands() {
    local commands; commands=(
'get:The "nethsm config get" command' \
'set:The "nethsm config set" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm config commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get_commands] )) ||
_nethsm__subcmd__config__subcmd__get_commands() {
    local commands; commands=(
'boot-mode:The "nethsm config get boot-mode" command' \
'logging:The "nethsm config get logging" command' \
'network:The "nethsm config get network" command' \
'time:The "nethsm config get time" command' \
'tls-certificate:The "nethsm config get tls-certificate" command' \
'tls-csr:The "nethsm config get tls-csr" command' \
'tls-public-key:The "nethsm config get tls-public-key" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm config get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__boot-mode_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__boot-mode_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get boot-mode commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__help_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__help_commands() {
    local commands; commands=(
'boot-mode:The "nethsm config get boot-mode" command' \
'logging:The "nethsm config get logging" command' \
'network:The "nethsm config get network" command' \
'time:The "nethsm config get time" command' \
'tls-certificate:The "nethsm config get tls-certificate" command' \
'tls-csr:The "nethsm config get tls-csr" command' \
'tls-public-key:The "nethsm config get tls-public-key" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm config get help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__boot-mode_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__boot-mode_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get help boot-mode commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__logging_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__logging_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get help logging commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__network_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__network_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get help network commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__time_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__time_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get help time commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__tls-certificate_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__tls-certificate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get help tls-certificate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__tls-csr_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__tls-csr_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get help tls-csr commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__tls-public-key_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__help__subcmd__tls-public-key_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get help tls-public-key commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__logging_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__logging_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get logging commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__network_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__network_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get network commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__time_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__time_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get time commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__tls-certificate_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__tls-certificate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get tls-certificate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__tls-csr_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__tls-csr_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get tls-csr commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__get__subcmd__tls-public-key_commands] )) ||
_nethsm__subcmd__config__subcmd__get__subcmd__tls-public-key_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config get tls-public-key commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help_commands] )) ||
_nethsm__subcmd__config__subcmd__help_commands() {
    local commands; commands=(
'get:The "nethsm config get" command' \
'set:The "nethsm config set" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm config help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__get_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__get_commands() {
    local commands; commands=(
'boot-mode:The "nethsm config get boot-mode" command' \
'logging:The "nethsm config get logging" command' \
'network:The "nethsm config get network" command' \
'time:The "nethsm config get time" command' \
'tls-certificate:The "nethsm config get tls-certificate" command' \
'tls-csr:The "nethsm config get tls-csr" command' \
'tls-public-key:The "nethsm config get tls-public-key" command' \
    )
    _describe -t commands 'nethsm config help get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__boot-mode_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__boot-mode_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help get boot-mode commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__logging_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__logging_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help get logging commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__network_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__network_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help get network commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__time_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__time_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help get time commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__tls-certificate_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__tls-certificate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help get tls-certificate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__tls-csr_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__tls-csr_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help get tls-csr commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__tls-public-key_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__get__subcmd__tls-public-key_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help get tls-public-key commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__set_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__set_commands() {
    local commands; commands=(
'backup-passphrase:The "nethsm config set backup-passphrase" command' \
'boot-mode:The "nethsm config set boot-mode" command' \
'logging:The "nethsm config set logging" command' \
'network:The "nethsm config set network" command' \
'time:The "nethsm config set time" command' \
'tls-certificate:The "nethsm config set tls-certificate" command' \
'tls-generate:The "nethsm config set tls-generate" command' \
'unlock-passphrase:The "nethsm config set unlock-passphrase" command' \
    )
    _describe -t commands 'nethsm config help set commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__backup-passphrase_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__backup-passphrase_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help set backup-passphrase commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__boot-mode_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__boot-mode_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help set boot-mode commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__logging_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__logging_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help set logging commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__network_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__network_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help set network commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__time_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__time_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help set time commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__tls-certificate_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__tls-certificate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help set tls-certificate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__tls-generate_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__tls-generate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help set tls-generate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__unlock-passphrase_commands] )) ||
_nethsm__subcmd__config__subcmd__help__subcmd__set__subcmd__unlock-passphrase_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config help set unlock-passphrase commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set_commands] )) ||
_nethsm__subcmd__config__subcmd__set_commands() {
    local commands; commands=(
'backup-passphrase:The "nethsm config set backup-passphrase" command' \
'boot-mode:The "nethsm config set boot-mode" command' \
'logging:The "nethsm config set logging" command' \
'network:The "nethsm config set network" command' \
'time:The "nethsm config set time" command' \
'tls-certificate:The "nethsm config set tls-certificate" command' \
'tls-generate:The "nethsm config set tls-generate" command' \
'unlock-passphrase:The "nethsm config set unlock-passphrase" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm config set commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__backup-passphrase_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__backup-passphrase_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set backup-passphrase commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__boot-mode_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__boot-mode_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set boot-mode commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__help_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__help_commands() {
    local commands; commands=(
'backup-passphrase:The "nethsm config set backup-passphrase" command' \
'boot-mode:The "nethsm config set boot-mode" command' \
'logging:The "nethsm config set logging" command' \
'network:The "nethsm config set network" command' \
'time:The "nethsm config set time" command' \
'tls-certificate:The "nethsm config set tls-certificate" command' \
'tls-generate:The "nethsm config set tls-generate" command' \
'unlock-passphrase:The "nethsm config set unlock-passphrase" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm config set help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__backup-passphrase_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__backup-passphrase_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set help backup-passphrase commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__boot-mode_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__boot-mode_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set help boot-mode commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__logging_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__logging_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set help logging commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__network_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__network_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set help network commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__time_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__time_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set help time commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__tls-certificate_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__tls-certificate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set help tls-certificate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__tls-generate_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__tls-generate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set help tls-generate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__unlock-passphrase_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__help__subcmd__unlock-passphrase_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set help unlock-passphrase commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__logging_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__logging_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set logging commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__network_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__network_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set network commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__time_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__time_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set time commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__tls-certificate_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__tls-certificate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set tls-certificate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__tls-generate_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__tls-generate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set tls-generate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__config__subcmd__set__subcmd__unlock-passphrase_commands] )) ||
_nethsm__subcmd__config__subcmd__set__subcmd__unlock-passphrase_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm config set unlock-passphrase commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env_commands] )) ||
_nethsm__subcmd__env_commands() {
    local commands; commands=(
'add:The "netshm env add" command' \
'delete:The "netshm env delete" command' \
'list:List all items in the configuration file' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm env commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__add_commands] )) ||
_nethsm__subcmd__env__subcmd__add_commands() {
    local commands; commands=(
'credentials:The "netshm env add credentials" command' \
'device:The "netshm env add device" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm env add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__add__subcmd__credentials_commands] )) ||
_nethsm__subcmd__env__subcmd__add__subcmd__credentials_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env add credentials commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__add__subcmd__device_commands] )) ||
_nethsm__subcmd__env__subcmd__add__subcmd__device_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env add device commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__add__subcmd__help_commands] )) ||
_nethsm__subcmd__env__subcmd__add__subcmd__help_commands() {
    local commands; commands=(
'credentials:The "netshm env add credentials" command' \
'device:The "netshm env add device" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm env add help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__add__subcmd__help__subcmd__credentials_commands] )) ||
_nethsm__subcmd__env__subcmd__add__subcmd__help__subcmd__credentials_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env add help credentials commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__add__subcmd__help__subcmd__device_commands] )) ||
_nethsm__subcmd__env__subcmd__add__subcmd__help__subcmd__device_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env add help device commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__add__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__env__subcmd__add__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env add help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__delete_commands] )) ||
_nethsm__subcmd__env__subcmd__delete_commands() {
    local commands; commands=(
'credentials:The "nethsm env credentials" command' \
'device:The "nethsm env device" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm env delete commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__delete__subcmd__credentials_commands] )) ||
_nethsm__subcmd__env__subcmd__delete__subcmd__credentials_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env delete credentials commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__delete__subcmd__device_commands] )) ||
_nethsm__subcmd__env__subcmd__delete__subcmd__device_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env delete device commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__delete__subcmd__help_commands] )) ||
_nethsm__subcmd__env__subcmd__delete__subcmd__help_commands() {
    local commands; commands=(
'credentials:The "nethsm env credentials" command' \
'device:The "nethsm env device" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm env delete help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__delete__subcmd__help__subcmd__credentials_commands] )) ||
_nethsm__subcmd__env__subcmd__delete__subcmd__help__subcmd__credentials_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env delete help credentials commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__delete__subcmd__help__subcmd__device_commands] )) ||
_nethsm__subcmd__env__subcmd__delete__subcmd__help__subcmd__device_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env delete help device commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__delete__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__env__subcmd__delete__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env delete help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__help_commands] )) ||
_nethsm__subcmd__env__subcmd__help_commands() {
    local commands; commands=(
'add:The "netshm env add" command' \
'delete:The "netshm env delete" command' \
'list:List all items in the configuration file' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm env help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__help__subcmd__add_commands] )) ||
_nethsm__subcmd__env__subcmd__help__subcmd__add_commands() {
    local commands; commands=(
'credentials:The "netshm env add credentials" command' \
'device:The "netshm env add device" command' \
    )
    _describe -t commands 'nethsm env help add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__help__subcmd__add__subcmd__credentials_commands] )) ||
_nethsm__subcmd__env__subcmd__help__subcmd__add__subcmd__credentials_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env help add credentials commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__help__subcmd__add__subcmd__device_commands] )) ||
_nethsm__subcmd__env__subcmd__help__subcmd__add__subcmd__device_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env help add device commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__help__subcmd__delete_commands] )) ||
_nethsm__subcmd__env__subcmd__help__subcmd__delete_commands() {
    local commands; commands=(
'credentials:The "nethsm env credentials" command' \
'device:The "nethsm env device" command' \
    )
    _describe -t commands 'nethsm env help delete commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__help__subcmd__delete__subcmd__credentials_commands] )) ||
_nethsm__subcmd__env__subcmd__help__subcmd__delete__subcmd__credentials_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env help delete credentials commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__help__subcmd__delete__subcmd__device_commands] )) ||
_nethsm__subcmd__env__subcmd__help__subcmd__delete__subcmd__device_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env help delete device commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__env__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__help__subcmd__list_commands] )) ||
_nethsm__subcmd__env__subcmd__help__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env help list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__env__subcmd__list_commands] )) ||
_nethsm__subcmd__env__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm env list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__health_commands] )) ||
_nethsm__subcmd__health_commands() {
    local commands; commands=(
'alive:The "netshm health alive" command' \
'ready:The "netshm health ready" command' \
'state:The "netshm health state" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm health commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__health__subcmd__alive_commands] )) ||
_nethsm__subcmd__health__subcmd__alive_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm health alive commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__health__subcmd__help_commands] )) ||
_nethsm__subcmd__health__subcmd__help_commands() {
    local commands; commands=(
'alive:The "netshm health alive" command' \
'ready:The "netshm health ready" command' \
'state:The "netshm health state" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm health help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__health__subcmd__help__subcmd__alive_commands] )) ||
_nethsm__subcmd__health__subcmd__help__subcmd__alive_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm health help alive commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__health__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__health__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm health help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__health__subcmd__help__subcmd__ready_commands] )) ||
_nethsm__subcmd__health__subcmd__help__subcmd__ready_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm health help ready commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__health__subcmd__help__subcmd__state_commands] )) ||
_nethsm__subcmd__health__subcmd__help__subcmd__state_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm health help state commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__health__subcmd__ready_commands] )) ||
_nethsm__subcmd__health__subcmd__ready_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm health ready commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__health__subcmd__state_commands] )) ||
_nethsm__subcmd__health__subcmd__state_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm health state commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help_commands] )) ||
_nethsm__subcmd__help_commands() {
    local commands; commands=(
'config:The "nethsm config" command' \
'env:The "nethsm env" command' \
'health:The "nethsm health" command' \
'info:The "nethsm info" command' \
'key:The "nethsm key" command' \
'lock:The "nethsm lock" command' \
'metrics:The "nethsm metrics" command' \
'namespace:The "nethsm namespace" command' \
'openpgp:The "nethsm openpgp" command' \
'provision:The "nethsm provision" command' \
'random:The "nethsm random" command' \
'system:The "nethsm system" command' \
'unlock:The "nethsm unlock" command' \
'user:The "nethsm user" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config_commands] )) ||
_nethsm__subcmd__help__subcmd__config_commands() {
    local commands; commands=(
'get:The "nethsm config get" command' \
'set:The "nethsm config set" command' \
    )
    _describe -t commands 'nethsm help config commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__get_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__get_commands() {
    local commands; commands=(
'boot-mode:The "nethsm config get boot-mode" command' \
'logging:The "nethsm config get logging" command' \
'network:The "nethsm config get network" command' \
'time:The "nethsm config get time" command' \
'tls-certificate:The "nethsm config get tls-certificate" command' \
'tls-csr:The "nethsm config get tls-csr" command' \
'tls-public-key:The "nethsm config get tls-public-key" command' \
    )
    _describe -t commands 'nethsm help config get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__boot-mode_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__boot-mode_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config get boot-mode commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__logging_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__logging_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config get logging commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__network_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__network_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config get network commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__time_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__time_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config get time commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__tls-certificate_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__tls-certificate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config get tls-certificate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__tls-csr_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__tls-csr_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config get tls-csr commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__tls-public-key_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__get__subcmd__tls-public-key_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config get tls-public-key commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__set_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__set_commands() {
    local commands; commands=(
'backup-passphrase:The "nethsm config set backup-passphrase" command' \
'boot-mode:The "nethsm config set boot-mode" command' \
'logging:The "nethsm config set logging" command' \
'network:The "nethsm config set network" command' \
'time:The "nethsm config set time" command' \
'tls-certificate:The "nethsm config set tls-certificate" command' \
'tls-generate:The "nethsm config set tls-generate" command' \
'unlock-passphrase:The "nethsm config set unlock-passphrase" command' \
    )
    _describe -t commands 'nethsm help config set commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__backup-passphrase_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__backup-passphrase_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config set backup-passphrase commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__boot-mode_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__boot-mode_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config set boot-mode commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__logging_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__logging_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config set logging commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__network_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__network_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config set network commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__time_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__time_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config set time commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__tls-certificate_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__tls-certificate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config set tls-certificate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__tls-generate_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__tls-generate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config set tls-generate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__unlock-passphrase_commands] )) ||
_nethsm__subcmd__help__subcmd__config__subcmd__set__subcmd__unlock-passphrase_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help config set unlock-passphrase commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__env_commands] )) ||
_nethsm__subcmd__help__subcmd__env_commands() {
    local commands; commands=(
'add:The "netshm env add" command' \
'delete:The "netshm env delete" command' \
'list:List all items in the configuration file' \
    )
    _describe -t commands 'nethsm help env commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__env__subcmd__add_commands] )) ||
_nethsm__subcmd__help__subcmd__env__subcmd__add_commands() {
    local commands; commands=(
'credentials:The "netshm env add credentials" command' \
'device:The "netshm env add device" command' \
    )
    _describe -t commands 'nethsm help env add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__env__subcmd__add__subcmd__credentials_commands] )) ||
_nethsm__subcmd__help__subcmd__env__subcmd__add__subcmd__credentials_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help env add credentials commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__env__subcmd__add__subcmd__device_commands] )) ||
_nethsm__subcmd__help__subcmd__env__subcmd__add__subcmd__device_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help env add device commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__env__subcmd__delete_commands] )) ||
_nethsm__subcmd__help__subcmd__env__subcmd__delete_commands() {
    local commands; commands=(
'credentials:The "nethsm env credentials" command' \
'device:The "nethsm env device" command' \
    )
    _describe -t commands 'nethsm help env delete commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__env__subcmd__delete__subcmd__credentials_commands] )) ||
_nethsm__subcmd__help__subcmd__env__subcmd__delete__subcmd__credentials_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help env delete credentials commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__env__subcmd__delete__subcmd__device_commands] )) ||
_nethsm__subcmd__help__subcmd__env__subcmd__delete__subcmd__device_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help env delete device commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__env__subcmd__list_commands] )) ||
_nethsm__subcmd__help__subcmd__env__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help env list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__health_commands] )) ||
_nethsm__subcmd__help__subcmd__health_commands() {
    local commands; commands=(
'alive:The "netshm health alive" command' \
'ready:The "netshm health ready" command' \
'state:The "netshm health state" command' \
    )
    _describe -t commands 'nethsm help health commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__health__subcmd__alive_commands] )) ||
_nethsm__subcmd__help__subcmd__health__subcmd__alive_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help health alive commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__health__subcmd__ready_commands] )) ||
_nethsm__subcmd__help__subcmd__health__subcmd__ready_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help health ready commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__health__subcmd__state_commands] )) ||
_nethsm__subcmd__help__subcmd__health__subcmd__state_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help health state commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__info_commands] )) ||
_nethsm__subcmd__help__subcmd__info_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help info commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key_commands] )) ||
_nethsm__subcmd__help__subcmd__key_commands() {
    local commands; commands=(
'cert:The "nethsm key cert" command' \
'csr:The "nethsm key csr" command' \
'decrypt:The "nethsm key decrypt" command' \
'encrypt:The "nethsm key encrypt" command' \
'generate:The "nethsm key generate" command' \
'get:The "nethsm key get" command' \
'import:The "nethsm key import" command' \
'list:The "nethsm key list" command' \
'public-key:The "nethsm key public-key" command' \
'remove:The "nethsm key remove" command' \
'sign:The "nethsm key sign" command' \
'tag:The "nethsm key tag" command' \
'untag:The "nethsm key untag" command' \
    )
    _describe -t commands 'nethsm help key commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__cert_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__cert_commands() {
    local commands; commands=(
'delete:The "nethsm key cert delete" command' \
'get:The "nethsm key cert get" command' \
'import:The "nethsm key cert import" command' \
    )
    _describe -t commands 'nethsm help key cert commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__cert__subcmd__delete_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__cert__subcmd__delete_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key cert delete commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__cert__subcmd__get_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__cert__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key cert get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__cert__subcmd__import_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__cert__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key cert import commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__csr_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__csr_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key csr commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__decrypt_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__decrypt_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key decrypt commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__encrypt_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__encrypt_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key encrypt commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__generate_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__generate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key generate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__get_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__import_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key import commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__list_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__public-key_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__public-key_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key public-key commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__remove_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key remove commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__sign_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__sign_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key sign commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__tag_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__tag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key tag commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__key__subcmd__untag_commands] )) ||
_nethsm__subcmd__help__subcmd__key__subcmd__untag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help key untag commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__lock_commands] )) ||
_nethsm__subcmd__help__subcmd__lock_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help lock commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__metrics_commands] )) ||
_nethsm__subcmd__help__subcmd__metrics_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help metrics commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__namespace_commands] )) ||
_nethsm__subcmd__help__subcmd__namespace_commands() {
    local commands; commands=(
'add:The "nethsm namespace add" command' \
'list:The "nethsm namespace list" command' \
'remove:The "nethsm namespace remove" command' \
    )
    _describe -t commands 'nethsm help namespace commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__namespace__subcmd__add_commands] )) ||
_nethsm__subcmd__help__subcmd__namespace__subcmd__add_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help namespace add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__namespace__subcmd__list_commands] )) ||
_nethsm__subcmd__help__subcmd__namespace__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help namespace list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__namespace__subcmd__remove_commands] )) ||
_nethsm__subcmd__help__subcmd__namespace__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help namespace remove commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__openpgp_commands] )) ||
_nethsm__subcmd__help__subcmd__openpgp_commands() {
    local commands; commands=(
'add:The "nethsm openpgp add" command' \
'import:The "nethsm openpgp import" command' \
'sign:The "nethsm openpgp sign" command' \
'sign-state:The "nethsm openpgp sign-state" command' \
    )
    _describe -t commands 'nethsm help openpgp commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__openpgp__subcmd__add_commands] )) ||
_nethsm__subcmd__help__subcmd__openpgp__subcmd__add_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help openpgp add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__openpgp__subcmd__import_commands] )) ||
_nethsm__subcmd__help__subcmd__openpgp__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help openpgp import commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__openpgp__subcmd__sign_commands] )) ||
_nethsm__subcmd__help__subcmd__openpgp__subcmd__sign_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help openpgp sign commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__openpgp__subcmd__sign-state_commands] )) ||
_nethsm__subcmd__help__subcmd__openpgp__subcmd__sign-state_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help openpgp sign-state commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__provision_commands] )) ||
_nethsm__subcmd__help__subcmd__provision_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help provision commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__random_commands] )) ||
_nethsm__subcmd__help__subcmd__random_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help random commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__system_commands] )) ||
_nethsm__subcmd__help__subcmd__system_commands() {
    local commands; commands=(
'backup:The "nethsm system backup" command' \
'factory-reset:The "nethsm system factory-reset" command' \
'info:The "nethsm system info" command' \
'reboot:The "nethsm system reboot" command' \
'restore:The "nethsm system restore" command' \
'shutdown:The "nethsm system shutdown" command' \
'upload-update:The "nethsm system upload-update" command' \
'cancel-update:The "nethsm system cancel-update" command' \
'commit-update:The "nethsm system commit-update" command' \
'validate-backup:The "nethsm system validate-backup" command' \
    )
    _describe -t commands 'nethsm help system commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__system__subcmd__backup_commands] )) ||
_nethsm__subcmd__help__subcmd__system__subcmd__backup_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help system backup commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__system__subcmd__cancel-update_commands] )) ||
_nethsm__subcmd__help__subcmd__system__subcmd__cancel-update_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help system cancel-update commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__system__subcmd__commit-update_commands] )) ||
_nethsm__subcmd__help__subcmd__system__subcmd__commit-update_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help system commit-update commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__system__subcmd__factory-reset_commands] )) ||
_nethsm__subcmd__help__subcmd__system__subcmd__factory-reset_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help system factory-reset commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__system__subcmd__info_commands] )) ||
_nethsm__subcmd__help__subcmd__system__subcmd__info_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help system info commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__system__subcmd__reboot_commands] )) ||
_nethsm__subcmd__help__subcmd__system__subcmd__reboot_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help system reboot commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__system__subcmd__restore_commands] )) ||
_nethsm__subcmd__help__subcmd__system__subcmd__restore_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help system restore commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__system__subcmd__shutdown_commands] )) ||
_nethsm__subcmd__help__subcmd__system__subcmd__shutdown_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help system shutdown commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__system__subcmd__upload-update_commands] )) ||
_nethsm__subcmd__help__subcmd__system__subcmd__upload-update_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help system upload-update commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__system__subcmd__validate-backup_commands] )) ||
_nethsm__subcmd__help__subcmd__system__subcmd__validate-backup_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help system validate-backup commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__unlock_commands] )) ||
_nethsm__subcmd__help__subcmd__unlock_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help unlock commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__user_commands] )) ||
_nethsm__subcmd__help__subcmd__user_commands() {
    local commands; commands=(
'add:The "nethsm user add" command' \
'get:The "nethsm user get" command' \
'list:The "nethsm user list" command' \
'passphrase:The "nethsm user passphrase" command' \
'remove:The "nethsm user remove" command' \
'tag:The "nethsm user tag" command' \
'untag:The "nethsm user untag" command' \
    )
    _describe -t commands 'nethsm help user commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__user__subcmd__add_commands] )) ||
_nethsm__subcmd__help__subcmd__user__subcmd__add_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help user add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__user__subcmd__get_commands] )) ||
_nethsm__subcmd__help__subcmd__user__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help user get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__user__subcmd__list_commands] )) ||
_nethsm__subcmd__help__subcmd__user__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help user list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__user__subcmd__passphrase_commands] )) ||
_nethsm__subcmd__help__subcmd__user__subcmd__passphrase_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help user passphrase commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__user__subcmd__remove_commands] )) ||
_nethsm__subcmd__help__subcmd__user__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help user remove commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__user__subcmd__tag_commands] )) ||
_nethsm__subcmd__help__subcmd__user__subcmd__tag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help user tag commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__help__subcmd__user__subcmd__untag_commands] )) ||
_nethsm__subcmd__help__subcmd__user__subcmd__untag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm help user untag commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__info_commands] )) ||
_nethsm__subcmd__info_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm info commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key_commands] )) ||
_nethsm__subcmd__key_commands() {
    local commands; commands=(
'cert:The "nethsm key cert" command' \
'csr:The "nethsm key csr" command' \
'decrypt:The "nethsm key decrypt" command' \
'encrypt:The "nethsm key encrypt" command' \
'generate:The "nethsm key generate" command' \
'get:The "nethsm key get" command' \
'import:The "nethsm key import" command' \
'list:The "nethsm key list" command' \
'public-key:The "nethsm key public-key" command' \
'remove:The "nethsm key remove" command' \
'sign:The "nethsm key sign" command' \
'tag:The "nethsm key tag" command' \
'untag:The "nethsm key untag" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm key commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__cert_commands] )) ||
_nethsm__subcmd__key__subcmd__cert_commands() {
    local commands; commands=(
'delete:The "nethsm key cert delete" command' \
'get:The "nethsm key cert get" command' \
'import:The "nethsm key cert import" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm key cert commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__cert__subcmd__delete_commands] )) ||
_nethsm__subcmd__key__subcmd__cert__subcmd__delete_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key cert delete commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__cert__subcmd__get_commands] )) ||
_nethsm__subcmd__key__subcmd__cert__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key cert get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__cert__subcmd__help_commands] )) ||
_nethsm__subcmd__key__subcmd__cert__subcmd__help_commands() {
    local commands; commands=(
'delete:The "nethsm key cert delete" command' \
'get:The "nethsm key cert get" command' \
'import:The "nethsm key cert import" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm key cert help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__cert__subcmd__help__subcmd__delete_commands] )) ||
_nethsm__subcmd__key__subcmd__cert__subcmd__help__subcmd__delete_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key cert help delete commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__cert__subcmd__help__subcmd__get_commands] )) ||
_nethsm__subcmd__key__subcmd__cert__subcmd__help__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key cert help get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__cert__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__key__subcmd__cert__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key cert help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__cert__subcmd__help__subcmd__import_commands] )) ||
_nethsm__subcmd__key__subcmd__cert__subcmd__help__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key cert help import commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__cert__subcmd__import_commands] )) ||
_nethsm__subcmd__key__subcmd__cert__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key cert import commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__csr_commands] )) ||
_nethsm__subcmd__key__subcmd__csr_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key csr commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__decrypt_commands] )) ||
_nethsm__subcmd__key__subcmd__decrypt_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key decrypt commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__encrypt_commands] )) ||
_nethsm__subcmd__key__subcmd__encrypt_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key encrypt commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__generate_commands] )) ||
_nethsm__subcmd__key__subcmd__generate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key generate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__get_commands] )) ||
_nethsm__subcmd__key__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help_commands] )) ||
_nethsm__subcmd__key__subcmd__help_commands() {
    local commands; commands=(
'cert:The "nethsm key cert" command' \
'csr:The "nethsm key csr" command' \
'decrypt:The "nethsm key decrypt" command' \
'encrypt:The "nethsm key encrypt" command' \
'generate:The "nethsm key generate" command' \
'get:The "nethsm key get" command' \
'import:The "nethsm key import" command' \
'list:The "nethsm key list" command' \
'public-key:The "nethsm key public-key" command' \
'remove:The "nethsm key remove" command' \
'sign:The "nethsm key sign" command' \
'tag:The "nethsm key tag" command' \
'untag:The "nethsm key untag" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm key help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__cert_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__cert_commands() {
    local commands; commands=(
'delete:The "nethsm key cert delete" command' \
'get:The "nethsm key cert get" command' \
'import:The "nethsm key cert import" command' \
    )
    _describe -t commands 'nethsm key help cert commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__cert__subcmd__delete_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__cert__subcmd__delete_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help cert delete commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__cert__subcmd__get_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__cert__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help cert get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__cert__subcmd__import_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__cert__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help cert import commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__csr_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__csr_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help csr commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__decrypt_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__decrypt_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help decrypt commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__encrypt_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__encrypt_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help encrypt commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__generate_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__generate_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help generate commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__get_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__import_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help import commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__list_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__public-key_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__public-key_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help public-key commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__remove_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help remove commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__sign_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__sign_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help sign commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__tag_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__tag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help tag commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__help__subcmd__untag_commands] )) ||
_nethsm__subcmd__key__subcmd__help__subcmd__untag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key help untag commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__import_commands] )) ||
_nethsm__subcmd__key__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key import commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__list_commands] )) ||
_nethsm__subcmd__key__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__public-key_commands] )) ||
_nethsm__subcmd__key__subcmd__public-key_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key public-key commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__remove_commands] )) ||
_nethsm__subcmd__key__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key remove commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__sign_commands] )) ||
_nethsm__subcmd__key__subcmd__sign_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key sign commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__tag_commands] )) ||
_nethsm__subcmd__key__subcmd__tag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key tag commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__key__subcmd__untag_commands] )) ||
_nethsm__subcmd__key__subcmd__untag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm key untag commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__lock_commands] )) ||
_nethsm__subcmd__lock_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm lock commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__metrics_commands] )) ||
_nethsm__subcmd__metrics_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm metrics commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__namespace_commands] )) ||
_nethsm__subcmd__namespace_commands() {
    local commands; commands=(
'add:The "nethsm namespace add" command' \
'list:The "nethsm namespace list" command' \
'remove:The "nethsm namespace remove" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm namespace commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__namespace__subcmd__add_commands] )) ||
_nethsm__subcmd__namespace__subcmd__add_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm namespace add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__namespace__subcmd__help_commands] )) ||
_nethsm__subcmd__namespace__subcmd__help_commands() {
    local commands; commands=(
'add:The "nethsm namespace add" command' \
'list:The "nethsm namespace list" command' \
'remove:The "nethsm namespace remove" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm namespace help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__namespace__subcmd__help__subcmd__add_commands] )) ||
_nethsm__subcmd__namespace__subcmd__help__subcmd__add_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm namespace help add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__namespace__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__namespace__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm namespace help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__namespace__subcmd__help__subcmd__list_commands] )) ||
_nethsm__subcmd__namespace__subcmd__help__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm namespace help list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__namespace__subcmd__help__subcmd__remove_commands] )) ||
_nethsm__subcmd__namespace__subcmd__help__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm namespace help remove commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__namespace__subcmd__list_commands] )) ||
_nethsm__subcmd__namespace__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm namespace list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__namespace__subcmd__remove_commands] )) ||
_nethsm__subcmd__namespace__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm namespace remove commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__openpgp_commands] )) ||
_nethsm__subcmd__openpgp_commands() {
    local commands; commands=(
'add:The "nethsm openpgp add" command' \
'import:The "nethsm openpgp import" command' \
'sign:The "nethsm openpgp sign" command' \
'sign-state:The "nethsm openpgp sign-state" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm openpgp commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__openpgp__subcmd__add_commands] )) ||
_nethsm__subcmd__openpgp__subcmd__add_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm openpgp add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__openpgp__subcmd__help_commands] )) ||
_nethsm__subcmd__openpgp__subcmd__help_commands() {
    local commands; commands=(
'add:The "nethsm openpgp add" command' \
'import:The "nethsm openpgp import" command' \
'sign:The "nethsm openpgp sign" command' \
'sign-state:The "nethsm openpgp sign-state" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm openpgp help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__openpgp__subcmd__help__subcmd__add_commands] )) ||
_nethsm__subcmd__openpgp__subcmd__help__subcmd__add_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm openpgp help add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__openpgp__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__openpgp__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm openpgp help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__openpgp__subcmd__help__subcmd__import_commands] )) ||
_nethsm__subcmd__openpgp__subcmd__help__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm openpgp help import commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__openpgp__subcmd__help__subcmd__sign_commands] )) ||
_nethsm__subcmd__openpgp__subcmd__help__subcmd__sign_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm openpgp help sign commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__openpgp__subcmd__help__subcmd__sign-state_commands] )) ||
_nethsm__subcmd__openpgp__subcmd__help__subcmd__sign-state_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm openpgp help sign-state commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__openpgp__subcmd__import_commands] )) ||
_nethsm__subcmd__openpgp__subcmd__import_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm openpgp import commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__openpgp__subcmd__sign_commands] )) ||
_nethsm__subcmd__openpgp__subcmd__sign_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm openpgp sign commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__openpgp__subcmd__sign-state_commands] )) ||
_nethsm__subcmd__openpgp__subcmd__sign-state_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm openpgp sign-state commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__provision_commands] )) ||
_nethsm__subcmd__provision_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm provision commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__random_commands] )) ||
_nethsm__subcmd__random_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm random commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system_commands] )) ||
_nethsm__subcmd__system_commands() {
    local commands; commands=(
'backup:The "nethsm system backup" command' \
'factory-reset:The "nethsm system factory-reset" command' \
'info:The "nethsm system info" command' \
'reboot:The "nethsm system reboot" command' \
'restore:The "nethsm system restore" command' \
'shutdown:The "nethsm system shutdown" command' \
'upload-update:The "nethsm system upload-update" command' \
'cancel-update:The "nethsm system cancel-update" command' \
'commit-update:The "nethsm system commit-update" command' \
'validate-backup:The "nethsm system validate-backup" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm system commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__backup_commands] )) ||
_nethsm__subcmd__system__subcmd__backup_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system backup commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__cancel-update_commands] )) ||
_nethsm__subcmd__system__subcmd__cancel-update_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system cancel-update commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__commit-update_commands] )) ||
_nethsm__subcmd__system__subcmd__commit-update_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system commit-update commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__factory-reset_commands] )) ||
_nethsm__subcmd__system__subcmd__factory-reset_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system factory-reset commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help_commands] )) ||
_nethsm__subcmd__system__subcmd__help_commands() {
    local commands; commands=(
'backup:The "nethsm system backup" command' \
'factory-reset:The "nethsm system factory-reset" command' \
'info:The "nethsm system info" command' \
'reboot:The "nethsm system reboot" command' \
'restore:The "nethsm system restore" command' \
'shutdown:The "nethsm system shutdown" command' \
'upload-update:The "nethsm system upload-update" command' \
'cancel-update:The "nethsm system cancel-update" command' \
'commit-update:The "nethsm system commit-update" command' \
'validate-backup:The "nethsm system validate-backup" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm system help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help__subcmd__backup_commands] )) ||
_nethsm__subcmd__system__subcmd__help__subcmd__backup_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system help backup commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help__subcmd__cancel-update_commands] )) ||
_nethsm__subcmd__system__subcmd__help__subcmd__cancel-update_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system help cancel-update commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help__subcmd__commit-update_commands] )) ||
_nethsm__subcmd__system__subcmd__help__subcmd__commit-update_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system help commit-update commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help__subcmd__factory-reset_commands] )) ||
_nethsm__subcmd__system__subcmd__help__subcmd__factory-reset_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system help factory-reset commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__system__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help__subcmd__info_commands] )) ||
_nethsm__subcmd__system__subcmd__help__subcmd__info_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system help info commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help__subcmd__reboot_commands] )) ||
_nethsm__subcmd__system__subcmd__help__subcmd__reboot_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system help reboot commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help__subcmd__restore_commands] )) ||
_nethsm__subcmd__system__subcmd__help__subcmd__restore_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system help restore commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help__subcmd__shutdown_commands] )) ||
_nethsm__subcmd__system__subcmd__help__subcmd__shutdown_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system help shutdown commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help__subcmd__upload-update_commands] )) ||
_nethsm__subcmd__system__subcmd__help__subcmd__upload-update_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system help upload-update commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__help__subcmd__validate-backup_commands] )) ||
_nethsm__subcmd__system__subcmd__help__subcmd__validate-backup_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system help validate-backup commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__info_commands] )) ||
_nethsm__subcmd__system__subcmd__info_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system info commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__reboot_commands] )) ||
_nethsm__subcmd__system__subcmd__reboot_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system reboot commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__restore_commands] )) ||
_nethsm__subcmd__system__subcmd__restore_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system restore commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__shutdown_commands] )) ||
_nethsm__subcmd__system__subcmd__shutdown_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system shutdown commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__upload-update_commands] )) ||
_nethsm__subcmd__system__subcmd__upload-update_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system upload-update commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__system__subcmd__validate-backup_commands] )) ||
_nethsm__subcmd__system__subcmd__validate-backup_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm system validate-backup commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__unlock_commands] )) ||
_nethsm__subcmd__unlock_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm unlock commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user_commands] )) ||
_nethsm__subcmd__user_commands() {
    local commands; commands=(
'add:The "nethsm user add" command' \
'get:The "nethsm user get" command' \
'list:The "nethsm user list" command' \
'passphrase:The "nethsm user passphrase" command' \
'remove:The "nethsm user remove" command' \
'tag:The "nethsm user tag" command' \
'untag:The "nethsm user untag" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm user commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__add_commands] )) ||
_nethsm__subcmd__user__subcmd__add_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__get_commands] )) ||
_nethsm__subcmd__user__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__help_commands] )) ||
_nethsm__subcmd__user__subcmd__help_commands() {
    local commands; commands=(
'add:The "nethsm user add" command' \
'get:The "nethsm user get" command' \
'list:The "nethsm user list" command' \
'passphrase:The "nethsm user passphrase" command' \
'remove:The "nethsm user remove" command' \
'tag:The "nethsm user tag" command' \
'untag:The "nethsm user untag" command' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'nethsm user help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__help__subcmd__add_commands] )) ||
_nethsm__subcmd__user__subcmd__help__subcmd__add_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user help add commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__help__subcmd__get_commands] )) ||
_nethsm__subcmd__user__subcmd__help__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user help get commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__help__subcmd__help_commands] )) ||
_nethsm__subcmd__user__subcmd__help__subcmd__help_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user help help commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__help__subcmd__list_commands] )) ||
_nethsm__subcmd__user__subcmd__help__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user help list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__help__subcmd__passphrase_commands] )) ||
_nethsm__subcmd__user__subcmd__help__subcmd__passphrase_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user help passphrase commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__help__subcmd__remove_commands] )) ||
_nethsm__subcmd__user__subcmd__help__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user help remove commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__help__subcmd__tag_commands] )) ||
_nethsm__subcmd__user__subcmd__help__subcmd__tag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user help tag commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__help__subcmd__untag_commands] )) ||
_nethsm__subcmd__user__subcmd__help__subcmd__untag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user help untag commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__list_commands] )) ||
_nethsm__subcmd__user__subcmd__list_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user list commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__passphrase_commands] )) ||
_nethsm__subcmd__user__subcmd__passphrase_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user passphrase commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__remove_commands] )) ||
_nethsm__subcmd__user__subcmd__remove_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user remove commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__tag_commands] )) ||
_nethsm__subcmd__user__subcmd__tag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user tag commands' commands "$@"
}
(( $+functions[_nethsm__subcmd__user__subcmd__untag_commands] )) ||
_nethsm__subcmd__user__subcmd__untag_commands() {
    local commands; commands=()
    _describe -t commands 'nethsm user untag commands' commands "$@"
}

if [ "$funcstack[1]" = "_nethsm" ]; then
    _nethsm "$@"
else
    compdef _nethsm nethsm
fi
