parent
7cf892ecaa
commit
dc42e8d488
2 changed files with 25 additions and 4 deletions
@ -0,0 +1,21 @@ |
|||||||
|
#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' |
||||||
|
) |
||||||
|
|
||||||
|
_arguments -C \ |
||||||
|
':command:->command' \ |
||||||
|
'*::options:->options' |
||||||
|
|
||||||
|
case $state in |
||||||
|
(command) |
||||||
|
_describe -t commands "jira subcommand" _1st_arguments |
||||||
|
return |
||||||
|
;; |
||||||
|
esac |
||||||
Loading…
Reference in new issue