_adenosine() { local i cur prev opts cmds COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" cmd="" opts="" for i in ${COMP_WORDS[@]} do case "${i}" in adenosine) cmd="adenosine" ;; account) cmd+="__account" ;; bsky) cmd+="__bsky" ;; create) cmd+="__create" ;; delete) cmd+="__delete" ;; describe) cmd+="__describe" ;; export) cmd+="__export" ;; feed) cmd+="__feed" ;; follow) cmd+="__follow" ;; get) cmd+="__get" ;; help) cmd+="__help" ;; import) cmd+="__import" ;; info) cmd+="__info" ;; like) cmd+="__like" ;; login) cmd+="__login" ;; logout) cmd+="__logout" ;; ls) cmd+="__ls" ;; notifications) cmd+="__notifications" ;; post) cmd+="__post" ;; profile) cmd+="__profile" ;; register) cmd+="__register" ;; repo) cmd+="__repo" ;; repost) cmd+="__repost" ;; resolve) cmd+="__resolve" ;; root) cmd+="__root" ;; search-users) cmd+="__search__users" ;; status) cmd+="__status" ;; update) cmd+="__update" ;; xrpc) cmd+="__xrpc" ;; *) ;; esac done case "${cmd}" in adenosine) opts=" -v -h -V --verbose --help --version --host --auth-token --shell-completions status ls get create update delete describe resolve xrpc account repo bsky help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --shell-completions) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__account) opts=" -h -V -v --help --version --verbose --host --auth-token register delete login logout info help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__account__delete) opts=" -h -V -v --help --version --verbose --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__account__help) opts=" -h -V -v --help --version --verbose --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__account__info) opts=" -h -V -v --help --version --verbose --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__account__login) opts=" -V -v -h -p --help --version --verbose --handle --password --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --handle) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -h) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --password) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -p) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__account__logout) opts=" -h -V -v --help --version --verbose --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__account__register) opts=" -V -v -e -h -p -r --help --version --verbose --email --handle --password --recovery-key --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --email) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -e) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --handle) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -h) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --password) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -p) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --recovery-key) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -r) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__bsky) opts=" -h -V -v --help --version --verbose --host --auth-token feed notifications post repost like follow profile search-users help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__bsky__feed) opts=" -h -V -v --help --version --verbose --host --auth-token <name> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__bsky__follow) opts=" -h -V -v --help --version --verbose --host --auth-token <uri> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__bsky__help) opts=" -h -V -v --help --version --verbose --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__bsky__like) opts=" -h -V -v --help --version --verbose --host --auth-token <uri> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__bsky__notifications) opts=" -h -V -v --help --version --verbose --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__bsky__post) opts=" -h -V -v --help --version --verbose --host --auth-token <text> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__bsky__profile) opts=" -h -V -v --help --version --verbose --host --auth-token <name> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__bsky__repost) opts=" -h -V -v --help --version --verbose --host --auth-token <uri> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__bsky__search__users) opts=" -h -V -v --help --version --verbose --host --auth-token <query> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__create) opts=" -h -V -v --help --version --verbose --host --auth-token <collection> <fields>... " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__delete) opts=" -h -V -v --help --version --verbose --host --auth-token <uri> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__describe) opts=" -h -V -v --help --version --verbose --host --auth-token <name> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__get) opts=" -h -V -v --help --version --verbose --cid --host --auth-token <uri> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --cid) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__help) opts=" -h -V -v --help --version --verbose --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__ls) opts=" -h -V -v --help --version --verbose --host --auth-token <uri> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__repo) opts=" -h -V -v --help --version --verbose --host --auth-token root export import help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__repo__export) opts=" -h -V -v --help --version --verbose --from --host --auth-token <did> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --from) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__repo__help) opts=" -h -V -v --help --version --verbose --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__repo__import) opts=" -h -V -v --help --version --verbose --did --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --did) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__repo__root) opts=" -h -V -v --help --version --verbose --host --auth-token <did> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__resolve) opts=" -h -V -v --help --version --verbose --host --auth-token <name> " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__status) opts=" -h -V -v --help --version --verbose --host --auth-token " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__update) opts=" -h -V -v --help --version --verbose --host --auth-token <uri> <fields>... " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; adenosine__xrpc) opts=" -h -V -v --help --version --verbose --host --auth-token <method> <nsid> <fields>... " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --host) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --auth-token) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; esac } complete -F _adenosine -o bashdefault -o default adenosine