Merge branch 'develop' into 'fix/mix-task-uploads-moduledoc'
authorlambda <pleromagit@rogerbraun.net>
Mon, 10 Dec 2018 18:33:36 +0000 (18:33 +0000)
committerlambda <pleromagit@rogerbraun.net>
Mon, 10 Dec 2018 18:33:36 +0000 (18:33 +0000)
# Conflicts:
#   lib/mix/tasks/pleroma/uploads.ex

1  2 
lib/mix/tasks/pleroma/uploads.ex

index 6ffc941c9f4e5c20366271320e21c963368308bb,c6b8401303406e795cbdc390fd67ff85ce39c6e0..63299b2aedff2407ae24b9896efa4f67a3cdaf49
@@@ -6,17 -5,12 +5,19 @@@ defmodule Mix.Tasks.Pleroma.Uploads d
    require Logger
  
    @log_every 50
 -  @shortdoc "Migrate uploads from local to remote storage"
 -  @doc """
++
 +  @shortdoc "Migrates uploads from local to remote storage"
 +  @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
      delete? = Enum.member?(args, "--delete")
      Common.start_pleroma()