Class: LcpRuby::CLI::Main
- Inherits:
-
Thor
- Object
- Thor
- LcpRuby::CLI::Main
- Defined in:
- lib/lcp_ruby/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
13 14 15 |
# File 'lib/lcp_ruby/cli.rb', line 13 def self.exit_on_failure? true end |
Instance Method Details
#new(app_name) ⇒ Object
40 41 42 |
# File 'lib/lcp_ruby/cli.rb', line 40 def new(app_name) NewCommand.new(app_name, , shell).run end |
#run_example(name = "showcase", dir = nil) ⇒ Object
51 52 53 54 |
# File 'lib/lcp_ruby/cli.rb', line 51 def run_example(name = "showcase", dir = nil) require_relative "cli/run_command" RunCommand.new(name, dir, , shell).run end |