# Setup our load paths libdir = __dir__ $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir) # Require Thor since that's what the whole CLI is built around require 'thor' # CLI Module module Middleman::Cli # The base task from which everything else extends class Base < ::Thor desc 'version', 'Show version' def version say "Middleman #{Middleman::VERSION}" end def self.exit_on_failure? true end end end