a9428b137f14969bd44a5787c0080297d81ea0b7

Author
Kyle Scully <scullykns@gmail.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

added mix autocompletion support for phoenix (#4967)

Diff

This diff is truncated to protect this page.

 1diff --git a/plugins/mix/_mix b/plugins/mix/_mix
 2index 3b3887b1fc4d12d29683e38a75745e289b9170c7..57fdf808a7222f14dd76c69505f9e59b01395acd 100644
 3--- a/plugins/mix/_mix
 4+++ b/plugins/mix/_mix
 5@@ -38,6 +38,15 @@ _1st_arguments=(
 6     'local.hex:Install hex locally'
 7     'local.rebar:Install rebar locally'
 8     'new:Create a new Elixir project'
 9+    'phoenix.digest:Digests and compress static files'
10+    'phoenix.gen.channel:Generates a Phoenix channel'
11+    'phoenix.gen.html:Generates controller, model and views for an HTML based resource'
12+    'phoenix.gen.json:Generates a controller and model for a JSON based resource'
13+    'phoenix.gen.model:Generates an Ecto model'
14+    'phoenix.gen.secret:Generates a secret'
15+    'phoenix.new:Create a new Phoenix application'
16+    'phoenix.routes:Prints all routes'
17+    'phoenix.server:Starts applications and their servers'
18     'run:Run the given file or expression'
19     "test:Run a project's tests"
20     '--help:Describe available tasks'
21@@ -49,7 +58,7 @@ __task_list ()
22     local expl
23     declare -a tasks
24