Move digest email docs to a separate file and improve styling

This commit is contained in:
rinpatch 2019-10-03 01:09:51 +03:00
commit 869ea2ab90
3 changed files with 18 additions and 12 deletions

View file

@ -2,16 +2,7 @@ defmodule Mix.Tasks.Pleroma.Digest do
use Mix.Task
@shortdoc "Manages digest emails"
@moduledoc """
Manages digest emails
## Send digest email since given date (user registration date by default)
ignoring user activity status.
``mix pleroma.digest test <nickname> <since_date>``
Example: ``mix pleroma.digest test donaldtheduck 2019-05-20``
"""
def run(["test", nickname | opts]) do
Mix.Pleroma.start_pleroma()