diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-16 14:25:25 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-16 14:25:25 +0200 |
commit | a846fb96de587afdd9b3ea37bdb9731d77e44863 (patch) | |
tree | 4b71d5b7c4395ae1be1e9f6520e7866e98257e4e /misc/bash_completion | |
parent | 6f5d433e33b5432887a8496074f0d7c7048c1167 (diff) | |
download | git-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-bug | 21 |
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") |