Update stack.plugin.zsh

The current stack version is 1.3.2
This commit is contained in:
YUE YANG 2017-02-21 10:42:04 +08:00 committed by GitHub
parent 98d8d3429f
commit 59e81b477c

View File

@ -5,28 +5,40 @@ function _stack_commands() {
case $state in case $state in
subcommand) subcommand)
subcommands=( subcommands=(
"build:Build the project(s) in this directory/configuration" "build:Build the package(s) in this directory/configuration"
"install:Build executables and install to a user path" "install:Shortcut for \'build --copy-bins\'"
"test:Build and test the project(s) in this directory/configuration" "uninstall:DEPRECATED\: This command performs no actions, and is present for documentation only"
"bench:Build and benchmark the project(s) in this directory/configuration" "test:Shortcut for \'build --test\'"
"haddock:Generate haddocks for the project(s) in this directory/configuration" "bench:Shortcut for \'build --bench\'"
"new:Create a brand new project" "haddock:Shortcut for \'build --haddock\'"
"init:Initialize a stack project based on one or more stack packages" "new:Create a new project from a template. Run \`stack templates\' to see available templates."
"solver:Use a dependency solver to try and determine missing extra-deps" "templates:List the templates available for \`stack new\'."
"init:Create stack project config from cabal or hpack package specifications"
"solver:Add missing extra-deps to stack project config"
"setup:Get the appropriate ghc for your project" "setup:Get the appropriate ghc for your project"
"path:Print out handy path information" "path:Print out handy path information"
"unpack:Unpack one or more packages locally" "unpack:Unpack one or more packages locally"
"update:Update the package index" "update:Update the package index"
"upgrade:Upgrade to the latest stack (experimental)" "upgrade:Upgrade to the latest stack"
"upload:Upload a package to Hackage" "upload:Upload a package to Hackage"
"sdist:Create source distribution tarballs"
"dot:Visualize your project's dependency graph using Graphviz dot" "dot:Visualize your project's dependency graph using Graphviz dot"
"exec:Execute a command"
"ghc:Run ghc" "ghc:Run ghc"
"ghci:Run ghci in the context of project(s)" "hoogle:Run hoogle in the context of the current Stack config"
"ide:Run ide-backend-client with the correct arguments" "exec:Execute a command"
"ghci:Run ghci in the context of project(s) (experimental)"
"repl:Run ghci in the context of package(s) (experimental) (alias for \'ghci\')"
"runghc:Run runghc" "runghc:Run runghc"
"runhaskell:Run runghc (alias for \'runghc\')"
"eval:Evaluate some haskell code inline. Shortcut for \'stack exec ghc -- -e CODE\'"
"clean:Clean the local packages" "clean:Clean the local packages"
"list-dependencies:List the dependencies"
"query:Query general build information (experimental)"
"ide:IDE-specific commands"
"docker:Subcommands specific to Docker use" "docker:Subcommands specific to Docker use"
"config:Subcommands specific to modifying stack.yaml files"
"image:Subcommands specific to imaging"
"hpc:Subcommands specific to Haskell Program Coverage"
) )
_describe -t subcommands 'stack subcommands' subcommands && ret=0 _describe -t subcommands 'stack subcommands' subcommands && ret=0
esac esac