Class: CreateRubyApp::CLI
- Inherits:
-
Thor
- Object
- Thor
- CreateRubyApp::CLI
- Defined in:
- lib/create_ruby_app/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
7 8 9 |
# File 'lib/create_ruby_app/cli.rb', line 7 def self.exit_on_failure? true end |
Instance Method Details
#new(name) ⇒ Object
38 39 40 41 42 43 44 |
# File 'lib/create_ruby_app/cli.rb', line 38 def new(name) App.new( name: replace_dashes_with_underscores(name), gems: [:gems].split(","), version: [:ruby] ).run! end |
#version ⇒ Object
13 14 15 |
# File 'lib/create_ruby_app/cli.rb', line 13 def version say VERSION end |