Class: XCBootstrap::Cli
- Inherits:
-
Thor
- Object
- Thor
- XCBootstrap::Cli
- Defined in:
- lib/xcbootstrap/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
35 36 37 |
# File 'lib/xcbootstrap/cli.rb', line 35 def self.exit_on_failure? true end |
Instance Method Details
#list ⇒ Object
24 25 26 27 28 29 30 |
# File 'lib/xcbootstrap/cli.rb', line 24 def list puts "Templates:" Templates.all_templates.each do |template| puts " #{template}" end end |