From: Rin Toshaka Date: Sun, 9 Dec 2018 19:17:35 +0000 (+0100) Subject: Mix tasks: improve uploads.ex moduledoc X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=cbe048bb3ffb8f74752e4668957fbf105cedbf62;p=akkoma Mix tasks: improve uploads.ex moduledoc --- 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