#!/usr/bin/env bash
#
# athene Bash Completion
# =======================
#
# Bash completion support for the `athene` command,
# generated by [picocli](https://picocli.info/) version 4.7.7.
#
# Installation
# ------------
#
# 1. Source all completion scripts in your .bash_profile
#
#   cd $YOUR_APP_HOME/bin
#   for f in $(find . -name "*_completion"); do line=". $(pwd)/$f"; grep "$line" ~/.bash_profile || echo "$line" >> ~/.bash_profile; done
#
# 2. Open a new bash console, and type `athene [TAB][TAB]`
#
# 1a. Alternatively, if you have [bash-completion](https://github.com/scop/bash-completion) installed:
#     Place this file in a `bash-completion.d` folder:
#
#   * /etc/bash-completion.d
#   * /usr/local/etc/bash-completion.d
#   * ~/bash-completion.d
#
# Documentation
# -------------
# The script is called by bash whenever [TAB] or [TAB][TAB] is pressed after
# 'athene (..)'. By reading entered command line parameters,
# it determines possible bash completions and writes them to the COMPREPLY variable.
# Bash then completes the user input if only one entry is listed in the variable or
# shows the options if more than one is listed in COMPREPLY.
#
# References
# ----------
# [1] http://stackoverflow.com/a/12495480/1440785
# [2] http://tiswww.case.edu/php/chet/bash/FAQ
# [3] https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html
# [4] http://zsh.sourceforge.net/Doc/Release/Options.html#index-COMPLETE_005fALIASES
# [5] https://stackoverflow.com/questions/17042057/bash-check-element-in-array-for-elements-in-another-array/17042655#17042655
# [6] https://www.gnu.org/software/bash/manual/html_node/Programmable-Completion.html#Programmable-Completion
# [7] https://stackoverflow.com/questions/3249432/can-a-bash-tab-completion-script-be-used-in-zsh/27853970#27853970
#

if [ -n "$BASH_VERSION" ]; then
  # Enable programmable completion facilities when using bash (see [3])
  shopt -s progcomp
elif [ -n "$ZSH_VERSION" ]; then
  # Make alias a distinct command for completion purposes when using zsh (see [4])
  setopt COMPLETE_ALIASES
  alias compopt=complete

  # Enable bash completion in zsh (see [7])
  # Only initialize completions module once to avoid unregistering existing completions.
  if ! type compdef > /dev/null; then
    autoload -U +X compinit && compinit
  fi
  autoload -U +X bashcompinit && bashcompinit
fi

# CompWordsContainsArray takes an array and then checks
# if all elements of this array are in the global COMP_WORDS array.
#
# Returns zero (no error) if all elements of the array are in the COMP_WORDS array,
# otherwise returns 1 (error).
function CompWordsContainsArray() {
  declare -a localArray
  localArray=("$@")
  local findme
  for findme in "${localArray[@]}"; do
    if ElementNotInCompWords "$findme"; then return 1; fi
  done
  return 0
}
function ElementNotInCompWords() {
  local findme="$1"
  local element
  for element in "${COMP_WORDS[@]}"; do
    if [[ "$findme" = "$element" ]]; then return 1; fi
  done
  return 0
}

# The `currentPositionalIndex` function calculates the index of the current positional parameter.
#
# currentPositionalIndex takes three parameters:
# the command name,
# a space-separated string with the names of options that take a parameter, and
# a space-separated string with the names of boolean options (that don't take any params).
# When done, this function echos the current positional index to std_out.
#
# Example usage:
# local currIndex=$(currentPositionalIndex "mysubcommand" "$ARG_OPTS" "$FLAG_OPTS")
function currentPositionalIndex() {
  local commandName="$1"
  local optionsWithArgs="$2"
  local booleanOptions="$3"
  local previousWord
  local result=0

  for i in $(seq $((COMP_CWORD - 1)) -1 0); do
    previousWord=${COMP_WORDS[i]}
    if [ "${previousWord}" = "$commandName" ]; then
      break
    fi
    if [[ "${optionsWithArgs}" =~ ${previousWord} ]]; then
      ((result-=2)) # Arg option and its value not counted as positional param
    elif [[ "${booleanOptions}" =~ ${previousWord} ]]; then
      ((result-=1)) # Flag option itself not counted as positional param
    fi
    ((result++))
  done
  echo "$result"
}

