Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
cbe048bb
Commit
cbe048bb
authored
Dec 09, 2018
by
Rin Toshaka
Browse files
Mix tasks: improve uploads.ex moduledoc
parent
cf85a9ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/mix/tasks/pleroma/uploads.ex
View file @
cbe048bb
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment