summaryrefslogtreecommitdiff
path: root/plugins/jira/_jira
diff options
context:
space:
mode:
authorAndrew Janke <andrew@apjanke.net>2015-09-28 08:52:03 -0400
committerAndrew Janke <andrew@apjanke.net>2015-09-28 08:52:03 -0400
commite4fdb083655fc582ebcecb07cd1bd1130077f0e4 (patch)
treefee07d9adfee79d1c88206ead154a23520ac51cb /plugins/jira/_jira
parent5c8b0cc0c1782b34790548498018fb9e0300992b (diff)
parentb05ef1034fffd7b0c29f1558a8a357ccce7ae74b (diff)
downloadzsh-e4fdb083655fc582ebcecb07cd1bd1130077f0e4.tar.gz
zsh-e4fdb083655fc582ebcecb07cd1bd1130077f0e4.tar.bz2
zsh-e4fdb083655fc582ebcecb07cd1bd1130077f0e4.zip
Merge branch 'master' into copyfile-portability
Diffstat (limited to 'plugins/jira/_jira')
-rw-r--r--plugins/jira/_jira22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/jira/_jira b/plugins/jira/_jira
new file mode 100644
index 000000000..03fe6a499
--- /dev/null
+++ b/plugins/jira/_jira
@@ -0,0 +1,22 @@
+#compdef jira
+#autoload
+
+local -a _1st_arguments
+_1st_arguments=(
+ 'new:create a new issue'
+ 'dashboard:open the dashboard'
+ 'reported:search for issues reported by a user'
+ 'assigned:search for issues assigned to a user'
+ 'dumpconfig:display effective jira configuration'
+)
+
+_arguments -C \
+ ':command:->command' \
+ '*::options:->options'
+
+case $state in
+ (command)
+ _describe -t commands "jira subcommand" _1st_arguments
+ return
+ ;;
+esac