# compReplyArray generates a list of completion suggestions based on an array, ensuring all values are properly escaped.
#
# compReplyArray takes a single parameter: the array of options to be displayed
#
# The output is echoed to std_out, one option per line.
#
# Example usage:
# local options=("foo", "bar", "baz")
# local IFS=$'\n'
# COMPREPLY=($(compReplyArray "${options[@]}"))
function compReplyArray() {
  declare -a options
  options=("$@")
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local i
  local quoted
  local optionList=()

  for (( i=0; i<${#options[@]}; i++ )); do
    # Double escape, since we want escaped values, but compgen -W expands the argument
    printf -v quoted %q "${options[i]}"
    quoted=\'${quoted//\'/\'\\\'\'}\'

    optionList[i]=$quoted
  done

  # We also have to add another round of escaping to $curr_word.
  curr_word=${curr_word//\\/\\\\}
  curr_word=${curr_word//\'/\\\'}

  # Actually generate completions.
  local IFS=$'\n'
  echo -e "$(compgen -W "${optionList[*]}" -- "$curr_word")"
}

# Bash completion entry point function.
# _complete_athene finds which commands and subcommands have been specified
# on the command line and delegates to the appropriate function
# to generate possible options and subcommands for the last specified subcommand.
function _complete_athene() {
  # Edge case: if command line has no space after subcommand, then don't assume this subcommand is selected (remkop/picocli#1468).
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} ls" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} list" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} find" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} stats" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} login" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} logon" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} logout" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} reindex" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} configuration" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} cfg" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} config" ];    then _picocli_athene; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven create-repository" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven create" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven cr" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven import" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven copy" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven cp" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven rename" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven mv" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven delete-repository" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven delete-repositry" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven delete" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven del" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven sync" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven list-packages" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven pkgs" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven packages" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven configuration" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven cfg" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} maven config" ];    then _picocli_athene_maven; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn create-repository" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn create" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn cr" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn import" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn copy" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn cp" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn rename" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn mv" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn delete-repository" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn delete-repositry" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn delete" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn del" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn sync" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn list-packages" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn pkgs" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn packages" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn configuration" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn cfg" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} mvn config" ];    then _picocli_athene_mvn; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 create-repository" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 create" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 cr" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 import" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 copy" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 cp" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 rename" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 mv" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 delete-repository" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 delete-repositry" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 delete" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 del" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 sync" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 list-packages" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 pkgs" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 packages" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 configuration" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 cfg" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} m2 config" ];    then _picocli_athene_m2; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian create-repository" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian create" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian cr" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian import" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian copy" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian cp" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian rename" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian mv" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian delete-repository" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian delete-repositry" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian delete" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian del" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian sync" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian list-packages" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian pkgs" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian packages" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian configuration" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian cfg" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} debian config" ];    then _picocli_athene_debian; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb create-repository" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb create" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb cr" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb import" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb copy" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb cp" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb rename" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb mv" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb delete-repository" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb delete-repositry" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb delete" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb del" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb sync" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb list-packages" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb pkgs" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb packages" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb configuration" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb cfg" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} deb config" ];    then _picocli_athene_deb; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm create-repository" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm create" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm cr" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm import" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm copy" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm cp" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm rename" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm mv" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm delete-repository" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm delete-repositry" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm delete" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm del" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm sync" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm list-packages" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm pkgs" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm packages" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm configuration" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm cfg" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rpm config" ];    then _picocli_athene_rpm; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum create-repository" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum create" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum cr" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum import" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum copy" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum cp" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum rename" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum mv" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum delete-repository" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum delete-repositry" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum delete" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum del" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum sync" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum list-packages" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum pkgs" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum packages" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum configuration" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum cfg" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} yum config" ];    then _picocli_athene_yum; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files create-repository" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files create" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files cr" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files import" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files copy" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files cp" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files rename" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files mv" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files delete-repository" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files delete-repositry" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files delete" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files del" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files sync" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files list-packages" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files pkgs" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files packages" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files configuration" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files cfg" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} files config" ];    then _picocli_athene_files; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file create-repository" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file create" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file cr" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file import" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file copy" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file cp" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file rename" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file mv" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file delete-repository" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file delete-repositry" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file delete" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file del" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file sync" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file list-packages" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file pkgs" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file packages" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file configuration" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file cfg" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} file config" ];    then _picocli_athene_file; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg create-key" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg new-key" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg sign" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg import-key" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg list-keys" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg ls" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg list" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg show-key" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg show" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg cat" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg delete-key" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg remove-key" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} gpg rm-key" ];    then _picocli_athene_gpg; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp create-key" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp new-key" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp sign" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp import-key" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp list-keys" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp ls" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp list" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp show-key" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp show" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp cat" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp delete-key" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp remove-key" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} openpgp rm-key" ];    then _picocli_athene_openpgp; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks create-key" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks new-key" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks sign" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks import-key" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks list-keys" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks ls" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks list" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks show-key" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks show" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks cat" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks delete-key" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks remove-key" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} jks rm-key" ];    then _picocli_athene_jks; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk create-key" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk new-key" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk import-key" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk sign" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk list-keys" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk ls" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk list" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk show-key" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk show" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk cat" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk delete-key" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk remove-key" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} spcpvk rm-key" ];    then _picocli_athene_spcpvk; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet create-key" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet new-key" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet sign" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet list-keys" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet ls" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet list" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet show-key" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet show" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet cat" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet delete-key" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet remove-key" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} safenet rm-key" ];    then _picocli_athene_safenet; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign create-key" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign new-key" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign import-key" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign sign" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign list-keys" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign ls" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign list" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign show-key" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign show" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign cat" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign delete-key" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign remove-key" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} rcodesign rm-key" ];    then _picocli_athene_rcodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign create-key" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign new-key" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign import-key" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign sign" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign list-keys" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign ls" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign list" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign show-key" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign show" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign cat" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign delete-key" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign remove-key" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} apple-codesign rm-key" ];    then _picocli_athene_applecodesign; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user list" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user ls" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user create" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user add" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user delete" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user remove" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user rm" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user del" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user set-password" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user passwd" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user reset-password" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user change-password" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user chpasswd" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user create-pat" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user pat-create" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user add-pat" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user pat-add" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user list-pats" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user list-pat" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user ls-pats" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user pats" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user delete-pat" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user remove-pat" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user rm-pat" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user del-pat" ];    then _picocli_athene_user; return $?; fi
  if [ "${COMP_LINE}" = "${COMP_WORDS[0]} user pat-delete" ];    then _picocli_athene_user; return $?; fi

  # Find the longest sequence of subcommands and call the bash function for that subcommand.
  local cmds0=(ls)
  local cmds1=(list)
  local cmds2=(find)
  local cmds3=(stats)
  local cmds4=(login)
  local cmds5=(logon)
  local cmds6=(logout)
  local cmds7=(maven)
  local cmds8=(mvn)
  local cmds9=(m2)
  local cmds10=(debian)
  local cmds11=(deb)
  local cmds12=(rpm)
  local cmds13=(yum)
  local cmds14=(files)
  local cmds15=(file)
  local cmds16=(gpg)
  local cmds17=(openpgp)
  local cmds18=(jks)
  local cmds19=(spcpvk)
  local cmds20=(safenet)
  local cmds21=(rcodesign)
  local cmds22=(apple-codesign)
  local cmds23=(user)
  local cmds24=(reindex)
  local cmds25=(configuration)
  local cmds26=(cfg)
  local cmds27=(config)
  local cmds28=(maven create-repository)
  local cmds29=(maven create)
  local cmds30=(maven cr)
  local cmds31=(maven import)
  local cmds32=(maven copy)
  local cmds33=(maven cp)
  local cmds34=(maven rename)
  local cmds35=(maven mv)
  local cmds36=(maven delete-repository)
  local cmds37=(maven delete-repositry)
  local cmds38=(maven delete)
  local cmds39=(maven del)
  local cmds40=(maven sync)
  local cmds41=(maven list-packages)
  local cmds42=(maven pkgs)
  local cmds43=(maven packages)
  local cmds44=(maven configuration)
  local cmds45=(maven cfg)
  local cmds46=(maven config)
  local cmds47=(mvn create-repository)
  local cmds48=(mvn create)
  local cmds49=(mvn cr)
  local cmds50=(mvn import)
  local cmds51=(mvn copy)
  local cmds52=(mvn cp)
  local cmds53=(mvn rename)
  local cmds54=(mvn mv)
  local cmds55=(mvn delete-repository)
  local cmds56=(mvn delete-repositry)
  local cmds57=(mvn delete)
  local cmds58=(mvn del)
  local cmds59=(mvn sync)
  local cmds60=(mvn list-packages)
  local cmds61=(mvn pkgs)
  local cmds62=(mvn packages)
  local cmds63=(mvn configuration)
  local cmds64=(mvn cfg)
  local cmds65=(mvn config)
  local cmds66=(m2 create-repository)
  local cmds67=(m2 create)
  local cmds68=(m2 cr)
  local cmds69=(m2 import)
  local cmds70=(m2 copy)
  local cmds71=(m2 cp)
  local cmds72=(m2 rename)
  local cmds73=(m2 mv)
  local cmds74=(m2 delete-repository)
  local cmds75=(m2 delete-repositry)
  local cmds76=(m2 delete)
  local cmds77=(m2 del)
  local cmds78=(m2 sync)
  local cmds79=(m2 list-packages)
  local cmds80=(m2 pkgs)
  local cmds81=(m2 packages)
  local cmds82=(m2 configuration)
  local cmds83=(m2 cfg)
  local cmds84=(m2 config)
  local cmds85=(debian create-repository)
  local cmds86=(debian create)
  local cmds87=(debian cr)
  local cmds88=(debian import)
  local cmds89=(debian copy)
  local cmds90=(debian cp)
  local cmds91=(debian rename)
  local cmds92=(debian mv)
  local cmds93=(debian delete-repository)
  local cmds94=(debian delete-repositry)
  local cmds95=(debian delete)
  local cmds96=(debian del)
  local cmds97=(debian sync)
  local cmds98=(debian list-packages)
  local cmds99=(debian pkgs)
  local cmds100=(debian packages)
  local cmds101=(debian configuration)
  local cmds102=(debian cfg)
  local cmds103=(debian config)
  local cmds104=(deb create-repository)
  local cmds105=(deb create)
  local cmds106=(deb cr)
  local cmds107=(deb import)
  local cmds108=(deb copy)
  local cmds109=(deb cp)
  local cmds110=(deb rename)
  local cmds111=(deb mv)
  local cmds112=(deb delete-repository)
  local cmds113=(deb delete-repositry)
  local cmds114=(deb delete)
  local cmds115=(deb del)
  local cmds116=(deb sync)
  local cmds117=(deb list-packages)
  local cmds118=(deb pkgs)
  local cmds119=(deb packages)
  local cmds120=(deb configuration)
  local cmds121=(deb cfg)
  local cmds122=(deb config)
  local cmds123=(rpm create-repository)
  local cmds124=(rpm create)
  local cmds125=(rpm cr)
  local cmds126=(rpm import)
  local cmds127=(rpm copy)
  local cmds128=(rpm cp)
  local cmds129=(rpm rename)
  local cmds130=(rpm mv)
  local cmds131=(rpm delete-repository)
  local cmds132=(rpm delete-repositry)
  local cmds133=(rpm delete)
  local cmds134=(rpm del)
  local cmds135=(rpm sync)
  local cmds136=(rpm list-packages)
  local cmds137=(rpm pkgs)
  local cmds138=(rpm packages)
  local cmds139=(rpm configuration)
  local cmds140=(rpm cfg)
  local cmds141=(rpm config)
  local cmds142=(yum create-repository)
  local cmds143=(yum create)
  local cmds144=(yum cr)
  local cmds145=(yum import)
  local cmds146=(yum copy)
  local cmds147=(yum cp)
  local cmds148=(yum rename)
  local cmds149=(yum mv)
  local cmds150=(yum delete-repository)
  local cmds151=(yum delete-repositry)
  local cmds152=(yum delete)
  local cmds153=(yum del)
  local cmds154=(yum sync)
  local cmds155=(yum list-packages)
  local cmds156=(yum pkgs)
  local cmds157=(yum packages)
  local cmds158=(yum configuration)
  local cmds159=(yum cfg)
  local cmds160=(yum config)
  local cmds161=(files create-repository)
  local cmds162=(files create)
  local cmds163=(files cr)
  local cmds164=(files import)
  local cmds165=(files copy)
  local cmds166=(files cp)
  local cmds167=(files rename)
  local cmds168=(files mv)
  local cmds169=(files delete-repository)
  local cmds170=(files delete-repositry)
  local cmds171=(files delete)
  local cmds172=(files del)
  local cmds173=(files sync)
  local cmds174=(files list-packages)
  local cmds175=(files pkgs)
  local cmds176=(files packages)
  local cmds177=(files configuration)
  local cmds178=(files cfg)
  local cmds179=(files config)
  local cmds180=(file create-repository)
  local cmds181=(file create)
  local cmds182=(file cr)
  local cmds183=(file import)
  local cmds184=(file copy)
  local cmds185=(file cp)
  local cmds186=(file rename)
  local cmds187=(file mv)
  local cmds188=(file delete-repository)
  local cmds189=(file delete-repositry)
  local cmds190=(file delete)
  local cmds191=(file del)
  local cmds192=(file sync)
  local cmds193=(file list-packages)
  local cmds194=(file pkgs)
  local cmds195=(file packages)
  local cmds196=(file configuration)
  local cmds197=(file cfg)
  local cmds198=(file config)
  local cmds199=(gpg create-key)
  local cmds200=(gpg new-key)
  local cmds201=(gpg sign)
  local cmds202=(gpg import-key)
  local cmds203=(gpg list-keys)
  local cmds204=(gpg ls)
  local cmds205=(gpg list)
  local cmds206=(gpg show-key)
  local cmds207=(gpg show)
  local cmds208=(gpg cat)
  local cmds209=(gpg delete-key)
  local cmds210=(gpg remove-key)
  local cmds211=(gpg rm-key)
  local cmds212=(openpgp create-key)
  local cmds213=(openpgp new-key)
  local cmds214=(openpgp sign)
  local cmds215=(openpgp import-key)
  local cmds216=(openpgp list-keys)
  local cmds217=(openpgp ls)
  local cmds218=(openpgp list)
  local cmds219=(openpgp show-key)
  local cmds220=(openpgp show)
  local cmds221=(openpgp cat)
  local cmds222=(openpgp delete-key)
  local cmds223=(openpgp remove-key)
  local cmds224=(openpgp rm-key)
  local cmds225=(jks create-key)
  local cmds226=(jks new-key)
  local cmds227=(jks sign)
  local cmds228=(jks import-key)
  local cmds229=(jks list-keys)
  local cmds230=(jks ls)
  local cmds231=(jks list)
  local cmds232=(jks show-key)
  local cmds233=(jks show)
  local cmds234=(jks cat)
  local cmds235=(jks delete-key)
  local cmds236=(jks remove-key)
  local cmds237=(jks rm-key)
  local cmds238=(spcpvk create-key)
  local cmds239=(spcpvk new-key)
  local cmds240=(spcpvk import-key)
  local cmds241=(spcpvk sign)
  local cmds242=(spcpvk list-keys)
  local cmds243=(spcpvk ls)
  local cmds244=(spcpvk list)
  local cmds245=(spcpvk show-key)
  local cmds246=(spcpvk show)
  local cmds247=(spcpvk cat)
  local cmds248=(spcpvk delete-key)
  local cmds249=(spcpvk remove-key)
  local cmds250=(spcpvk rm-key)
  local cmds251=(safenet create-key)
  local cmds252=(safenet new-key)
  local cmds253=(safenet sign)
  local cmds254=(safenet list-keys)
  local cmds255=(safenet ls)
  local cmds256=(safenet list)
  local cmds257=(safenet show-key)
  local cmds258=(safenet show)
  local cmds259=(safenet cat)
  local cmds260=(safenet delete-key)
  local cmds261=(safenet remove-key)
  local cmds262=(safenet rm-key)
  local cmds263=(rcodesign create-key)
  local cmds264=(rcodesign new-key)
  local cmds265=(rcodesign import-key)
  local cmds266=(rcodesign sign)
  local cmds267=(rcodesign list-keys)
  local cmds268=(rcodesign ls)
  local cmds269=(rcodesign list)
  local cmds270=(rcodesign show-key)
  local cmds271=(rcodesign show)
  local cmds272=(rcodesign cat)
  local cmds273=(rcodesign delete-key)
  local cmds274=(rcodesign remove-key)
  local cmds275=(rcodesign rm-key)
  local cmds276=(apple-codesign create-key)
  local cmds277=(apple-codesign new-key)
  local cmds278=(apple-codesign import-key)
  local cmds279=(apple-codesign sign)
  local cmds280=(apple-codesign list-keys)
  local cmds281=(apple-codesign ls)
  local cmds282=(apple-codesign list)
  local cmds283=(apple-codesign show-key)
  local cmds284=(apple-codesign show)
  local cmds285=(apple-codesign cat)
  local cmds286=(apple-codesign delete-key)
  local cmds287=(apple-codesign remove-key)
  local cmds288=(apple-codesign rm-key)
  local cmds289=(user list)
  local cmds290=(user ls)
  local cmds291=(user create)
  local cmds292=(user add)
  local cmds293=(user delete)
  local cmds294=(user remove)
  local cmds295=(user rm)
  local cmds296=(user del)
  local cmds297=(user set-password)
  local cmds298=(user passwd)
  local cmds299=(user reset-password)
  local cmds300=(user change-password)
  local cmds301=(user chpasswd)
  local cmds302=(user create-pat)
  local cmds303=(user pat-create)
  local cmds304=(user add-pat)
  local cmds305=(user pat-add)
  local cmds306=(user list-pats)
  local cmds307=(user list-pat)
  local cmds308=(user ls-pats)
  local cmds309=(user pats)
  local cmds310=(user delete-pat)
  local cmds311=(user remove-pat)
  local cmds312=(user rm-pat)
  local cmds313=(user del-pat)
  local cmds314=(user pat-delete)

  if CompWordsContainsArray "${cmds314[@]}"; then _picocli_athene_user_patdelete; return $?; fi
  if CompWordsContainsArray "${cmds313[@]}"; then _picocli_athene_user_delpat; return $?; fi
  if CompWordsContainsArray "${cmds312[@]}"; then _picocli_athene_user_rmpat; return $?; fi
  if CompWordsContainsArray "${cmds311[@]}"; then _picocli_athene_user_removepat; return $?; fi
  if CompWordsContainsArray "${cmds310[@]}"; then _picocli_athene_user_deletepat; return $?; fi
  if CompWordsContainsArray "${cmds309[@]}"; then _picocli_athene_user_pats; return $?; fi
  if CompWordsContainsArray "${cmds308[@]}"; then _picocli_athene_user_lspats; return $?; fi
  if CompWordsContainsArray "${cmds307[@]}"; then _picocli_athene_user_listpat; return $?; fi
  if CompWordsContainsArray "${cmds306[@]}"; then _picocli_athene_user_listpats; return $?; fi
  if CompWordsContainsArray "${cmds305[@]}"; then _picocli_athene_user_patadd; return $?; fi
  if CompWordsContainsArray "${cmds304[@]}"; then _picocli_athene_user_addpat; return $?; fi
  if CompWordsContainsArray "${cmds303[@]}"; then _picocli_athene_user_patcreate; return $?; fi
  if CompWordsContainsArray "${cmds302[@]}"; then _picocli_athene_user_createpat; return $?; fi
  if CompWordsContainsArray "${cmds301[@]}"; then _picocli_athene_user_chpasswd; return $?; fi
  if CompWordsContainsArray "${cmds300[@]}"; then _picocli_athene_user_changepassword; return $?; fi
  if CompWordsContainsArray "${cmds299[@]}"; then _picocli_athene_user_resetpassword; return $?; fi
  if CompWordsContainsArray "${cmds298[@]}"; then _picocli_athene_user_passwd; return $?; fi
  if CompWordsContainsArray "${cmds297[@]}"; then _picocli_athene_user_setpassword; return $?; fi
  if CompWordsContainsArray "${cmds296[@]}"; then _picocli_athene_user_del; return $?; fi
  if CompWordsContainsArray "${cmds295[@]}"; then _picocli_athene_user_rm; return $?; fi
  if CompWordsContainsArray "${cmds294[@]}"; then _picocli_athene_user_remove; return $?; fi
  if CompWordsContainsArray "${cmds293[@]}"; then _picocli_athene_user_delete; return $?; fi
  if CompWordsContainsArray "${cmds292[@]}"; then _picocli_athene_user_add; return $?; fi
  if CompWordsContainsArray "${cmds291[@]}"; then _picocli_athene_user_create; return $?; fi
  if CompWordsContainsArray "${cmds290[@]}"; then _picocli_athene_user_ls; return $?; fi
  if CompWordsContainsArray "${cmds289[@]}"; then _picocli_athene_user_list; return $?; fi
  if CompWordsContainsArray "${cmds288[@]}"; then _picocli_athene_applecodesign_rmkey; return $?; fi
  if CompWordsContainsArray "${cmds287[@]}"; then _picocli_athene_applecodesign_removekey; return $?; fi
  if CompWordsContainsArray "${cmds286[@]}"; then _picocli_athene_applecodesign_deletekey; return $?; fi
  if CompWordsContainsArray "${cmds285[@]}"; then _picocli_athene_applecodesign_cat; return $?; fi
  if CompWordsContainsArray "${cmds284[@]}"; then _picocli_athene_applecodesign_show; return $?; fi
  if CompWordsContainsArray "${cmds283[@]}"; then _picocli_athene_applecodesign_showkey; return $?; fi
  if CompWordsContainsArray "${cmds282[@]}"; then _picocli_athene_applecodesign_list; return $?; fi
  if CompWordsContainsArray "${cmds281[@]}"; then _picocli_athene_applecodesign_ls; return $?; fi
  if CompWordsContainsArray "${cmds280[@]}"; then _picocli_athene_applecodesign_listkeys; return $?; fi
  if CompWordsContainsArray "${cmds279[@]}"; then _picocli_athene_applecodesign_sign; return $?; fi
  if CompWordsContainsArray "${cmds278[@]}"; then _picocli_athene_applecodesign_importkey; return $?; fi
  if CompWordsContainsArray "${cmds277[@]}"; then _picocli_athene_applecodesign_newkey; return $?; fi
  if CompWordsContainsArray "${cmds276[@]}"; then _picocli_athene_applecodesign_createkey; return $?; fi
  if CompWordsContainsArray "${cmds275[@]}"; then _picocli_athene_rcodesign_rmkey; return $?; fi
  if CompWordsContainsArray "${cmds274[@]}"; then _picocli_athene_rcodesign_removekey; return $?; fi
  if CompWordsContainsArray "${cmds273[@]}"; then _picocli_athene_rcodesign_deletekey; return $?; fi
  if CompWordsContainsArray "${cmds272[@]}"; then _picocli_athene_rcodesign_cat; return $?; fi
  if CompWordsContainsArray "${cmds271[@]}"; then _picocli_athene_rcodesign_show; return $?; fi
  if CompWordsContainsArray "${cmds270[@]}"; then _picocli_athene_rcodesign_showkey; return $?; fi
  if CompWordsContainsArray "${cmds269[@]}"; then _picocli_athene_rcodesign_list; return $?; fi
  if CompWordsContainsArray "${cmds268[@]}"; then _picocli_athene_rcodesign_ls; return $?; fi
  if CompWordsContainsArray "${cmds267[@]}"; then _picocli_athene_rcodesign_listkeys; return $?; fi
  if CompWordsContainsArray "${cmds266[@]}"; then _picocli_athene_rcodesign_sign; return $?; fi
  if CompWordsContainsArray "${cmds265[@]}"; then _picocli_athene_rcodesign_importkey; return $?; fi
  if CompWordsContainsArray "${cmds264[@]}"; then _picocli_athene_rcodesign_newkey; return $?; fi
  if CompWordsContainsArray "${cmds263[@]}"; then _picocli_athene_rcodesign_createkey; return $?; fi
  if CompWordsContainsArray "${cmds262[@]}"; then _picocli_athene_safenet_rmkey; return $?; fi
  if CompWordsContainsArray "${cmds261[@]}"; then _picocli_athene_safenet_removekey; return $?; fi
  if CompWordsContainsArray "${cmds260[@]}"; then _picocli_athene_safenet_deletekey; return $?; fi
  if CompWordsContainsArray "${cmds259[@]}"; then _picocli_athene_safenet_cat; return $?; fi
  if CompWordsContainsArray "${cmds258[@]}"; then _picocli_athene_safenet_show; return $?; fi
  if CompWordsContainsArray "${cmds257[@]}"; then _picocli_athene_safenet_showkey; return $?; fi
  if CompWordsContainsArray "${cmds256[@]}"; then _picocli_athene_safenet_list; return $?; fi
  if CompWordsContainsArray "${cmds255[@]}"; then _picocli_athene_safenet_ls; return $?; fi
  if CompWordsContainsArray "${cmds254[@]}"; then _picocli_athene_safenet_listkeys; return $?; fi
  if CompWordsContainsArray "${cmds253[@]}"; then _picocli_athene_safenet_sign; return $?; fi
  if CompWordsContainsArray "${cmds252[@]}"; then _picocli_athene_safenet_newkey; return $?; fi
  if CompWordsContainsArray "${cmds251[@]}"; then _picocli_athene_safenet_createkey; return $?; fi
  if CompWordsContainsArray "${cmds250[@]}"; then _picocli_athene_spcpvk_rmkey; return $?; fi
  if CompWordsContainsArray "${cmds249[@]}"; then _picocli_athene_spcpvk_removekey; return $?; fi
  if CompWordsContainsArray "${cmds248[@]}"; then _picocli_athene_spcpvk_deletekey; return $?; fi
  if CompWordsContainsArray "${cmds247[@]}"; then _picocli_athene_spcpvk_cat; return $?; fi
  if CompWordsContainsArray "${cmds246[@]}"; then _picocli_athene_spcpvk_show; return $?; fi
  if CompWordsContainsArray "${cmds245[@]}"; then _picocli_athene_spcpvk_showkey; return $?; fi
  if CompWordsContainsArray "${cmds244[@]}"; then _picocli_athene_spcpvk_list; return $?; fi
  if CompWordsContainsArray "${cmds243[@]}"; then _picocli_athene_spcpvk_ls; return $?; fi
  if CompWordsContainsArray "${cmds242[@]}"; then _picocli_athene_spcpvk_listkeys; return $?; fi
  if CompWordsContainsArray "${cmds241[@]}"; then _picocli_athene_spcpvk_sign; return $?; fi
  if CompWordsContainsArray "${cmds240[@]}"; then _picocli_athene_spcpvk_importkey; return $?; fi
  if CompWordsContainsArray "${cmds239[@]}"; then _picocli_athene_spcpvk_newkey; return $?; fi
  if CompWordsContainsArray "${cmds238[@]}"; then _picocli_athene_spcpvk_createkey; return $?; fi
  if CompWordsContainsArray "${cmds237[@]}"; then _picocli_athene_jks_rmkey; return $?; fi
  if CompWordsContainsArray "${cmds236[@]}"; then _picocli_athene_jks_removekey; return $?; fi
  if CompWordsContainsArray "${cmds235[@]}"; then _picocli_athene_jks_deletekey; return $?; fi
  if CompWordsContainsArray "${cmds234[@]}"; then _picocli_athene_jks_cat; return $?; fi
  if CompWordsContainsArray "${cmds233[@]}"; then _picocli_athene_jks_show; return $?; fi
  if CompWordsContainsArray "${cmds232[@]}"; then _picocli_athene_jks_showkey; return $?; fi
  if CompWordsContainsArray "${cmds231[@]}"; then _picocli_athene_jks_list; return $?; fi
  if CompWordsContainsArray "${cmds230[@]}"; then _picocli_athene_jks_ls; return $?; fi
  if CompWordsContainsArray "${cmds229[@]}"; then _picocli_athene_jks_listkeys; return $?; fi
  if CompWordsContainsArray "${cmds228[@]}"; then _picocli_athene_jks_importkey; return $?; fi
  if CompWordsContainsArray "${cmds227[@]}"; then _picocli_athene_jks_sign; return $?; fi
  if CompWordsContainsArray "${cmds226[@]}"; then _picocli_athene_jks_newkey; return $?; fi
  if CompWordsContainsArray "${cmds225[@]}"; then _picocli_athene_jks_createkey; return $?; fi
  if CompWordsContainsArray "${cmds224[@]}"; then _picocli_athene_openpgp_rmkey; return $?; fi
  if CompWordsContainsArray "${cmds223[@]}"; then _picocli_athene_openpgp_removekey; return $?; fi
  if CompWordsContainsArray "${cmds222[@]}"; then _picocli_athene_openpgp_deletekey; return $?; fi
  if CompWordsContainsArray "${cmds221[@]}"; then _picocli_athene_openpgp_cat; return $?; fi
  if CompWordsContainsArray "${cmds220[@]}"; then _picocli_athene_openpgp_show; return $?; fi
  if CompWordsContainsArray "${cmds219[@]}"; then _picocli_athene_openpgp_showkey; return $?; fi
  if CompWordsContainsArray "${cmds218[@]}"; then _picocli_athene_openpgp_list; return $?; fi
  if CompWordsContainsArray "${cmds217[@]}"; then _picocli_athene_openpgp_ls; return $?; fi
  if CompWordsContainsArray "${cmds216[@]}"; then _picocli_athene_openpgp_listkeys; return $?; fi
  if CompWordsContainsArray "${cmds215[@]}"; then _picocli_athene_openpgp_importkey; return $?; fi
  if CompWordsContainsArray "${cmds214[@]}"; then _picocli_athene_openpgp_sign; return $?; fi
  if CompWordsContainsArray "${cmds213[@]}"; then _picocli_athene_openpgp_newkey; return $?; fi
  if CompWordsContainsArray "${cmds212[@]}"; then _picocli_athene_openpgp_createkey; return $?; fi
  if CompWordsContainsArray "${cmds211[@]}"; then _picocli_athene_gpg_rmkey; return $?; fi
  if CompWordsContainsArray "${cmds210[@]}"; then _picocli_athene_gpg_removekey; return $?; fi
  if CompWordsContainsArray "${cmds209[@]}"; then _picocli_athene_gpg_deletekey; return $?; fi
  if CompWordsContainsArray "${cmds208[@]}"; then _picocli_athene_gpg_cat; return $?; fi
  if CompWordsContainsArray "${cmds207[@]}"; then _picocli_athene_gpg_show; return $?; fi
  if CompWordsContainsArray "${cmds206[@]}"; then _picocli_athene_gpg_showkey; return $?; fi
  if CompWordsContainsArray "${cmds205[@]}"; then _picocli_athene_gpg_list; return $?; fi
  if CompWordsContainsArray "${cmds204[@]}"; then _picocli_athene_gpg_ls; return $?; fi
  if CompWordsContainsArray "${cmds203[@]}"; then _picocli_athene_gpg_listkeys; return $?; fi
  if CompWordsContainsArray "${cmds202[@]}"; then _picocli_athene_gpg_importkey; return $?; fi
  if CompWordsContainsArray "${cmds201[@]}"; then _picocli_athene_gpg_sign; return $?; fi
  if CompWordsContainsArray "${cmds200[@]}"; then _picocli_athene_gpg_newkey; return $?; fi
  if CompWordsContainsArray "${cmds199[@]}"; then _picocli_athene_gpg_createkey; return $?; fi
  if CompWordsContainsArray "${cmds198[@]}"; then _picocli_athene_file_config; return $?; fi
  if CompWordsContainsArray "${cmds197[@]}"; then _picocli_athene_file_cfg; return $?; fi
  if CompWordsContainsArray "${cmds196[@]}"; then _picocli_athene_file_configuration; return $?; fi
  if CompWordsContainsArray "${cmds195[@]}"; then _picocli_athene_file_packages; return $?; fi
  if CompWordsContainsArray "${cmds194[@]}"; then _picocli_athene_file_pkgs; return $?; fi
  if CompWordsContainsArray "${cmds193[@]}"; then _picocli_athene_file_listpackages; return $?; fi
  if CompWordsContainsArray "${cmds192[@]}"; then _picocli_athene_file_sync; return $?; fi
  if CompWordsContainsArray "${cmds191[@]}"; then _picocli_athene_file_del; return $?; fi
  if CompWordsContainsArray "${cmds190[@]}"; then _picocli_athene_file_delete; return $?; fi
  if CompWordsContainsArray "${cmds189[@]}"; then _picocli_athene_file_deleterepositry; return $?; fi
  if CompWordsContainsArray "${cmds188[@]}"; then _picocli_athene_file_deleterepository; return $?; fi
  if CompWordsContainsArray "${cmds187[@]}"; then _picocli_athene_file_mv; return $?; fi
  if CompWordsContainsArray "${cmds186[@]}"; then _picocli_athene_file_rename; return $?; fi
  if CompWordsContainsArray "${cmds185[@]}"; then _picocli_athene_file_cp; return $?; fi
  if CompWordsContainsArray "${cmds184[@]}"; then _picocli_athene_file_copy; return $?; fi
  if CompWordsContainsArray "${cmds183[@]}"; then _picocli_athene_file_import; return $?; fi
  if CompWordsContainsArray "${cmds182[@]}"; then _picocli_athene_file_cr; return $?; fi
  if CompWordsContainsArray "${cmds181[@]}"; then _picocli_athene_file_create; return $?; fi
  if CompWordsContainsArray "${cmds180[@]}"; then _picocli_athene_file_createrepository; return $?; fi
  if CompWordsContainsArray "${cmds179[@]}"; then _picocli_athene_files_config; return $?; fi
  if CompWordsContainsArray "${cmds178[@]}"; then _picocli_athene_files_cfg; return $?; fi
  if CompWordsContainsArray "${cmds177[@]}"; then _picocli_athene_files_configuration; return $?; fi
  if CompWordsContainsArray "${cmds176[@]}"; then _picocli_athene_files_packages; return $?; fi
  if CompWordsContainsArray "${cmds175[@]}"; then _picocli_athene_files_pkgs; return $?; fi
  if CompWordsContainsArray "${cmds174[@]}"; then _picocli_athene_files_listpackages; return $?; fi
  if CompWordsContainsArray "${cmds173[@]}"; then _picocli_athene_files_sync; return $?; fi
  if CompWordsContainsArray "${cmds172[@]}"; then _picocli_athene_files_del; return $?; fi
  if CompWordsContainsArray "${cmds171[@]}"; then _picocli_athene_files_delete; return $?; fi
  if CompWordsContainsArray "${cmds170[@]}"; then _picocli_athene_files_deleterepositry; return $?; fi
  if CompWordsContainsArray "${cmds169[@]}"; then _picocli_athene_files_deleterepository; return $?; fi
  if CompWordsContainsArray "${cmds168[@]}"; then _picocli_athene_files_mv; return $?; fi
  if CompWordsContainsArray "${cmds167[@]}"; then _picocli_athene_files_rename; return $?; fi
  if CompWordsContainsArray "${cmds166[@]}"; then _picocli_athene_files_cp; return $?; fi
  if CompWordsContainsArray "${cmds165[@]}"; then _picocli_athene_files_copy; return $?; fi
  if CompWordsContainsArray "${cmds164[@]}"; then _picocli_athene_files_import; return $?; fi
  if CompWordsContainsArray "${cmds163[@]}"; then _picocli_athene_files_cr; return $?; fi
  if CompWordsContainsArray "${cmds162[@]}"; then _picocli_athene_files_create; return $?; fi
  if CompWordsContainsArray "${cmds161[@]}"; then _picocli_athene_files_createrepository; return $?; fi
  if CompWordsContainsArray "${cmds160[@]}"; then _picocli_athene_yum_config; return $?; fi
  if CompWordsContainsArray "${cmds159[@]}"; then _picocli_athene_yum_cfg; return $?; fi
  if CompWordsContainsArray "${cmds158[@]}"; then _picocli_athene_yum_configuration; return $?; fi
  if CompWordsContainsArray "${cmds157[@]}"; then _picocli_athene_yum_packages; return $?; fi
  if CompWordsContainsArray "${cmds156[@]}"; then _picocli_athene_yum_pkgs; return $?; fi
  if CompWordsContainsArray "${cmds155[@]}"; then _picocli_athene_yum_listpackages; return $?; fi
  if CompWordsContainsArray "${cmds154[@]}"; then _picocli_athene_yum_sync; return $?; fi
  if CompWordsContainsArray "${cmds153[@]}"; then _picocli_athene_yum_del; return $?; fi
  if CompWordsContainsArray "${cmds152[@]}"; then _picocli_athene_yum_delete; return $?; fi
  if CompWordsContainsArray "${cmds151[@]}"; then _picocli_athene_yum_deleterepositry; return $?; fi
  if CompWordsContainsArray "${cmds150[@]}"; then _picocli_athene_yum_deleterepository; return $?; fi
  if CompWordsContainsArray "${cmds149[@]}"; then _picocli_athene_yum_mv; return $?; fi
  if CompWordsContainsArray "${cmds148[@]}"; then _picocli_athene_yum_rename; return $?; fi
  if CompWordsContainsArray "${cmds147[@]}"; then _picocli_athene_yum_cp; return $?; fi
  if CompWordsContainsArray "${cmds146[@]}"; then _picocli_athene_yum_copy; return $?; fi
  if CompWordsContainsArray "${cmds145[@]}"; then _picocli_athene_yum_import; return $?; fi
  if CompWordsContainsArray "${cmds144[@]}"; then _picocli_athene_yum_cr; return $?; fi
  if CompWordsContainsArray "${cmds143[@]}"; then _picocli_athene_yum_create; return $?; fi
  if CompWordsContainsArray "${cmds142[@]}"; then _picocli_athene_yum_createrepository; return $?; fi
  if CompWordsContainsArray "${cmds141[@]}"; then _picocli_athene_rpm_config; return $?; fi
  if CompWordsContainsArray "${cmds140[@]}"; then _picocli_athene_rpm_cfg; return $?; fi
  if CompWordsContainsArray "${cmds139[@]}"; then _picocli_athene_rpm_configuration; return $?; fi
  if CompWordsContainsArray "${cmds138[@]}"; then _picocli_athene_rpm_packages; return $?; fi
  if CompWordsContainsArray "${cmds137[@]}"; then _picocli_athene_rpm_pkgs; return $?; fi
  if CompWordsContainsArray "${cmds136[@]}"; then _picocli_athene_rpm_listpackages; return $?; fi
  if CompWordsContainsArray "${cmds135[@]}"; then _picocli_athene_rpm_sync; return $?; fi
  if CompWordsContainsArray "${cmds134[@]}"; then _picocli_athene_rpm_del; return $?; fi
  if CompWordsContainsArray "${cmds133[@]}"; then _picocli_athene_rpm_delete; return $?; fi
  if CompWordsContainsArray "${cmds132[@]}"; then _picocli_athene_rpm_deleterepositry; return $?; fi
  if CompWordsContainsArray "${cmds131[@]}"; then _picocli_athene_rpm_deleterepository; return $?; fi
  if CompWordsContainsArray "${cmds130[@]}"; then _picocli_athene_rpm_mv; return $?; fi
  if CompWordsContainsArray "${cmds129[@]}"; then _picocli_athene_rpm_rename; return $?; fi
  if CompWordsContainsArray "${cmds128[@]}"; then _picocli_athene_rpm_cp; return $?; fi
  if CompWordsContainsArray "${cmds127[@]}"; then _picocli_athene_rpm_copy; return $?; fi
  if CompWordsContainsArray "${cmds126[@]}"; then _picocli_athene_rpm_import; return $?; fi
  if CompWordsContainsArray "${cmds125[@]}"; then _picocli_athene_rpm_cr; return $?; fi
  if CompWordsContainsArray "${cmds124[@]}"; then _picocli_athene_rpm_create; return $?; fi
  if CompWordsContainsArray "${cmds123[@]}"; then _picocli_athene_rpm_createrepository; return $?; fi
  if CompWordsContainsArray "${cmds122[@]}"; then _picocli_athene_deb_config; return $?; fi
  if CompWordsContainsArray "${cmds121[@]}"; then _picocli_athene_deb_cfg; return $?; fi
  if CompWordsContainsArray "${cmds120[@]}"; then _picocli_athene_deb_configuration; return $?; fi
  if CompWordsContainsArray "${cmds119[@]}"; then _picocli_athene_deb_packages; return $?; fi
  if CompWordsContainsArray "${cmds118[@]}"; then _picocli_athene_deb_pkgs; return $?; fi
  if CompWordsContainsArray "${cmds117[@]}"; then _picocli_athene_deb_listpackages; return $?; fi
  if CompWordsContainsArray "${cmds116[@]}"; then _picocli_athene_deb_sync; return $?; fi
  if CompWordsContainsArray "${cmds115[@]}"; then _picocli_athene_deb_del; return $?; fi
  if CompWordsContainsArray "${cmds114[@]}"; then _picocli_athene_deb_delete; return $?; fi
  if CompWordsContainsArray "${cmds113[@]}"; then _picocli_athene_deb_deleterepositry; return $?; fi
  if CompWordsContainsArray "${cmds112[@]}"; then _picocli_athene_deb_deleterepository; return $?; fi
  if CompWordsContainsArray "${cmds111[@]}"; then _picocli_athene_deb_mv; return $?; fi
  if CompWordsContainsArray "${cmds110[@]}"; then _picocli_athene_deb_rename; return $?; fi
  if CompWordsContainsArray "${cmds109[@]}"; then _picocli_athene_deb_cp; return $?; fi
  if CompWordsContainsArray "${cmds108[@]}"; then _picocli_athene_deb_copy; return $?; fi
  if CompWordsContainsArray "${cmds107[@]}"; then _picocli_athene_deb_import; return $?; fi
  if CompWordsContainsArray "${cmds106[@]}"; then _picocli_athene_deb_cr; return $?; fi
  if CompWordsContainsArray "${cmds105[@]}"; then _picocli_athene_deb_create; return $?; fi
  if CompWordsContainsArray "${cmds104[@]}"; then _picocli_athene_deb_createrepository; return $?; fi
  if CompWordsContainsArray "${cmds103[@]}"; then _picocli_athene_debian_config; return $?; fi
  if CompWordsContainsArray "${cmds102[@]}"; then _picocli_athene_debian_cfg; return $?; fi
  if CompWordsContainsArray "${cmds101[@]}"; then _picocli_athene_debian_configuration; return $?; fi
  if CompWordsContainsArray "${cmds100[@]}"; then _picocli_athene_debian_packages; return $?; fi
  if CompWordsContainsArray "${cmds99[@]}"; then _picocli_athene_debian_pkgs; return $?; fi
  if CompWordsContainsArray "${cmds98[@]}"; then _picocli_athene_debian_listpackages; return $?; fi
  if CompWordsContainsArray "${cmds97[@]}"; then _picocli_athene_debian_sync; return $?; fi
  if CompWordsContainsArray "${cmds96[@]}"; then _picocli_athene_debian_del; return $?; fi
  if CompWordsContainsArray "${cmds95[@]}"; then _picocli_athene_debian_delete; return $?; fi
  if CompWordsContainsArray "${cmds94[@]}"; then _picocli_athene_debian_deleterepositry; return $?; fi
  if CompWordsContainsArray "${cmds93[@]}"; then _picocli_athene_debian_deleterepository; return $?; fi
  if CompWordsContainsArray "${cmds92[@]}"; then _picocli_athene_debian_mv; return $?; fi
  if CompWordsContainsArray "${cmds91[@]}"; then _picocli_athene_debian_rename; return $?; fi
  if CompWordsContainsArray "${cmds90[@]}"; then _picocli_athene_debian_cp; return $?; fi
  if CompWordsContainsArray "${cmds89[@]}"; then _picocli_athene_debian_copy; return $?; fi
  if CompWordsContainsArray "${cmds88[@]}"; then _picocli_athene_debian_import; return $?; fi
  if CompWordsContainsArray "${cmds87[@]}"; then _picocli_athene_debian_cr; return $?; fi
  if CompWordsContainsArray "${cmds86[@]}"; then _picocli_athene_debian_create; return $?; fi
  if CompWordsContainsArray "${cmds85[@]}"; then _picocli_athene_debian_createrepository; return $?; fi
  if CompWordsContainsArray "${cmds84[@]}"; then _picocli_athene_m2_config; return $?; fi
  if CompWordsContainsArray "${cmds83[@]}"; then _picocli_athene_m2_cfg; return $?; fi
  if CompWordsContainsArray "${cmds82[@]}"; then _picocli_athene_m2_configuration; return $?; fi
  if CompWordsContainsArray "${cmds81[@]}"; then _picocli_athene_m2_packages; return $?; fi
  if CompWordsContainsArray "${cmds80[@]}"; then _picocli_athene_m2_pkgs; return $?; fi
  if CompWordsContainsArray "${cmds79[@]}"; then _picocli_athene_m2_listpackages; return $?; fi
  if CompWordsContainsArray "${cmds78[@]}"; then _picocli_athene_m2_sync; return $?; fi
  if CompWordsContainsArray "${cmds77[@]}"; then _picocli_athene_m2_del; return $?; fi
  if CompWordsContainsArray "${cmds76[@]}"; then _picocli_athene_m2_delete; return $?; fi
  if CompWordsContainsArray "${cmds75[@]}"; then _picocli_athene_m2_deleterepositry; return $?; fi
  if CompWordsContainsArray "${cmds74[@]}"; then _picocli_athene_m2_deleterepository; return $?; fi
  if CompWordsContainsArray "${cmds73[@]}"; then _picocli_athene_m2_mv; return $?; fi
  if CompWordsContainsArray "${cmds72[@]}"; then _picocli_athene_m2_rename; return $?; fi
  if CompWordsContainsArray "${cmds71[@]}"; then _picocli_athene_m2_cp; return $?; fi
  if CompWordsContainsArray "${cmds70[@]}"; then _picocli_athene_m2_copy; return $?; fi
  if CompWordsContainsArray "${cmds69[@]}"; then _picocli_athene_m2_import; return $?; fi
  if CompWordsContainsArray "${cmds68[@]}"; then _picocli_athene_m2_cr; return $?; fi
  if CompWordsContainsArray "${cmds67[@]}"; then _picocli_athene_m2_create; return $?; fi
  if CompWordsContainsArray "${cmds66[@]}"; then _picocli_athene_m2_createrepository; return $?; fi
  if CompWordsContainsArray "${cmds65[@]}"; then _picocli_athene_mvn_config; return $?; fi
  if CompWordsContainsArray "${cmds64[@]}"; then _picocli_athene_mvn_cfg; return $?; fi
  if CompWordsContainsArray "${cmds63[@]}"; then _picocli_athene_mvn_configuration; return $?; fi
  if CompWordsContainsArray "${cmds62[@]}"; then _picocli_athene_mvn_packages; return $?; fi
  if CompWordsContainsArray "${cmds61[@]}"; then _picocli_athene_mvn_pkgs; return $?; fi
  if CompWordsContainsArray "${cmds60[@]}"; then _picocli_athene_mvn_listpackages; return $?; fi
  if CompWordsContainsArray "${cmds59[@]}"; then _picocli_athene_mvn_sync; return $?; fi
  if CompWordsContainsArray "${cmds58[@]}"; then _picocli_athene_mvn_del; return $?; fi
  if CompWordsContainsArray "${cmds57[@]}"; then _picocli_athene_mvn_delete; return $?; fi
  if CompWordsContainsArray "${cmds56[@]}"; then _picocli_athene_mvn_deleterepositry; return $?; fi
  if CompWordsContainsArray "${cmds55[@]}"; then _picocli_athene_mvn_deleterepository; return $?; fi
  if CompWordsContainsArray "${cmds54[@]}"; then _picocli_athene_mvn_mv; return $?; fi
  if CompWordsContainsArray "${cmds53[@]}"; then _picocli_athene_mvn_rename; return $?; fi
  if CompWordsContainsArray "${cmds52[@]}"; then _picocli_athene_mvn_cp; return $?; fi
  if CompWordsContainsArray "${cmds51[@]}"; then _picocli_athene_mvn_copy; return $?; fi
  if CompWordsContainsArray "${cmds50[@]}"; then _picocli_athene_mvn_import; return $?; fi
  if CompWordsContainsArray "${cmds49[@]}"; then _picocli_athene_mvn_cr; return $?; fi
  if CompWordsContainsArray "${cmds48[@]}"; then _picocli_athene_mvn_create; return $?; fi
  if CompWordsContainsArray "${cmds47[@]}"; then _picocli_athene_mvn_createrepository; return $?; fi
  if CompWordsContainsArray "${cmds46[@]}"; then _picocli_athene_maven_config; return $?; fi
  if CompWordsContainsArray "${cmds45[@]}"; then _picocli_athene_maven_cfg; return $?; fi
  if CompWordsContainsArray "${cmds44[@]}"; then _picocli_athene_maven_configuration; return $?; fi
  if CompWordsContainsArray "${cmds43[@]}"; then _picocli_athene_maven_packages; return $?; fi
  if CompWordsContainsArray "${cmds42[@]}"; then _picocli_athene_maven_pkgs; return $?; fi
  if CompWordsContainsArray "${cmds41[@]}"; then _picocli_athene_maven_listpackages; return $?; fi
  if CompWordsContainsArray "${cmds40[@]}"; then _picocli_athene_maven_sync; return $?; fi
  if CompWordsContainsArray "${cmds39[@]}"; then _picocli_athene_maven_del; return $?; fi
  if CompWordsContainsArray "${cmds38[@]}"; then _picocli_athene_maven_delete; return $?; fi
  if CompWordsContainsArray "${cmds37[@]}"; then _picocli_athene_maven_deleterepositry; return $?; fi
  if CompWordsContainsArray "${cmds36[@]}"; then _picocli_athene_maven_deleterepository; return $?; fi
  if CompWordsContainsArray "${cmds35[@]}"; then _picocli_athene_maven_mv; return $?; fi
  if CompWordsContainsArray "${cmds34[@]}"; then _picocli_athene_maven_rename; return $?; fi
  if CompWordsContainsArray "${cmds33[@]}"; then _picocli_athene_maven_cp; return $?; fi
  if CompWordsContainsArray "${cmds32[@]}"; then _picocli_athene_maven_copy; return $?; fi
  if CompWordsContainsArray "${cmds31[@]}"; then _picocli_athene_maven_import; return $?; fi
  if CompWordsContainsArray "${cmds30[@]}"; then _picocli_athene_maven_cr; return $?; fi
  if CompWordsContainsArray "${cmds29[@]}"; then _picocli_athene_maven_create; return $?; fi
  if CompWordsContainsArray "${cmds28[@]}"; then _picocli_athene_maven_createrepository; return $?; fi
  if CompWordsContainsArray "${cmds27[@]}"; then _picocli_athene_config; return $?; fi
  if CompWordsContainsArray "${cmds26[@]}"; then _picocli_athene_cfg; return $?; fi
  if CompWordsContainsArray "${cmds25[@]}"; then _picocli_athene_configuration; return $?; fi
  if CompWordsContainsArray "${cmds24[@]}"; then _picocli_athene_reindex; return $?; fi
  if CompWordsContainsArray "${cmds23[@]}"; then _picocli_athene_user; return $?; fi
  if CompWordsContainsArray "${cmds22[@]}"; then _picocli_athene_applecodesign; return $?; fi
  if CompWordsContainsArray "${cmds21[@]}"; then _picocli_athene_rcodesign; return $?; fi
  if CompWordsContainsArray "${cmds20[@]}"; then _picocli_athene_safenet; return $?; fi
  if CompWordsContainsArray "${cmds19[@]}"; then _picocli_athene_spcpvk; return $?; fi
  if CompWordsContainsArray "${cmds18[@]}"; then _picocli_athene_jks; return $?; fi
  if CompWordsContainsArray "${cmds17[@]}"; then _picocli_athene_openpgp; return $?; fi
  if CompWordsContainsArray "${cmds16[@]}"; then _picocli_athene_gpg; return $?; fi
  if CompWordsContainsArray "${cmds15[@]}"; then _picocli_athene_file; return $?; fi
  if CompWordsContainsArray "${cmds14[@]}"; then _picocli_athene_files; return $?; fi
  if CompWordsContainsArray "${cmds13[@]}"; then _picocli_athene_yum; return $?; fi
  if CompWordsContainsArray "${cmds12[@]}"; then _picocli_athene_rpm; return $?; fi
  if CompWordsContainsArray "${cmds11[@]}"; then _picocli_athene_deb; return $?; fi
  if CompWordsContainsArray "${cmds10[@]}"; then _picocli_athene_debian; return $?; fi
  if CompWordsContainsArray "${cmds9[@]}"; then _picocli_athene_m2; return $?; fi
  if CompWordsContainsArray "${cmds8[@]}"; then _picocli_athene_mvn; return $?; fi
  if CompWordsContainsArray "${cmds7[@]}"; then _picocli_athene_maven; return $?; fi
  if CompWordsContainsArray "${cmds6[@]}"; then _picocli_athene_logout; return $?; fi
  if CompWordsContainsArray "${cmds5[@]}"; then _picocli_athene_logon; return $?; fi
  if CompWordsContainsArray "${cmds4[@]}"; then _picocli_athene_login; return $?; fi
  if CompWordsContainsArray "${cmds3[@]}"; then _picocli_athene_stats; return $?; fi
  if CompWordsContainsArray "${cmds2[@]}"; then _picocli_athene_find; return $?; fi
  if CompWordsContainsArray "${cmds1[@]}"; then _picocli_athene_list; return $?; fi
  if CompWordsContainsArray "${cmds0[@]}"; then _picocli_athene_ls; return $?; fi

  # No subcommands were specified; generate completions for the top-level command.
  _picocli_athene; return $?;
}

