aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-10-12 18:10:44 +0900
committeramine <hilalyamine@gmail.com>2019-11-09 13:26:48 +0100
commit3984919a3df95b8ec203bcb82b66c9c2270579c7 (patch)
tree1a32f0978e76f097edf2635191e6940b990efe05 /misc/bash_completion
parent3433fa5def3fb3c2707bae1aeb4ae1bd62c930de (diff)
downloadgit-bug-3984919a3df95b8ec203bcb82b66c9c2270579c7.tar.gz
bridge: various cleanups
Diffstat (limited to 'misc/bash_completion')
-rw-r--r--misc/bash_completion/git-bug84
1 files changed, 84 insertions, 0 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index 2088fd4d..9c719949 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -400,6 +400,89 @@ _git-bug_bridge_rm()
noun_aliases=()
}
+_git-bug_bridge_token_add()
+{
+ last_command="git-bug_bridge_token_add"
+
+ command_aliases=()
+
+ commands=()
+
+ flags=()
+ two_word_flags=()
+ local_nonpersistent_flags=()
+ flags_with_completion=()
+ flags_completion=()
+
+ flags+=("--global")
+ flags+=("-g")
+ local_nonpersistent_flags+=("--global")
+ flags+=("--value=")
+ two_word_flags+=("--value")
+ two_word_flags+=("-v")
+ local_nonpersistent_flags+=("--value=")
+ flags+=("--target=")
+ two_word_flags+=("--target")
+ two_word_flags+=("-t")
+ local_nonpersistent_flags+=("--target=")
+ flags+=("--scopes=")
+ two_word_flags+=("--scopes")
+ two_word_flags+=("-s")
+ local_nonpersistent_flags+=("--scopes=")
+
+ must_have_one_flag=()
+ must_have_one_noun=()
+ noun_aliases=()
+}
+
+_git-bug_bridge_token_rm()
+{
+ last_command="git-bug_bridge_token_rm"
+
+ command_aliases=()
+
+ commands=()
+
+ flags=()
+ two_word_flags=()
+ local_nonpersistent_flags=()
+ flags_with_completion=()
+ flags_completion=()
+
+
+ must_have_one_flag=()
+ must_have_one_noun=()
+ noun_aliases=()
+}
+
+_git-bug_bridge_token()
+{
+ last_command="git-bug_bridge_token"
+
+ command_aliases=()
+
+ commands=()
+ commands+=("add")
+ commands+=("rm")
+
+ flags=()
+ two_word_flags=()
+ local_nonpersistent_flags=()
+ flags_with_completion=()
+ flags_completion=()
+
+ flags+=("--local")
+ flags+=("-l")
+ local_nonpersistent_flags+=("--local")
+ flags+=("--global")
+ flags+=("-g")
+ local_nonpersistent_flags+=("--global")
+
+ must_have_one_flag=()
+ must_have_one_noun=()
+ noun_aliases=()
+}
+
_git-bug_bridge()
{
last_command="git-bug_bridge"
@@ -411,6 +494,7 @@ _git-bug_bridge()
commands+=("pull")
commands+=("push")
commands+=("rm")
+ commands+=("token")
flags=()
two_word_flags=()