Class: Sassquatch::CLI
- Inherits:
-
Thor
- Object
- Thor
- Sassquatch::CLI
- Defined in:
- lib/sassquatch/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
5 6 7 |
# File 'lib/sassquatch/cli.rb', line 5 def self.exit_on_failure? true end |
Instance Method Details
#install ⇒ Object
10 11 12 13 14 |
# File 'lib/sassquatch/cli.rb', line 10 def install generator = Generator.new generator.destination_root = Dir.pwd generator.invoke_all end |
#version ⇒ Object
18 19 20 |
# File 'lib/sassquatch/cli.rb', line 18 def version say "Sassquatch #{Sassquatch::VERSION}" end |