# Generates completions for the options and subcommands of the `athene` command.
function _picocli_athene() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands="ls list find stats login logon logout maven mvn m2 debian deb rpm yum files file gpg openpgp jks spcpvk safenet rcodesign apple-codesign user reindex configuration cfg config"
  local flag_opts="'-I' '--ignore-ssl-trust' '-X' '--verbose-exceptions' '-h' '--help' '-V' '--version'"
  local arg_opts="'--api' '--username' '--password' '--pat' '-L' '--log-level' '-D' '--sysprop'"
  local LEVEL_option_args=("TRACE" "DEBUG" "INFO" "WARN" "ERROR") # --log-level values

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--api')
      return
      ;;
    '--username')
      return
      ;;
    '--password')
      return
      ;;
    '--pat')
      return
      ;;
    '-L'|'--log-level')
      local IFS=$'\n'
      COMPREPLY=( $( compReplyArray "${LEVEL_option_args[@]}" ) )
      return $?
      ;;
    '-D'|'--sysprop')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `ls` subcommand.
function _picocli_athene_ls() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'-l' '--long'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list` subcommand.
function _picocli_athene_list() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'-l' '--long'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `find` subcommand.
function _picocli_athene_find() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `stats` subcommand.
function _picocli_athene_stats() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts="'--text' '--raw'"
  local arg_opts="'--metric'"
  local metricName_option_args=("packages" "files" "bytes" "namespaces" "uploads" "downloads" "uploadBytes" "downloadBytes") # --metric values

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--metric')
      local IFS=$'\n'
      COMPREPLY=( $( compReplyArray "${metricName_option_args[@]}" ) )
      return $?
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `login` subcommand.
function _picocli_athene_login() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts="'--password-stdin' '--use-oauth' '-O'"
  local arg_opts="'--username' '-U' '--password' '-P'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--username'|'-U')
      return
      ;;
    '--password'|'-P')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `logon` subcommand.
function _picocli_athene_logon() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts="'--password-stdin' '--use-oauth' '-O'"
  local arg_opts="'--username' '-U' '--password' '-P'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--username'|'-U')
      return
      ;;
    '--password'|'-P')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `logout` subcommand.
function _picocli_athene_logout() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `maven` subcommand.
function _picocli_athene_maven() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-repository create cr import copy cp rename mv delete-repository delete-repositry delete del sync list-packages pkgs packages configuration cfg config"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `mvn` subcommand.
function _picocli_athene_mvn() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-repository create cr import copy cp rename mv delete-repository delete-repositry delete del sync list-packages pkgs packages configuration cfg config"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `m2` subcommand.
function _picocli_athene_m2() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-repository create cr import copy cp rename mv delete-repository delete-repositry delete del sync list-packages pkgs packages configuration cfg config"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `debian` subcommand.
function _picocli_athene_debian() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-repository create cr import copy cp rename mv delete-repository delete-repositry delete del sync list-packages pkgs packages configuration cfg config"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `deb` subcommand.
function _picocli_athene_deb() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-repository create cr import copy cp rename mv delete-repository delete-repositry delete del sync list-packages pkgs packages configuration cfg config"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rpm` subcommand.
function _picocli_athene_rpm() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-repository create cr import copy cp rename mv delete-repository delete-repositry delete del sync list-packages pkgs packages configuration cfg config"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `yum` subcommand.
function _picocli_athene_yum() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-repository create cr import copy cp rename mv delete-repository delete-repositry delete del sync list-packages pkgs packages configuration cfg config"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `files` subcommand.
function _picocli_athene_files() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-repository create cr import copy cp rename mv delete-repository delete-repositry delete del sync list-packages pkgs packages configuration cfg config"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `file` subcommand.
function _picocli_athene_file() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-repository create cr import copy cp rename mv delete-repository delete-repositry delete del sync list-packages pkgs packages configuration cfg config"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `gpg` subcommand.
function _picocli_athene_gpg() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-key new-key sign import-key list-keys ls list show-key show cat delete-key remove-key rm-key"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `openpgp` subcommand.
function _picocli_athene_openpgp() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-key new-key sign import-key list-keys ls list show-key show cat delete-key remove-key rm-key"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `jks` subcommand.
function _picocli_athene_jks() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-key new-key sign import-key list-keys ls list show-key show cat delete-key remove-key rm-key"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `spcpvk` subcommand.
function _picocli_athene_spcpvk() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-key new-key import-key sign list-keys ls list show-key show cat delete-key remove-key rm-key"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `safenet` subcommand.
function _picocli_athene_safenet() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-key new-key sign list-keys ls list show-key show cat delete-key remove-key rm-key"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rcodesign` subcommand.
function _picocli_athene_rcodesign() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-key new-key import-key sign list-keys ls list show-key show cat delete-key remove-key rm-key"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `apple-codesign` subcommand.
function _picocli_athene_applecodesign() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="create-key new-key import-key sign list-keys ls list show-key show cat delete-key remove-key rm-key"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `user` subcommand.
function _picocli_athene_user() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands="list ls create add delete remove rm del set-password passwd reset-password change-password chpasswd create-pat pat-create add-pat pat-add list-pats list-pat ls-pats pats delete-pat remove-pat rm-pat del-pat pat-delete"
  local flag_opts="'-h' '--help' '-V' '--version'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `reindex` subcommand.
