aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/batchaddmedia.py
diff options
context:
space:
mode:
authortilly-Q <nattilypigeonfowl@gmail.com>2014-05-12 17:02:12 -0400
committertilly-Q <nattilypigeonfowl@gmail.com>2014-05-12 17:02:31 -0400
commit8524a6bdc575312b35df6e6aa3118ed139303d72 (patch)
treeaf1e178551651221743c96424cbba838f979aebf /mediagoblin/gmg_commands/batchaddmedia.py
parent8f65028ddff231bfb374add3dc1328af4f26ca9d (diff)
downloadmediagoblin-8524a6bdc575312b35df6e6aa3118ed139303d72.tar.lz
mediagoblin-8524a6bdc575312b35df6e6aa3118ed139303d72.tar.xz
mediagoblin-8524a6bdc575312b35df6e6aa3118ed139303d72.zip
Added documentation for the batchaddmedia gmg tool to the mediagoblin docs.
Diffstat (limited to 'mediagoblin/gmg_commands/batchaddmedia.py')
-rw-r--r--mediagoblin/gmg_commands/batchaddmedia.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/mediagoblin/gmg_commands/batchaddmedia.py b/mediagoblin/gmg_commands/batchaddmedia.py
index 7ba8db1e..75e7b7c5 100644
--- a/mediagoblin/gmg_commands/batchaddmedia.py
+++ b/mediagoblin/gmg_commands/batchaddmedia.py
@@ -32,15 +32,21 @@ from jsonschema.exceptions import ValidationError
def parser_setup(subparser):
subparser.description = """\
This command allows the administrator to upload many media files at once."""
+ subparser.epilog = _(u"""For more information about how to properly run this
+script (and how to format the metadata csv file), read the MediaGoblin
+documentation page on command line uploading
+<http://docs.mediagoblin.org/siteadmin/commandline-upload.html>""")
subparser.add_argument(
'username',
- help="Name of user these media entries belong to")
+ help=_(u"Name of user these media entries belong to"))
subparser.add_argument(
- 'metadata_path')
+ 'metadata_path',
+ help=_(
+u"""Path to the csv file containing metadata information."""))
subparser.add_argument(
'--celery',
action='store_true',
- help="Don't process eagerly, pass off to celery")
+ help=_(u"Don't process eagerly, pass off to celery"))
def batchaddmedia(args):