lib/rubyneat/cli/main.rb in rubyneat-0.5.0 vs lib/rubyneat/cli/main.rb in rubyneat-0.5.2
- old
+ new
@@ -28,9 +28,10 @@
register Generator::NewProject, 'new', 'new', 'Generates a new NEAT Project'
end
class Main < Thor
class_option :verbose, type: :numeric, banner: '[1|2|3]', aliases: '-v'
+ class_option :logging, type: :string, banner: '[info|warn|err|debug]', aliases: ['--log', '-l']
desc 'list <type>', 'List the requested type.'
subcommand 'list', List
desc 'generate <generator>', 'Generators'