function _picocli_athene_reindex() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `configuration` subcommand.
function _picocli_athene_configuration() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cfg` subcommand.
function _picocli_athene_cfg() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `config` subcommand.
function _picocli_athene_config() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-repository` subcommand.
function _picocli_athene_maven_createrepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create` subcommand.
function _picocli_athene_maven_create() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cr` subcommand.
function _picocli_athene_maven_cr() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import` subcommand.
function _picocli_athene_maven_import() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--passphrase' '-k' '--key' '-a' '--artifactId' '-g' '--groupId' '-v' '--version' '-c' '--classifier' '-p' '--packaging' '-n' '--name' '-d' '--description'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--passphrase')
      return
      ;;
    '-k'|'--key')
      return
      ;;
    '-a'|'--artifactId')
      return
      ;;
    '-g'|'--groupId')
      return
      ;;
    '-v'|'--version')
      return
      ;;
    '-c'|'--classifier')
      return
      ;;
    '-p'|'--packaging')
      return
      ;;
    '-n'|'--name')
      return
      ;;
    '-d'|'--description')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local currIndex
    currIndex=$(currentPositionalIndex "import" "${arg_opts}" "${flag_opts}")
    if (( currIndex >= 1 && currIndex <= 2147483647 )); then
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      positionals=$( compgen -f -- "${curr_word}" ) # files
    fi
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `copy` subcommand.
function _picocli_athene_maven_copy() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cp` subcommand.
function _picocli_athene_maven_cp() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rename` subcommand.
function _picocli_athene_maven_rename() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `mv` subcommand.
function _picocli_athene_maven_mv() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repository` subcommand.
function _picocli_athene_maven_deleterepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repositry` subcommand.
function _picocli_athene_maven_deleterepositry() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete` subcommand.
function _picocli_athene_maven_delete() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `del` subcommand.
function _picocli_athene_maven_del() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sync` subcommand.
function _picocli_athene_maven_sync() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-packages` subcommand.
function _picocli_athene_maven_listpackages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pkgs` subcommand.
function _picocli_athene_maven_pkgs() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `packages` subcommand.
function _picocli_athene_maven_packages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `configuration` subcommand.
function _picocli_athene_maven_configuration() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cfg` subcommand.
function _picocli_athene_maven_cfg() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `config` subcommand.
function _picocli_athene_maven_config() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-repository` subcommand.
function _picocli_athene_mvn_createrepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create` subcommand.
function _picocli_athene_mvn_create() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cr` subcommand.
function _picocli_athene_mvn_cr() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import` subcommand.
function _picocli_athene_mvn_import() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--passphrase' '-k' '--key' '-a' '--artifactId' '-g' '--groupId' '-v' '--version' '-c' '--classifier' '-p' '--packaging' '-n' '--name' '-d' '--description'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--passphrase')
      return
      ;;
    '-k'|'--key')
      return
      ;;
    '-a'|'--artifactId')
      return
      ;;
    '-g'|'--groupId')
      return
      ;;
    '-v'|'--version')
      return
      ;;
    '-c'|'--classifier')
      return
      ;;
    '-p'|'--packaging')
      return
      ;;
    '-n'|'--name')
      return
      ;;
    '-d'|'--description')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local currIndex
    currIndex=$(currentPositionalIndex "import" "${arg_opts}" "${flag_opts}")
    if (( currIndex >= 1 && currIndex <= 2147483647 )); then
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      positionals=$( compgen -f -- "${curr_word}" ) # files
    fi
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `copy` subcommand.
function _picocli_athene_mvn_copy() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cp` subcommand.
function _picocli_athene_mvn_cp() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rename` subcommand.
function _picocli_athene_mvn_rename() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `mv` subcommand.
function _picocli_athene_mvn_mv() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repository` subcommand.
function _picocli_athene_mvn_deleterepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repositry` subcommand.
function _picocli_athene_mvn_deleterepositry() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete` subcommand.
function _picocli_athene_mvn_delete() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `del` subcommand.
function _picocli_athene_mvn_del() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sync` subcommand.
function _picocli_athene_mvn_sync() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-packages` subcommand.
function _picocli_athene_mvn_listpackages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pkgs` subcommand.
function _picocli_athene_mvn_pkgs() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `packages` subcommand.
function _picocli_athene_mvn_packages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `configuration` subcommand.
function _picocli_athene_mvn_configuration() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cfg` subcommand.
function _picocli_athene_mvn_cfg() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `config` subcommand.
function _picocli_athene_mvn_config() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-repository` subcommand.
function _picocli_athene_m2_createrepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create` subcommand.
function _picocli_athene_m2_create() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cr` subcommand.
function _picocli_athene_m2_cr() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import` subcommand.
function _picocli_athene_m2_import() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--passphrase' '-k' '--key' '-a' '--artifactId' '-g' '--groupId' '-v' '--version' '-c' '--classifier' '-p' '--packaging' '-n' '--name' '-d' '--description'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--passphrase')
      return
      ;;
    '-k'|'--key')
      return
      ;;
    '-a'|'--artifactId')
      return
      ;;
    '-g'|'--groupId')
      return
      ;;
    '-v'|'--version')
      return
      ;;
    '-c'|'--classifier')
      return
      ;;
    '-p'|'--packaging')
      return
      ;;
    '-n'|'--name')
      return
      ;;
    '-d'|'--description')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local currIndex
    currIndex=$(currentPositionalIndex "import" "${arg_opts}" "${flag_opts}")
    if (( currIndex >= 1 && currIndex <= 2147483647 )); then
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      positionals=$( compgen -f -- "${curr_word}" ) # files
    fi
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `copy` subcommand.
function _picocli_athene_m2_copy() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cp` subcommand.
function _picocli_athene_m2_cp() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rename` subcommand.
function _picocli_athene_m2_rename() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `mv` subcommand.
function _picocli_athene_m2_mv() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repository` subcommand.
function _picocli_athene_m2_deleterepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repositry` subcommand.
function _picocli_athene_m2_deleterepositry() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete` subcommand.
function _picocli_athene_m2_delete() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `del` subcommand.
function _picocli_athene_m2_del() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sync` subcommand.
function _picocli_athene_m2_sync() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-packages` subcommand.
function _picocli_athene_m2_listpackages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pkgs` subcommand.
function _picocli_athene_m2_pkgs() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `packages` subcommand.
function _picocli_athene_m2_packages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `configuration` subcommand.
function _picocli_athene_m2_configuration() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cfg` subcommand.
function _picocli_athene_m2_cfg() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `config` subcommand.
function _picocli_athene_m2_config() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-repository` subcommand.
function _picocli_athene_debian_createrepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key' '-d' '--distribution' '-c' '--components' '-A' '--archs' '--architectures'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
    '-d'|'--distribution')
      return
      ;;
    '-c'|'--components')
      return
      ;;
    '-A'|'--archs'|'--architectures')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create` subcommand.
