diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-06 23:41:37 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-06 23:41:37 -0800 |
commit | e3739138455a178e656287d560e0dc793e230da1 (patch) | |
tree | 11c141d6db3abbdca7020d4240da4048c4d75e2e /extra/adenosine.zsh_completions | |
parent | bd225c6532dcc0d4fa7cb4d21444105d6d23771d (diff) | |
download | adenosine-e3739138455a178e656287d560e0dc793e230da1.tar.gz adenosine-e3739138455a178e656287d560e0dc793e230da1.zip |
cli: update for upstream lexicon refactor
Diffstat (limited to 'extra/adenosine.zsh_completions')
-rw-r--r-- | extra/adenosine.zsh_completions | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/extra/adenosine.zsh_completions b/extra/adenosine.zsh_completions index d9d5644..068a82f 100644 --- a/extra/adenosine.zsh_completions +++ b/extra/adenosine.zsh_completions @@ -104,7 +104,7 @@ _adenosine() { case "${cmd}" in adenosine) - opts=" -v -h -V --verbose --help --version --host --auth-token --shell-completions get ls create update delete describe resolve xrpc account repo bsky status help" + 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 @@ -224,18 +224,18 @@ _adenosine() { return 0 ;; adenosine__account__login) - opts=" -h -V -v -u -p --help --version --verbose --username --password --host --auth-token " + 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 - --username) + --handle) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; - -u) + -h) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; @@ -286,7 +286,7 @@ _adenosine() { return 0 ;; adenosine__account__register) - opts=" -h -V -v -e -u -p --help --version --verbose --email --username --password --host --auth-token " + 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 @@ -301,11 +301,11 @@ _adenosine() { COMPREPLY=($(compgen -f "${cur}")) return 0 ;; - --username) + --handle) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; - -u) + -h) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; @@ -317,6 +317,14 @@ _adenosine() { 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 |