Class: Grapethor::CLI

Inherits:
Thor
  • Object
show all
Includes:
Utils, Thor::Actions
Defined in:
lib/grapethor/generators/cli.rb

Constant Summary

Constants included from Utils

Utils::ATTRS_MAP, Utils::CONFIG_FILENAME, Utils::TEST_FRAMEWORK_DIRNAME

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/grapethor/generators/cli.rb', line 10

def self.exit_on_failure?
  true
end

Instance Method Details

#versionObject



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

def version
  say "Grapethor #{VERSION}"
end