function _picocli_athene_debian_create() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key' '-d' '--distribution' '-c' '--components' '-A' '--archs' '--architectures'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
    '-d'|'--distribution')
      return
      ;;
    '-c'|'--components')
      return
      ;;
    '-A'|'--archs'|'--architectures')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cr` subcommand.
function _picocli_athene_debian_cr() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key' '-d' '--distribution' '-c' '--components' '-A' '--archs' '--architectures'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
    '-d'|'--distribution')
      return
      ;;
    '-c'|'--components')
      return
      ;;
    '-A'|'--archs'|'--architectures')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import` subcommand.
function _picocli_athene_debian_import() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--passphrase' '-k' '--key' '-s' '--section' '-p' '--priority' '-d' '--distribution' '-c' '--component'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--passphrase')
      return
      ;;
    '-k'|'--key')
      return
      ;;
    '-s'|'--section')
      return
      ;;
    '-p'|'--priority')
      return
      ;;
    '-d'|'--distribution')
      return
      ;;
    '-c'|'--component')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local currIndex
    currIndex=$(currentPositionalIndex "import" "${arg_opts}" "${flag_opts}")
    if (( currIndex >= 1 && currIndex <= 2147483647 )); then
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      positionals=$( compgen -f -- "${curr_word}" ) # files
    fi
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `copy` subcommand.
function _picocli_athene_debian_copy() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cp` subcommand.
function _picocli_athene_debian_cp() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rename` subcommand.
function _picocli_athene_debian_rename() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `mv` subcommand.
function _picocli_athene_debian_mv() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repository` subcommand.
function _picocli_athene_debian_deleterepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repositry` subcommand.
function _picocli_athene_debian_deleterepositry() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete` subcommand.
function _picocli_athene_debian_delete() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `del` subcommand.
function _picocli_athene_debian_del() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sync` subcommand.
function _picocli_athene_debian_sync() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-packages` subcommand.
function _picocli_athene_debian_listpackages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pkgs` subcommand.
function _picocli_athene_debian_pkgs() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `packages` subcommand.
function _picocli_athene_debian_packages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `configuration` subcommand.
function _picocli_athene_debian_configuration() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cfg` subcommand.
function _picocli_athene_debian_cfg() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `config` subcommand.
function _picocli_athene_debian_config() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-repository` subcommand.
function _picocli_athene_deb_createrepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key' '-d' '--distribution' '-c' '--components' '-A' '--archs' '--architectures'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
    '-d'|'--distribution')
      return
      ;;
    '-c'|'--components')
      return
      ;;
    '-A'|'--archs'|'--architectures')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create` subcommand.
function _picocli_athene_deb_create() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key' '-d' '--distribution' '-c' '--components' '-A' '--archs' '--architectures'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
    '-d'|'--distribution')
      return
      ;;
    '-c'|'--components')
      return
      ;;
    '-A'|'--archs'|'--architectures')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cr` subcommand.
