Document the mix tasks in ex_doc instead

This commit is contained in:
Haelwenn (lanodan) Monnier 2018-11-02 09:32:48 +01:00
commit 8b2541e4e7
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
6 changed files with 32 additions and 21 deletions

View file

@ -1,7 +1,14 @@
defmodule Mix.Tasks.GenerateInviteToken do
use Mix.Task
@shortdoc "Generate invite token for user"
@moduledoc """
Generates invite token
This is in the form of a URL to be used by the Invited user to register themselves.
## Usage
``mix generate_invite_token``
"""
def run([]) do
Mix.Task.run("app.start")