expand_json utility... yet another convenience function :)
[mediagoblin.git] / mediagoblin / gmg_commands / __init__.py
index 165a76fd59c990235a1770874ec18d0580b4d8af..55e85116c2f934b49a94f3f60062cdbc368452c2 100644 (file)
@@ -49,6 +49,14 @@ SUBCOMMAND_MAP = {
         'setup': 'mediagoblin.gmg_commands.reprocess:reprocess_parser_setup',
         'func': 'mediagoblin.gmg_commands.reprocess:reprocess',
         'help': 'Reprocess media entries'},
+    'addmedia': {
+        'setup': 'mediagoblin.gmg_commands.addmedia:parser_setup',
+        'func': 'mediagoblin.gmg_commands.addmedia:addmedia',
+        'help': 'Reprocess media entries'},
+    'batchaddmedia': {
+        'setup': 'mediagoblin.gmg_commands.batchaddmedia:parser_setup',
+        'func': 'mediagoblin.gmg_commands.batchaddmedia:batchaddmedia',
+        'help': 'Add many media entries at once'}
     # 'theme': {
     #     'setup': 'mediagoblin.gmg_commands.theme:theme_parser_setup',
     #     'func': 'mediagoblin.gmg_commands.theme:theme',