function _picocli_athene_deb_cr() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key' '-d' '--distribution' '-c' '--components' '-A' '--archs' '--architectures'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
    '-d'|'--distribution')
      return
      ;;
    '-c'|'--components')
      return
      ;;
    '-A'|'--archs'|'--architectures')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import` subcommand.
function _picocli_athene_deb_import() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--passphrase' '-k' '--key' '-s' '--section' '-p' '--priority' '-d' '--distribution' '-c' '--component'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--passphrase')
      return
      ;;
    '-k'|'--key')
      return
      ;;
    '-s'|'--section')
      return
      ;;
    '-p'|'--priority')
      return
      ;;
    '-d'|'--distribution')
      return
      ;;
    '-c'|'--component')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local currIndex
    currIndex=$(currentPositionalIndex "import" "${arg_opts}" "${flag_opts}")
    if (( currIndex >= 1 && currIndex <= 2147483647 )); then
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      positionals=$( compgen -f -- "${curr_word}" ) # files
    fi
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `copy` subcommand.
function _picocli_athene_deb_copy() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cp` subcommand.
function _picocli_athene_deb_cp() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rename` subcommand.
function _picocli_athene_deb_rename() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `mv` subcommand.
function _picocli_athene_deb_mv() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repository` subcommand.
function _picocli_athene_deb_deleterepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repositry` subcommand.
function _picocli_athene_deb_deleterepositry() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete` subcommand.
function _picocli_athene_deb_delete() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `del` subcommand.
function _picocli_athene_deb_del() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sync` subcommand.
function _picocli_athene_deb_sync() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-packages` subcommand.
function _picocli_athene_deb_listpackages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pkgs` subcommand.
function _picocli_athene_deb_pkgs() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `packages` subcommand.
function _picocli_athene_deb_packages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `configuration` subcommand.
function _picocli_athene_deb_configuration() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cfg` subcommand.
function _picocli_athene_deb_cfg() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `config` subcommand.
function _picocli_athene_deb_config() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-repository` subcommand.
function _picocli_athene_rpm_createrepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create` subcommand.
function _picocli_athene_rpm_create() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cr` subcommand.
function _picocli_athene_rpm_cr() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import` subcommand.
function _picocli_athene_rpm_import() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--passphrase' '-k' '--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--passphrase')
      return
      ;;
    '-k'|'--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local currIndex
    currIndex=$(currentPositionalIndex "import" "${arg_opts}" "${flag_opts}")
    if (( currIndex >= 1 && currIndex <= 2147483647 )); then
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      positionals=$( compgen -f -- "${curr_word}" ) # files
    fi
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `copy` subcommand.
function _picocli_athene_rpm_copy() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cp` subcommand.
function _picocli_athene_rpm_cp() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rename` subcommand.
function _picocli_athene_rpm_rename() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `mv` subcommand.
function _picocli_athene_rpm_mv() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repository` subcommand.
function _picocli_athene_rpm_deleterepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repositry` subcommand.
function _picocli_athene_rpm_deleterepositry() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete` subcommand.
function _picocli_athene_rpm_delete() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `del` subcommand.
function _picocli_athene_rpm_del() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sync` subcommand.
function _picocli_athene_rpm_sync() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-packages` subcommand.
function _picocli_athene_rpm_listpackages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pkgs` subcommand.
function _picocli_athene_rpm_pkgs() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `packages` subcommand.
function _picocli_athene_rpm_packages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `configuration` subcommand.
function _picocli_athene_rpm_configuration() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cfg` subcommand.
function _picocli_athene_rpm_cfg() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `config` subcommand.
function _picocli_athene_rpm_config() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-repository` subcommand.
function _picocli_athene_yum_createrepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create` subcommand.
function _picocli_athene_yum_create() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cr` subcommand.
function _picocli_athene_yum_cr() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import` subcommand.
function _picocli_athene_yum_import() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--passphrase' '-k' '--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--passphrase')
      return
      ;;
    '-k'|'--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local currIndex
    currIndex=$(currentPositionalIndex "import" "${arg_opts}" "${flag_opts}")
    if (( currIndex >= 1 && currIndex <= 2147483647 )); then
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      positionals=$( compgen -f -- "${curr_word}" ) # files
    fi
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `copy` subcommand.
function _picocli_athene_yum_copy() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cp` subcommand.
function _picocli_athene_yum_cp() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rename` subcommand.
function _picocli_athene_yum_rename() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `mv` subcommand.
function _picocli_athene_yum_mv() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repository` subcommand.
function _picocli_athene_yum_deleterepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repositry` subcommand.
function _picocli_athene_yum_deleterepositry() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete` subcommand.
function _picocli_athene_yum_delete() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `del` subcommand.
function _picocli_athene_yum_del() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sync` subcommand.
function _picocli_athene_yum_sync() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-packages` subcommand.
function _picocli_athene_yum_listpackages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pkgs` subcommand.
function _picocli_athene_yum_pkgs() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `packages` subcommand.
function _picocli_athene_yum_packages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `configuration` subcommand.
function _picocli_athene_yum_configuration() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cfg` subcommand.
function _picocli_athene_yum_cfg() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `config` subcommand.
function _picocli_athene_yum_config() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-repository` subcommand.
function _picocli_athene_files_createrepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create` subcommand.
function _picocli_athene_files_create() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cr` subcommand.
function _picocli_athene_files_cr() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import` subcommand.
function _picocli_athene_files_import() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--passphrase' '-k' '--key' '--os'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--passphrase')
      return
      ;;
    '-k'|'--key')
      return
      ;;
    '--os')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local currIndex
    currIndex=$(currentPositionalIndex "import" "${arg_opts}" "${flag_opts}")
    if (( currIndex >= 1 && currIndex <= 2147483647 )); then
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      positionals=$( compgen -f -- "${curr_word}" ) # files
    fi
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `copy` subcommand.
function _picocli_athene_files_copy() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cp` subcommand.
function _picocli_athene_files_cp() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rename` subcommand.
function _picocli_athene_files_rename() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `mv` subcommand.
function _picocli_athene_files_mv() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repository` subcommand.
function _picocli_athene_files_deleterepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repositry` subcommand.
function _picocli_athene_files_deleterepositry() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete` subcommand.
function _picocli_athene_files_delete() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `del` subcommand.
function _picocli_athene_files_del() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sync` subcommand.
function _picocli_athene_files_sync() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-packages` subcommand.
function _picocli_athene_files_listpackages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pkgs` subcommand.
function _picocli_athene_files_pkgs() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `packages` subcommand.
function _picocli_athene_files_packages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `configuration` subcommand.
function _picocli_athene_files_configuration() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cfg` subcommand.
function _picocli_athene_files_cfg() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `config` subcommand.
function _picocli_athene_files_config() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-repository` subcommand.
function _picocli_athene_file_createrepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create` subcommand.
function _picocli_athene_file_create() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cr` subcommand.
function _picocli_athene_file_cr() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--key'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--key')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import` subcommand.
function _picocli_athene_file_import() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--passphrase' '-k' '--key' '--os'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--passphrase')
      return
      ;;
    '-k'|'--key')
      return
      ;;
    '--os')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local currIndex
    currIndex=$(currentPositionalIndex "import" "${arg_opts}" "${flag_opts}")
    if (( currIndex >= 1 && currIndex <= 2147483647 )); then
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      positionals=$( compgen -f -- "${curr_word}" ) # files
    fi
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `copy` subcommand.
function _picocli_athene_file_copy() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cp` subcommand.
function _picocli_athene_file_cp() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rename` subcommand.
function _picocli_athene_file_rename() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `mv` subcommand.
function _picocli_athene_file_mv() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repository` subcommand.
function _picocli_athene_file_deleterepository() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-repositry` subcommand.
function _picocli_athene_file_deleterepositry() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete` subcommand.
function _picocli_athene_file_delete() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `del` subcommand.
function _picocli_athene_file_del() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sync` subcommand.
function _picocli_athene_file_sync() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-packages` subcommand.
function _picocli_athene_file_listpackages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pkgs` subcommand.
function _picocli_athene_file_pkgs() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `packages` subcommand.
function _picocli_athene_file_packages() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--raw'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `configuration` subcommand.
function _picocli_athene_file_configuration() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cfg` subcommand.
function _picocli_athene_file_cfg() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `config` subcommand.
function _picocli_athene_file_config() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-key` subcommand.
function _picocli_athene_gpg_createkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--email' '--key-type' '--size' '--validity' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--email')
      return
      ;;
    '--key-type')
      return
      ;;
    '--size')
      return
      ;;
    '--validity')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `new-key` subcommand.
function _picocli_athene_gpg_newkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--email' '--key-type' '--size' '--validity' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--email')
      return
      ;;
    '--key-type')
      return
      ;;
    '--size')
      return
      ;;
    '--validity')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sign` subcommand.
