From 521824da5c34b7e2aa22f6dceed03ead1791d266 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Sun, 23 Feb 2014 16:20:03 +0200 Subject: Issue #824: Add gmg deletemedia command. --- mediagoblin/gmg_commands/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mediagoblin/gmg_commands/__init__.py') diff --git a/mediagoblin/gmg_commands/__init__.py b/mediagoblin/gmg_commands/__init__.py index a1eb599d..9de4130e 100644 --- a/mediagoblin/gmg_commands/__init__.py +++ b/mediagoblin/gmg_commands/__init__.py @@ -53,6 +53,10 @@ SUBCOMMAND_MAP = { 'setup': 'mediagoblin.gmg_commands.addmedia:parser_setup', 'func': 'mediagoblin.gmg_commands.addmedia:addmedia', 'help': 'Reprocess media entries'}, + 'deletemedia': { + 'setup': 'mediagoblin.gmg_commands.deletemedia:parser_setup', + 'func': 'mediagoblin.gmg_commands.deletemedia:deletemedia', + 'help': 'Delete media entries'}, # 'theme': { # 'setup': 'mediagoblin.gmg_commands.theme:theme_parser_setup', # 'func': 'mediagoblin.gmg_commands.theme:theme', -- cgit v1.2.3