We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d76cc95 + f683c4e commit e45f052Copy full SHA for e45f052
lib/mix/lib/mix/task.ex
@@ -10,7 +10,7 @@ defmodule Mix.Task do
10
defmodule Mix.Tasks.Hello do
11
use Mix.Task
12
13
- def run(_) do
+ def run(_args) do
14
Mix.shell.info "hello"
15
end
16
@@ -27,6 +27,12 @@ defmodule Mix.Task do
27
on `mix help`
28
* `@recursive` - run the task recursively in umbrella projects
29
30
+ ## Documentation
31
+
32
+ Users can read the documentation for public Mix tasks by doing `mix help
33
+ my_task`. The documentation that will be showed is the `@moduledoc` of the
34
+ task's module.
35
36
"""
37
38
@type task_name :: String.t | atom
0 commit comments