From cbe048bb3ffb8f74752e4668957fbf105cedbf62 Mon Sep 17 00:00:00 2001 From: Rin Toshaka Date: Sun, 9 Dec 2018 20:17:35 +0100 Subject: [PATCH] Mix tasks: improve uploads.ex moduledoc --- lib/mix/tasks/pleroma/uploads.ex | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/mix/tasks/pleroma/uploads.ex b/lib/mix/tasks/pleroma/uploads.ex index 0742ab378..d934bd6dc 100644 --- a/lib/mix/tasks/pleroma/uploads.ex +++ b/lib/mix/tasks/pleroma/uploads.ex @@ -6,11 +6,17 @@ defmodule Mix.Tasks.Pleroma.Uploads do require Logger @log_every 50 - @shortdoc "Migrate uploads from local to remote storage" - @longdoc """ - Manages uploads + @shortdoc "Manages uploads" + @moduledoc """ + Manages uploads. + ## Migrate uploads from local to remote storage + mix pleroma.uploads migrate_local TARGET_UPLOADER [OPTIONS...] + Options: + - `--delete` - delete local uploads after migrating them to the target uploader + + A list of avalible uploaders can be seen in config.exs """ def run(["migrate_local", target_uploader | args]) do -- 2.45.2