Class: Middleman::Cli::Base

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

Overview

The base task from which everything else extends

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)

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

def self.exit_on_failure?
  true
end

Instance Method Details

#versionObject


13
14
15
# File 'middleman-cli/lib/middleman-cli.rb', line 13

def version
  say "Middleman #{Middleman::VERSION}"
end