aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-10 17:32:14 +0100
committerMichael Muré <batolettre@gmail.com>2019-11-10 17:33:44 +0100
commite0b15ee7644c20533156850e0be5a07597967450 (patch)
treea7ebd32de0b94b63ebe825c829de963470d03cab /misc/bash_completion
parentf8cf3fea035d7f0ad0287166c3a5016777acf5ad (diff)
downloadgit-bug-e0b15ee7644c20533156850e0be5a07597967450.tar.gz
cli: rename "token" into "auth"
Diffstat (limited to 'misc/bash_completion')
-rw-r--r--misc/bash_completion/git-bug98
1 files changed, 49 insertions, 49 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index e8126b8f..9dc3ac87 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -287,9 +287,9 @@ _git-bug_add()
noun_aliases=()
}
-_git-bug_bridge_configure()
+_git-bug_bridge_auth_add-token()
{
- last_command="git-bug_bridge_configure"
+ last_command="git-bug_bridge_auth_add-token"
command_aliases=()
@@ -301,41 +301,19 @@ _git-bug_bridge_configure()
flags_with_completion=()
flags_completion=()
- flags+=("--name=")
- two_word_flags+=("--name")
- two_word_flags+=("-n")
- local_nonpersistent_flags+=("--name=")
flags+=("--target=")
two_word_flags+=("--target")
two_word_flags+=("-t")
local_nonpersistent_flags+=("--target=")
- flags+=("--url=")
- two_word_flags+=("--url")
- two_word_flags+=("-u")
- local_nonpersistent_flags+=("--url=")
- flags+=("--owner=")
- two_word_flags+=("--owner")
- two_word_flags+=("-o")
- local_nonpersistent_flags+=("--owner=")
- flags+=("--token=")
- two_word_flags+=("--token")
- two_word_flags+=("-T")
- local_nonpersistent_flags+=("--token=")
- flags+=("--token-stdin")
- local_nonpersistent_flags+=("--token-stdin")
- flags+=("--project=")
- two_word_flags+=("--project")
- two_word_flags+=("-p")
- local_nonpersistent_flags+=("--project=")
must_have_one_flag=()
must_have_one_noun=()
noun_aliases=()
}
-_git-bug_bridge_pull()
+_git-bug_bridge_auth_rm()
{
- last_command="git-bug_bridge_pull"
+ last_command="git-bug_bridge_auth_rm"
command_aliases=()
@@ -347,22 +325,15 @@ _git-bug_bridge_pull()
flags_with_completion=()
flags_completion=()
- flags+=("--no-resume")
- flags+=("-n")
- local_nonpersistent_flags+=("--no-resume")
- flags+=("--since=")
- two_word_flags+=("--since")
- two_word_flags+=("-s")
- local_nonpersistent_flags+=("--since=")
must_have_one_flag=()
must_have_one_noun=()
noun_aliases=()
}
-_git-bug_bridge_push()
+_git-bug_bridge_auth_show()
{
- last_command="git-bug_bridge_push"
+ last_command="git-bug_bridge_auth_show"
command_aliases=()
@@ -380,13 +351,16 @@ _git-bug_bridge_push()
noun_aliases=()
}
-_git-bug_bridge_rm()
+_git-bug_bridge_auth()
{
- last_command="git-bug_bridge_rm"
+ last_command="git-bug_bridge_auth"
command_aliases=()
commands=()
+ commands+=("add-token")
+ commands+=("rm")
+ commands+=("show")
flags=()
two_word_flags=()
@@ -400,9 +374,9 @@ _git-bug_bridge_rm()
noun_aliases=()
}
-_git-bug_bridge_token_add()
+_git-bug_bridge_configure()
{
- last_command="git-bug_bridge_token_add"
+ last_command="git-bug_bridge_configure"
command_aliases=()
@@ -414,19 +388,41 @@ _git-bug_bridge_token_add()
flags_with_completion=()
flags_completion=()
+ flags+=("--name=")
+ two_word_flags+=("--name")
+ two_word_flags+=("-n")
+ local_nonpersistent_flags+=("--name=")
flags+=("--target=")
two_word_flags+=("--target")
two_word_flags+=("-t")
local_nonpersistent_flags+=("--target=")
+ flags+=("--url=")
+ two_word_flags+=("--url")
+ two_word_flags+=("-u")
+ local_nonpersistent_flags+=("--url=")
+ flags+=("--owner=")
+ two_word_flags+=("--owner")
+ two_word_flags+=("-o")
+ local_nonpersistent_flags+=("--owner=")
+ flags+=("--token=")
+ two_word_flags+=("--token")
+ two_word_flags+=("-T")
+ local_nonpersistent_flags+=("--token=")
+ flags+=("--token-stdin")
+ local_nonpersistent_flags+=("--token-stdin")
+ flags+=("--project=")
+ two_word_flags+=("--project")
+ two_word_flags+=("-p")
+ local_nonpersistent_flags+=("--project=")
must_have_one_flag=()
must_have_one_noun=()
noun_aliases=()
}
-_git-bug_bridge_token_rm()
+_git-bug_bridge_pull()
{
- last_command="git-bug_bridge_token_rm"
+ last_command="git-bug_bridge_pull"
command_aliases=()
@@ -438,15 +434,22 @@ _git-bug_bridge_token_rm()
flags_with_completion=()
flags_completion=()
+ flags+=("--no-resume")
+ flags+=("-n")
+ local_nonpersistent_flags+=("--no-resume")
+ flags+=("--since=")
+ two_word_flags+=("--since")
+ two_word_flags+=("-s")
+ local_nonpersistent_flags+=("--since=")
must_have_one_flag=()
must_have_one_noun=()
noun_aliases=()
}
-_git-bug_bridge_token_show()
+_git-bug_bridge_push()
{
- last_command="git-bug_bridge_token_show"
+ last_command="git-bug_bridge_push"
command_aliases=()
@@ -464,16 +467,13 @@ _git-bug_bridge_token_show()
noun_aliases=()
}
-_git-bug_bridge_token()
+_git-bug_bridge_rm()
{
- last_command="git-bug_bridge_token"
+ last_command="git-bug_bridge_rm"
command_aliases=()
commands=()
- commands+=("add")
- commands+=("rm")
- commands+=("show")
flags=()
two_word_flags=()
@@ -494,11 +494,11 @@ _git-bug_bridge()
command_aliases=()
commands=()
+ commands+=("auth")
commands+=("configure")
commands+=("pull")
commands+=("push")
commands+=("rm")
- commands+=("token")
flags=()
two_word_flags=()