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__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mediagoblin/gmg_commands/__init__.py b/mediagoblin/gmg_commands/__init__.py
index e5f9a395..b2c8cd6b 100644
--- a/mediagoblin/gmg_commands/__init__.py
+++ b/mediagoblin/gmg_commands/__init__.py
@@ -76,6 +76,12 @@ SUBCOMMAND_MAP = {
'setup': 'mediagoblin.gmg_commands.batchaddmedia:parser_setup',
'func': 'mediagoblin.gmg_commands.batchaddmedia:batchaddmedia',
'help': 'Add many media entries at once'},
+ 'alembic': {
+ 'setup': 'mediagoblin.gmg_commands.alembic:parser_setup',
+ 'func': 'mediagoblin.gmg_commands.alembic:raw_alembic_cli',
+ 'help': (
+ 'Run raw alembic commands with our local database. '
+ '(Unless you know what you\'re doing, use dbupdate instead!)')},
# 'theme': {
# 'setup': 'mediagoblin.gmg_commands.theme:theme_parser_setup',
# 'func': 'mediagoblin.gmg_commands.theme:theme',