equal
deleted
inserted
replaced
169 |
169 |
170 def run(self, args): |
170 def run(self, args): |
171 """run the command with its specific arguments""" |
171 """run the command with its specific arguments""" |
172 if args: |
172 if args: |
173 raise BadCommandUsage('Too much arguments') |
173 raise BadCommandUsage('Too much arguments') |
174 print 'CubicWeb version:', cwcfg.cubicweb_version() |
174 print 'CubicWeb %s (%s mode)' % (cwcfg.cubicweb_version(), cwcfg.mode) |
175 print 'Detected mode:', cwcfg.mode |
|
176 print |
175 print |
177 print 'Available configurations:' |
176 print 'Available configurations:' |
178 for config in CONFIGURATIONS: |
177 for config in CONFIGURATIONS: |
179 print '*', config.name |
178 print '*', config.name |
180 for line in config.__doc__.splitlines(): |
179 for line in config.__doc__.splitlines(): |