浏览代码

Add heroku `features` command to completion (#5667)

Jaehyun Shin 7 年之前
父节点
当前提交
e66bf038c7
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      plugins/heroku/_heroku

+ 5 - 2
plugins/heroku/_heroku

@@ -31,6 +31,10 @@ _1st_arguments=(
   "domains\:add":"add a custom domain to an app"
   "domains\:remove":"remove a custom domain from an app"
   "domains\:clear":"remove all custom domains from an app"
+  "features":"list available app features"
+  "features\:disable":"disables a feature"
+  "features\:enable":"enables an feature"
+  "features\:info":"displays additional information about feature"
   "help":"list available commands or display help for a specific command"
   "keys":"display keys for the current user"
   "keys\:add":"add a key for the current user"
@@ -144,5 +148,4 @@ _arguments \
   '(--app)--app[the app name]' \
   '(--remote)--remote[the remote name]' \
   '(--help)--help[help about the current command]' \
-  &&  return 0
-
+  && return 0