Class: Mj::Cli

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/mj/cli.rb', line 12

def self.exit_on_failure?
  true
end

Instance Method Details

#versionObject



17
18
19
# File 'lib/mj/cli.rb', line 17

def version
  puts Mj::VERSION
end