Current section
Files
Jump to
Current section
Files
lib/mix/tasks/fluminus.ex
defmodule Mix.Tasks.Fluminus do
@help """
mix fluminus [OPTIONS]
--verbose Enable verbose mode
--announcements Show announcements
--files Show files
--download-to=PATH Download files to PATH
Only with --download-to
--webcasts Download webcasts too
--lessons Download files in the weekly lesson plans too
"""
@moduledoc """
Runs the Fluminus CLI.
```
#{@help}
```
"""
@shortdoc "Runs the Fluminus CLI."
use Mix.Task
def run(args) do
if "--help" in args or "-h" in args do
IO.puts(@help)
else
FluminusCLI.run(args)
end
end
end