Class: Iron::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/iron/cli.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


6
# File 'lib/iron/cli.rb', line 6

def self.exit_on_failure? = true

Instance Method Details

#new(app_path) ⇒ Object



19
20
21
# File 'lib/iron/cli.rb', line 19

def new(app_path)
  scaffold app_path, local_checkout: options[:path]
end

#versionObject



24
25
26
27
# File 'lib/iron/cli.rb', line 24

def version
  require "iron/version"
  say Iron::VERSION
end