function _picocli_athene_gpg_sign() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'-k' '--key' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-k'|'--key')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import-key` subcommand.
function _picocli_athene_gpg_importkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'-f' '--file' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-f'|'--file')
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      COMPREPLY=( $( compgen -f -- "${curr_word}" ) ) # files
      return $?
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-keys` subcommand.
function _picocli_athene_gpg_listkeys() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `ls` subcommand.
function _picocli_athene_gpg_ls() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list` subcommand.
function _picocli_athene_gpg_list() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show-key` subcommand.
function _picocli_athene_gpg_showkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show` subcommand.
function _picocli_athene_gpg_show() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cat` subcommand.
function _picocli_athene_gpg_cat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-key` subcommand.
function _picocli_athene_gpg_deletekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `remove-key` subcommand.
function _picocli_athene_gpg_removekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rm-key` subcommand.
function _picocli_athene_gpg_rmkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-key` subcommand.
function _picocli_athene_openpgp_createkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--email' '--key-type' '--size' '--validity' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--email')
      return
      ;;
    '--key-type')
      return
      ;;
    '--size')
      return
      ;;
    '--validity')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `new-key` subcommand.
function _picocli_athene_openpgp_newkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--email' '--key-type' '--size' '--validity' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--email')
      return
      ;;
    '--key-type')
      return
      ;;
    '--size')
      return
      ;;
    '--validity')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sign` subcommand.
function _picocli_athene_openpgp_sign() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'-k' '--key' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-k'|'--key')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import-key` subcommand.
function _picocli_athene_openpgp_importkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'-f' '--file' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-f'|'--file')
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      COMPREPLY=( $( compgen -f -- "${curr_word}" ) ) # files
      return $?
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-keys` subcommand.
function _picocli_athene_openpgp_listkeys() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `ls` subcommand.
function _picocli_athene_openpgp_ls() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list` subcommand.
function _picocli_athene_openpgp_list() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show-key` subcommand.
function _picocli_athene_openpgp_showkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show` subcommand.
function _picocli_athene_openpgp_show() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cat` subcommand.
function _picocli_athene_openpgp_cat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-key` subcommand.
function _picocli_athene_openpgp_deletekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `remove-key` subcommand.
function _picocli_athene_openpgp_removekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rm-key` subcommand.
function _picocli_athene_openpgp_rmkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-key` subcommand.
function _picocli_athene_jks_createkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--keystore' '--storepass' '--storetype' '--alias' '--keypass'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--keystore')
      return
      ;;
    '--storepass')
      return
      ;;
    '--storetype')
      return
      ;;
    '--alias')
      return
      ;;
    '--keypass')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `new-key` subcommand.
function _picocli_athene_jks_newkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--keystore' '--storepass' '--storetype' '--alias' '--keypass'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--keystore')
      return
      ;;
    '--storepass')
      return
      ;;
    '--storetype')
      return
      ;;
    '--alias')
      return
      ;;
    '--keypass')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sign` subcommand.
function _picocli_athene_jks_sign() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'-k' '--key' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-k'|'--key')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import-key` subcommand.
function _picocli_athene_jks_importkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'-f' '--file' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-f'|'--file')
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      COMPREPLY=( $( compgen -f -- "${curr_word}" ) ) # files
      return $?
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-keys` subcommand.
function _picocli_athene_jks_listkeys() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `ls` subcommand.
function _picocli_athene_jks_ls() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list` subcommand.
function _picocli_athene_jks_list() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show-key` subcommand.
function _picocli_athene_jks_showkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show` subcommand.
function _picocli_athene_jks_show() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cat` subcommand.
function _picocli_athene_jks_cat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-key` subcommand.
function _picocli_athene_jks_deletekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `remove-key` subcommand.
function _picocli_athene_jks_removekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rm-key` subcommand.
function _picocli_athene_jks_rmkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-key` subcommand.
function _picocli_athene_spcpvk_createkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--cert-file' '--pvk-file' '--storepass'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--cert-file')
      return
      ;;
    '--pvk-file')
      return
      ;;
    '--storepass')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `new-key` subcommand.
