Sha256: 3a4a86cb1f213bb9e895a233715f985dc0522fd433aa8ac3f368fd594bfe3fbc
Contents?: true
Size: 455 Bytes
Versions: 4
Compression:
Stored size: 455 Bytes
Contents
# 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
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
middleman-cli-5.0.0.rc.1 | lib/middleman-cli.rb |
middleman-cli-4.3.0.rc.4 | lib/middleman-cli.rb |
middleman-cli-4.3.0.rc.3 | lib/middleman-cli.rb |
middleman-cli-4.3.0.rc.2 | lib/middleman-cli.rb |