summaryrefslogtreecommitdiffstats
path: root/extra/adenosine.bash_completions
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-11 13:33:16 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-11 13:33:16 -0800
commit33368b57aa077ac13448f4d4927dd8a77934f763 (patch)
tree03848906f726b308f493b50cca27af5aa239ae21 /extra/adenosine.bash_completions
parent6a23af4d35eb87f4cfd7c70371a4f6f6cd87dad8 (diff)
downloadadenosine-33368b57aa077ac13448f4d4927dd8a77934f763.tar.gz
adenosine-33368b57aa077ac13448f4d4927dd8a77934f763.zip
pds: manpage, shell completions
Diffstat (limited to 'extra/adenosine.bash_completions')
-rw-r--r--extra/adenosine.bash_completions48
1 files changed, 41 insertions, 7 deletions
diff --git a/extra/adenosine.bash_completions b/extra/adenosine.bash_completions
index 068a82f..2db0670 100644
--- a/extra/adenosine.bash_completions
+++ b/extra/adenosine.bash_completions
@@ -91,6 +91,9 @@ _adenosine() {
status)
cmd+="__status"
;;
+ timeline)
+ cmd+="__timeline"
+ ;;
update)
cmd+="__update"
;;
@@ -224,18 +227,18 @@ _adenosine() {
return 0
;;
adenosine__account__login)
- opts=" -V -v -h -p --help --version --verbose --handle --password --host --auth-token "
+ opts=" -h -V -v -u -p --help --version --verbose --username --password --host --auth-token "
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
- --handle)
+ --username)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
- -h)
+ -u)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
@@ -286,7 +289,7 @@ _adenosine() {
return 0
;;
adenosine__account__register)
- opts=" -V -v -e -h -p -r --help --version --verbose --email --handle --password --recovery-key --host --auth-token "
+ opts=" -h -V -v -e -u -p -r -i --help --version --verbose --email --username --password --recovery-key --invite-code --host --auth-token "
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -301,11 +304,11 @@ _adenosine() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
- --handle)
+ --username)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
- -h)
+ -u)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
@@ -325,6 +328,14 @@ _adenosine() {
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
+ --invite-code)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
+ -i)
+ COMPREPLY=($(compgen -f "${cur}"))
+ return 0
+ ;;
--host)
COMPREPLY=($(compgen -f "${cur}"))
return 0
@@ -341,7 +352,7 @@ _adenosine() {
return 0
;;
adenosine__bsky)
- opts=" -h -V -v --help --version --verbose --host --auth-token feed notifications post repost like follow profile search-users help"
+ opts=" -h -V -v --help --version --verbose --host --auth-token feed timeline notifications post repost like follow profile search-users help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
@@ -570,6 +581,29 @@ _adenosine() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
+ adenosine__bsky__timeline)
+ 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__create)
opts=" -h -V -v --help --version --verbose --host --auth-token <collection> <fields>... "
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then