aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-16 14:25:25 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-16 14:25:25 +0200
commita846fb96de587afdd9b3ea37bdb9731d77e44863 (patch)
tree4b71d5b7c4395ae1be1e9f6520e7866e98257e4e /misc/bash_completion
parent6f5d433e33b5432887a8496074f0d7c7048c1167 (diff)
downloadgit-bug-a846fb96de587afdd9b3ea37bdb9731d77e44863.tar.gz
commands: add a "status" command to show a bug status
Diffstat (limited to 'misc/bash_completion')
-rw-r--r--misc/bash_completion/git-bug21
1 files changed, 21 insertions, 0 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index f5f3da2a..973eff9c 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -508,6 +508,26 @@ _git-bug_show()
noun_aliases=()
}
+_git-bug_status()
+{
+ last_command="git-bug_status"
+
+ 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_termui()
{
last_command="git-bug_termui"
@@ -612,6 +632,7 @@ _git-bug_root_command()
commands+=("pull")
commands+=("push")
commands+=("show")
+ commands+=("status")
commands+=("termui")
commands+=("title")
commands+=("webui")