function _picocli_athene_spcpvk_newkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--cert-file' '--pvk-file' '--storepass'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--cert-file')
      return
      ;;
    '--pvk-file')
      return
      ;;
    '--storepass')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import-key` subcommand.
function _picocli_athene_spcpvk_importkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'-f' '--pvk-file' '-c' '--cert-file' '--name' '--storepass'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-f'|'--pvk-file')
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      COMPREPLY=( $( compgen -f -- "${curr_word}" ) ) # files
      return $?
      ;;
    '-c'|'--cert-file')
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      COMPREPLY=( $( compgen -f -- "${curr_word}" ) ) # files
      return $?
      ;;
    '--name')
      return
      ;;
    '--storepass')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sign` subcommand.
function _picocli_athene_spcpvk_sign() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'-k' '--key' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-k'|'--key')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-keys` subcommand.
function _picocli_athene_spcpvk_listkeys() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `ls` subcommand.
function _picocli_athene_spcpvk_ls() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list` subcommand.
function _picocli_athene_spcpvk_list() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show-key` subcommand.
function _picocli_athene_spcpvk_showkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show` subcommand.
function _picocli_athene_spcpvk_show() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cat` subcommand.
function _picocli_athene_spcpvk_cat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-key` subcommand.
function _picocli_athene_spcpvk_deletekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `remove-key` subcommand.
function _picocli_athene_spcpvk_removekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rm-key` subcommand.
function _picocli_athene_spcpvk_rmkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-key` subcommand.
function _picocli_athene_safenet_createkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--alias' '--storetype' '--keystore' '--storepass' '--cert-file'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--alias')
      return
      ;;
    '--storetype')
      return
      ;;
    '--keystore')
      return
      ;;
    '--storepass')
      return
      ;;
    '--cert-file')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `new-key` subcommand.
function _picocli_athene_safenet_newkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--alias' '--storetype' '--keystore' '--storepass' '--cert-file'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--alias')
      return
      ;;
    '--storetype')
      return
      ;;
    '--keystore')
      return
      ;;
    '--storepass')
      return
      ;;
    '--cert-file')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sign` subcommand.
function _picocli_athene_safenet_sign() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'-k' '--key' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-k'|'--key')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-keys` subcommand.
function _picocli_athene_safenet_listkeys() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `ls` subcommand.
function _picocli_athene_safenet_ls() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list` subcommand.
function _picocli_athene_safenet_list() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show-key` subcommand.
function _picocli_athene_safenet_showkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show` subcommand.
function _picocli_athene_safenet_show() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cat` subcommand.
function _picocli_athene_safenet_cat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-key` subcommand.
function _picocli_athene_safenet_deletekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `remove-key` subcommand.
function _picocli_athene_safenet_removekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rm-key` subcommand.
function _picocli_athene_safenet_rmkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-key` subcommand.
function _picocli_athene_rcodesign_createkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--cert-file' '--api-issuer-id' '--api-key-id' '--api-private-key-file' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--cert-file')
      return
      ;;
    '--api-issuer-id')
      return
      ;;
    '--api-key-id')
      return
      ;;
    '--api-private-key-file')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `new-key` subcommand.
function _picocli_athene_rcodesign_newkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--cert-file' '--api-issuer-id' '--api-key-id' '--api-private-key-file' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--cert-file')
      return
      ;;
    '--api-issuer-id')
      return
      ;;
    '--api-key-id')
      return
      ;;
    '--api-private-key-file')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import-key` subcommand.
function _picocli_athene_rcodesign_importkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'-f' '--cert-file' '--api-private-key-file' '--name' '--api-issuer-id' '--api-key-id' '--passphrase' '--certificate-extension'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-f'|'--cert-file')
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      COMPREPLY=( $( compgen -f -- "${curr_word}" ) ) # files
      return $?
      ;;
    '--api-private-key-file')
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      COMPREPLY=( $( compgen -f -- "${curr_word}" ) ) # files
      return $?
      ;;
    '--name')
      return
      ;;
    '--api-issuer-id')
      return
      ;;
    '--api-key-id')
      return
      ;;
    '--passphrase')
      return
      ;;
    '--certificate-extension')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sign` subcommand.
function _picocli_athene_rcodesign_sign() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts="'--notarize' '--staple' '--wait'"
  local arg_opts="'-k' '--key' '--passphrase' '--max-wait-seconds' '--binary-identifier' '--code-signature-flags' '--team-id' '--entitlements-file'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-k'|'--key')
      return
      ;;
    '--passphrase')
      return
      ;;
    '--max-wait-seconds')
      return
      ;;
    '--binary-identifier')
      return
      ;;
    '--code-signature-flags')
      return
      ;;
    '--team-id')
      return
      ;;
    '--entitlements-file')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-keys` subcommand.
function _picocli_athene_rcodesign_listkeys() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `ls` subcommand.
function _picocli_athene_rcodesign_ls() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list` subcommand.
function _picocli_athene_rcodesign_list() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show-key` subcommand.
function _picocli_athene_rcodesign_showkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show` subcommand.
function _picocli_athene_rcodesign_show() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cat` subcommand.
function _picocli_athene_rcodesign_cat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-key` subcommand.
function _picocli_athene_rcodesign_deletekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `remove-key` subcommand.
function _picocli_athene_rcodesign_removekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rm-key` subcommand.
function _picocli_athene_rcodesign_rmkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-key` subcommand.
function _picocli_athene_applecodesign_createkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--cert-file' '--api-issuer-id' '--api-key-id' '--api-private-key-file' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--cert-file')
      return
      ;;
    '--api-issuer-id')
      return
      ;;
    '--api-key-id')
      return
      ;;
    '--api-private-key-file')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `new-key` subcommand.
function _picocli_athene_applecodesign_newkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--name' '--cert-file' '--api-issuer-id' '--api-key-id' '--api-private-key-file' '--passphrase'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--cert-file')
      return
      ;;
    '--api-issuer-id')
      return
      ;;
    '--api-key-id')
      return
      ;;
    '--api-private-key-file')
      return
      ;;
    '--passphrase')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `import-key` subcommand.
function _picocli_athene_applecodesign_importkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'-f' '--cert-file' '--api-private-key-file' '--name' '--api-issuer-id' '--api-key-id' '--passphrase' '--certificate-extension'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-f'|'--cert-file')
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      COMPREPLY=( $( compgen -f -- "${curr_word}" ) ) # files
      return $?
      ;;
    '--api-private-key-file')
      local IFS=$'\n'
      type compopt &>/dev/null && compopt -o filenames
      COMPREPLY=( $( compgen -f -- "${curr_word}" ) ) # files
      return $?
      ;;
    '--name')
      return
      ;;
    '--api-issuer-id')
      return
      ;;
    '--api-key-id')
      return
      ;;
    '--passphrase')
      return
      ;;
    '--certificate-extension')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `sign` subcommand.
function _picocli_athene_applecodesign_sign() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts="'--notarize' '--staple' '--wait'"
  local arg_opts="'-k' '--key' '--passphrase' '--max-wait-seconds' '--binary-identifier' '--code-signature-flags' '--team-id' '--entitlements-file'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '-k'|'--key')
      return
      ;;
    '--passphrase')
      return
      ;;
    '--max-wait-seconds')
      return
      ;;
    '--binary-identifier')
      return
      ;;
    '--code-signature-flags')
      return
      ;;
    '--team-id')
      return
      ;;
    '--entitlements-file')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-keys` subcommand.
function _picocli_athene_applecodesign_listkeys() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `ls` subcommand.
function _picocli_athene_applecodesign_ls() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list` subcommand.
function _picocli_athene_applecodesign_list() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show-key` subcommand.
function _picocli_athene_applecodesign_showkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `show` subcommand.
function _picocli_athene_applecodesign_show() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `cat` subcommand.
function _picocli_athene_applecodesign_cat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-key` subcommand.
function _picocli_athene_applecodesign_deletekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `remove-key` subcommand.
function _picocli_athene_applecodesign_removekey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rm-key` subcommand.
function _picocli_athene_applecodesign_rmkey() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts="'--no-prompt'"
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list` subcommand.
function _picocli_athene_user_list() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `ls` subcommand.
function _picocli_athene_user_ls() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create` subcommand.
function _picocli_athene_user_create() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--password'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--password')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `add` subcommand.
function _picocli_athene_user_add() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--password'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--password')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete` subcommand.
function _picocli_athene_user_delete() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `remove` subcommand.
function _picocli_athene_user_remove() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rm` subcommand.
function _picocli_athene_user_rm() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `del` subcommand.
function _picocli_athene_user_del() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `set-password` subcommand.
function _picocli_athene_user_setpassword() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--new-password'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--new-password')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `passwd` subcommand.
function _picocli_athene_user_passwd() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--new-password'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--new-password')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `reset-password` subcommand.
function _picocli_athene_user_resetpassword() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--new-password'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--new-password')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `change-password` subcommand.
function _picocli_athene_user_changepassword() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--old-password' '--new-password'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--old-password')
      return
      ;;
    '--new-password')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `chpasswd` subcommand.
function _picocli_athene_user_chpasswd() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts=""
  local arg_opts="'--old-password' '--new-password'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--old-password')
      return
      ;;
    '--new-password')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `create-pat` subcommand.
function _picocli_athene_user_createpat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts="'--never-expires'"
  local arg_opts="'--name' '--expires-on'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--expires-on')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pat-create` subcommand.
function _picocli_athene_user_patcreate() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts="'--never-expires'"
  local arg_opts="'--name' '--expires-on'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--expires-on')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `add-pat` subcommand.
function _picocli_athene_user_addpat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts="'--never-expires'"
  local arg_opts="'--name' '--expires-on'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--expires-on')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pat-add` subcommand.
function _picocli_athene_user_patadd() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}
  local prev_word=${COMP_WORDS[COMP_CWORD-1]}

  local commands=""
  local flag_opts="'--never-expires'"
  local arg_opts="'--name' '--expires-on'"

  type compopt &>/dev/null && compopt +o default

  case ${prev_word} in
    '--name')
      return
      ;;
    '--expires-on')
      return
      ;;
  esac

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-pats` subcommand.
function _picocli_athene_user_listpats() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `list-pat` subcommand.
function _picocli_athene_user_listpat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `ls-pats` subcommand.
function _picocli_athene_user_lspats() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pats` subcommand.
function _picocli_athene_user_pats() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `delete-pat` subcommand.
function _picocli_athene_user_deletepat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `remove-pat` subcommand.
function _picocli_athene_user_removepat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `rm-pat` subcommand.
function _picocli_athene_user_rmpat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `del-pat` subcommand.
function _picocli_athene_user_delpat() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Generates completions for the options and subcommands of the `pat-delete` subcommand.
function _picocli_athene_user_patdelete() {
  # Get completion data
  local curr_word=${COMP_WORDS[COMP_CWORD]}

  local commands=""
  local flag_opts=""
  local arg_opts=""

  if [[ "${curr_word}" == -* ]]; then
    COMPREPLY=( $(compgen -W "${flag_opts} ${arg_opts}" -- "${curr_word}") )
  else
    local positionals=""
    local IFS=$'\n'
    COMPREPLY=( $(compgen -W "${commands// /$'\n'}${IFS}${positionals}" -- "${curr_word}") )
  fi
}

# Define a completion specification (a compspec) for the
# `athene`, `athene.sh`, and `athene.bash` commands.
# Uses the bash `complete` builtin (see [6]) to specify that shell function
# `_complete_athene` is responsible for generating possible completions for the
# current word on the command line.
# The `-o default` option means that if the function generated no matches, the
# default Bash completions and the Readline default filename completions are performed.
complete -F _complete_athene -o default athene athene.sh athene.bash
