Method: Lono::New.cli_options
- Defined in:
- lib/lono/new.rb
.cli_options ⇒ Object
Ugly, but when the class_option is only defined in the Thor::Group class it doesnt show up with cli-template new help :( If anyone knows how to fix this let me know. Also options from the cli can be pass through to here
11 12 13 14 15 16 17 18 19 |
# File 'lib/lono/new.rb', line 11 def self. [ [:bundle, type: :boolean, default: true, desc: "Runs bundle install on the project"], [:demo, type: :boolean, default: false, desc: "Also generate demo blueprint"], [:force, type: :boolean, desc: "Bypass overwrite are you sure prompt for existing files."], [:git, type: :boolean, default: true, desc: "Git initialize the project"], [:type, default: "dsl", desc: "Blueprint type: dsl or erb"], ] end |