update cask subcommands

This commit is contained in:
Sebastien Duthil 2014-10-05 13:45:33 -04:00
parent eefc2ff7ed
commit 86dbad26c5
1 changed files with 20 additions and 11 deletions

View File

@ -49,18 +49,27 @@ function _cask() {
case $state in case $state in
subcommand) subcommand)
subcommands=( subcommands=(
"path:print Emacs exec-path (including package bin path)" "build:build all Elisp files in the files directive"
"load-path:print Emacs load-path (including package dependencies)" "clean-elc:remove all byte compiled Elisp files in the files directive"
"help:display help message" "exec:execute command with correct 'exec-path' and 'load-path'"
"info:show info about this project" "exec-path:print 'exec-path' for all packages and dependencies"
"files:print list of files specified in the files directive"
"help:display usage information or documentation for specified command"
"info:show info about the current package"
"init:initialize the current directory with a Cask-file"
"install:install all packages specified in the Cask-file"
"link:manage links"
"list:list dependencies" "list:list dependencies"
"version:show the package version" "load-path:print 'load-path' for all packages and dependencies"
"init:create basic Cask file" "outdated:print list of outdated packages"
"exec:execute command with correct dependencies" "package:build package and put in specified directory (default: dist)"
"update:update dependencies" "package-directory:print current package installation directory"
"install:install dependencies" "path:print 'exec-path' for all packages and dependencies"
"package:create -pkg.el file" "pkg-file:write a 'define-package' file"
"package-directory:print package installation directory" "update:update package version"
"upgrade-cask:upgrade Cask itself and its dependencies"
"upgrade:upgrade Cask itself and its dependencies"
"version:print program version"
) )
_describe -t subcommands 'cask subcommands' subcommands && ret=0 _describe -t subcommands 'cask subcommands' subcommands && ret=0
esac esac