aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/gmg_commands/__init__.py')
-rw-r--r--mediagoblin/gmg_commands/__init__.py22
1 files changed, 17 insertions, 5 deletions
diff --git a/mediagoblin/gmg_commands/__init__.py b/mediagoblin/gmg_commands/__init__.py
index 6aed4f6c..a1eb599d 100644
--- a/mediagoblin/gmg_commands/__init__.py
+++ b/mediagoblin/gmg_commands/__init__.py
@@ -41,11 +41,23 @@ SUBCOMMAND_MAP = {
'setup': 'mediagoblin.gmg_commands.dbupdate:dbupdate_parse_setup',
'func': 'mediagoblin.gmg_commands.dbupdate:dbupdate',
'help': 'Set up or update the SQL database'},
- 'theme': {
- 'setup': 'mediagoblin.gmg_commands.theme:theme_parser_setup',
- 'func': 'mediagoblin.gmg_commands.theme:theme',
- 'help': 'Theming commands',
- }
+ 'assetlink': {
+ 'setup': 'mediagoblin.gmg_commands.assetlink:assetlink_parser_setup',
+ 'func': 'mediagoblin.gmg_commands.assetlink:assetlink',
+ 'help': 'Link assets for themes and plugins for static serving'},
+ 'reprocess': {
+ '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'},
+ # 'theme': {
+ # 'setup': 'mediagoblin.gmg_commands.theme:theme_parser_setup',
+ # 'func': 'mediagoblin.gmg_commands.theme:theme',
+ # 'help': 'Theming commands',
+ # }
## These might be useful, mayyyybe, but don't really work anymore
## due to mongo change and the "versatility" of sql options.