Class: Corneal::CLI

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failureObject



20
21
22
# File 'lib/corneal/cli.rb', line 20

def self.exit_on_failure
  true
end

Instance Method Details

#versionObject

USAGE: corneal -v



9
10
11
# File 'lib/corneal/cli.rb', line 9

def version
  say "Corneal #{Corneal::VERSION::STRING}"
end