[forms, commands, templates] Add extended example vocabs and tags to paster command and reintegrate with form
[ckanext-datagovau.git] / ckanext / example / commands.py
blob:a/ckanext/example/commands.py -> blob:b/ckanext/example/commands.py
--- a/ckanext/example/commands.py
+++ b/ckanext/example/commands.py
@@ -36,6 +36,8 @@
 
         if cmd == 'create-example-vocabs':
             self.create_example_vocabs()
+        if cmd == 'clean':
+            self.clean()
         else:
             log.error('Command "%s" not recognized' % (cmd,))
 
@@ -76,3 +78,6 @@
             data = {'name': 'Steve Lewis', 'vocabulary_id': vocab['id']}
             get_action('tag_create')(context, data)
 
+    def clean(self):
+        log.error("Clean command not yet implemented")
+