3 local curcontext="$curcontext" state line cmds ret=1
6 '(- 1 *)'{-v,--version}'[display version information]' \
7 '(-h|--help)'{-h,--help}'[show help information]' \
14 "version:Prints Gas's version"
16 "show:Shows your current user"
17 "list:Lists your authors"
18 "import:Imports current user to gasconfig"
19 "help:Describe available tasks or one specific task"
20 "delete:Deletes author"
21 "add:Adds author to gasconfig"
23 _describe -t commands 'gas command' cmds && ret=0
28 _values -S , 'authors' $(cat ~/.gas | sed -n -e 's/^\[\(.*\)\]/\1/p') && ret=0