devtools/devctl.py
changeset 365 5d8336b70aa7
parent 264 6eb0725d509d
child 373 0c931b2e2a68
--- a/devtools/devctl.py	Thu Jan 08 09:59:12 2009 +0100
+++ b/devtools/devctl.py	Thu Jan 08 10:44:29 2009 +0100
@@ -378,6 +378,24 @@
           'help': 'verbose mode: will ask all possible configuration questions',
           }
          ),
+        ("author",
+         {'short': 'a', 'type' : 'string', 'metavar': '<author>',
+          'default': 'LOGILAB S.A. (Paris, FRANCE)',
+          'help': 'cube author',
+          }
+         ),
+        ("author-email",
+         {'short': 'e', 'type' : 'string', 'metavar': '<email>',
+          'default': 'contact@logilab.fr',
+          'help': 'cube author\'s email',
+          }
+         ),
+        ("author-web-site",
+         {'short': 'w', 'type' : 'string', 'metavar': '<web site>',
+          'default': 'http://www.logilab.fr',
+          'help': 'cube author\'s web site',
+          }
+         ),
         )
 
     
@@ -428,6 +446,9 @@
                    'dependancies' : dependancies,
                    'version'  : cubicwebversion,
                    'year'  : str(now().year),
+                   'author': self['author'],
+                   'author-email': self['author-email'],
+                   'author-web-site': self['author-web-site'],
                    }
         copy_skeleton(skeldir, cubedir, context)