4f67b02a9f43b0996ad85ee600b468399e1477e5
- Author
- José Camelo Freitas <josecfreittas@outlook.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/plugins/mix/README.md b/plugins/mix/README.md
2index 878f370f20191173328327af0144205df2df2f4c..f0258fe888e8f0e6a245581bd5711f9cb5d90655 100644
3--- a/plugins/mix/README.md
4+++ b/plugins/mix/README.md
5@@ -9,11 +9,11 @@ plugins=(... mix)
6 ```
7 ## Supported Task Types
8
9-| Task Type | Documentation |
10-|-------------------------|----------------------------------------------------------|
11-| Elixir | [Elixir Lang](https://elixir-lang.org/) |
12-| Phoenix v1.2.1 and below| [Phoenix](https://hexdocs.pm/phoenix/1.2.1/Phoenix.html) |
13-| Phoenix v1.3.0 and above| [Phoenix](https://hexdocs.pm/phoenix/Phoenix.html) |
14-| Ecto | [Ecto](https://hexdocs.pm/ecto/Ecto.html) |
15-| Hex | [Hex](https://hex.pm/) |
16-| Nerves | [Nerves](https://nerves-project.org/) |
17+| Task Type | Documentation |
18+|--------------------------|----------------------------------------------------------|
19+| Elixir | [Elixir Lang](https://elixir-lang.org/) |
20+| Phoenix v1.2.1 and below | [Phoenix](https://hexdocs.pm/phoenix/1.2.1/Phoenix.html) |
21+| Phoenix v1.3.0 and above | [Phoenix](https://hexdocs.pm/phoenix/Phoenix.html) |
22+| Ecto | [Ecto](https://hexdocs.pm/ecto/Ecto.html) |
23+| Hex | [Hex](https://hex.pm/) |
24+| Nerves | [Nerves](https://nerves-project.org/) |
25diff --git a/plugins/mix/_mix b/plugins/mix/_mix
26index c0fe68c91c607d81e797af67b6deb7fbce39415f..7940ff1c9386f441b9e4352a3aff11f371663b6e 100644
27--- a/plugins/mix/_mix
28+++ b/plugins/mix/_mix
29@@ -5,8 +5,10 @@
30
31 local -a _1st_arguments
32 _1st_arguments=(
33+ 'app.config:Configures all registered apps'
34 'app.start:Start all registered apps'
35- 'archive:List all archives'
36+ 'app.tree:Prints the application tree'
37+ 'archive:Lists installed archives'
38 'archive.build:Archive this project into a .ez file'
39 'archive.install:Install an archive locally'
40 'archive.uninstall:Uninstall archives'
41@@ -18,6 +20,7 @@ _1st_arguments=(
42 "deps.clean:Remove the given dependencies' files"
43 'deps.compile:Compile dependencies'
44 'deps.get:Get all out of date dependencies'
45+ 'deps.tree:Prints the dependency tree'
46 'deps.unlock:Unlock the given dependencies'
47 'deps.update:Update the given dependencies'
48 'do:Executes the tasks separated by comma'
49@@ -30,27 +33,39 @@ _1st_arguments=(
50 'ecto.migrate:Runs Ecto migration'
51 'ecto.migrations:Displays the up / down migration status'
52 'ecto.rollback:Reverts applied migrations'
53+ 'escript:Lists installed escripts'
54 'escript.build:Builds an escript for the project'
55+ 'escript.install:Installs an escript locally'
56+ 'escript.uninstall:Uninstalls escripts'
57 'firmware:Nerves - Build a firmware image for the selected target platform'
58 'firmware.burn:Nerves - Writes the generated firmware image to an attached SDCard or file'
59 'firmware.image:Nerves - Create a firmware image file that can be copied byte-for-byte'
60 'format:Formats the given files and patterns'
61 'help:Print help information for tasks'
62 'hex:Print hex help information'
63- 'hex.config:Read or update hex config'
64- 'hex.docs:Publish docs for package'
65+ 'hex.audit:Shows retired Hex deps for the current project'
66+ 'hex.build:Builds a new package version locally'
67+ 'hex.config:Reads, updates or deletes local Hex config'
68+ 'hex.docs:Fetches or opens documentation of a package'
69 'hex.info:Print hex information'
70+ 'hex.organization:Manages Hex.pm organizations'
71 'hex.key:Hex API key tasks'
72- 'hex.outdated:Shows outdated hex deps for the current project'
73- 'hex.owner:Hex package ownership tasks'
74+ 'hex.outdated:Shows outdated Hex deps for the current project'
75+ 'hex.owner:Manages Hex package ownership'
76+ 'hex.package:Fetches or diffs packages'
77 'hex.publish:Publish a new package version'
78+ 'hex.registry:Manages local Hex registries'
79+ 'hex.repo:Manages Hex repositories'
80+ 'hex.retire:Retires a package version'
81 'hex.search:Search for package names'
82- 'hex.user:Hex user tasks'
83+ 'hex.sponsor:Show Hex packages accepting sponsorships'
84+ 'hex.user:Manages your Hex user account'
85 'loadconfig:Loads and persists the given configuration'
86 'local:List local tasks'
87 'local.hex:Install hex locally'
88 'local.phoenix:Updates Phoenix locally'
89 'local.phx:Updates the Phoenix project generator locally'
90+ 'local.public_keys:Manages public keys'
91 'local.rebar:Install rebar locally'
92 'nerves.artifact:Create an artifact for a specified Nerves package'
93 'nerves.artifact.get:Nerves get artifacts'
94@@ -69,21 +84,33 @@ _1st_arguments=(
95 'phoenix.server:Starts applications and their servers'
96 'phx.digest:Digests and compresses static files'
97 'phx.digest.clean:Removes old versions of static assets.'
98+ 'phx.gen.auth:Generates authentication logic for a resource'
99+ 'phx.gen.cert:Generates a self-signed certificate for HTTPS testing'
100 'phx.gen.channel:Generates a Phoenix channel'
101 'phx.gen.context:Generates a context with functions around an Ecto schema'
102 'phx.gen.embedded:Generates an embedded Ecto schema file'
103 'phx.gen.html:Generates controller, views, and context for an HTML resource'
104 'phx.gen.json:Generates controller, views, and context for a JSON resource'
105+ 'phx.gen.live:Generates LiveView, templates, and context for a resource'
106+ 'phx.gen.notifier:Generates a notifier that delivers emails by default'
107 'phx.gen.presence:Generates a Presence tracker'
108 'phx.gen.schema:Generates an Ecto schema and migration file'
109 'phx.gen.secret:Generates a secret'
110- 'phx.new:Creates a new Phoenix v1.3.0 application'
111+ 'phx.gen.socket:Generates a Phoenix socket handler'
112+ 'phx.new:Creates a new Phoenix application'
113 'phx.new.ecto:Creates a new Ecto project within an umbrella project'
114 'phx.new.web:Creates a new Phoenix web project within an umbrella project'
115 'phx.routes:Prints all routes'
116 'phx.server:Starts applications and their servers'
117+ 'profile.cprof:Profiles the given file or expression with cprof'
118+ 'profile.eprof:Profiles the given file or expression with eprof'
119+ 'profile.fprof:Profiles the given file or expression with fprof'
120+ 'release:Assembles a self-contained release'
121+ 'release.init:Generates sample files for releases'
122 'run:Run the given file or expression'
123 "test:Run a project's tests"
124+ 'test.coverage:Build report from exported test coverage'
125+ 'xref:Prints cross reference information'
126 '--help:Describe available tasks'
127 '--version:Prints the Elixir version information'
128 )