Sha256: 1b248c819888caaa20af486f1c900e509874e70d4d4f40b68484c10e809d76fc
Contents?: true
Size: 830 Bytes
Versions: 2
Compression:
Stored size: 830 Bytes
Contents
module Checker class Helper def self.show_help! puts "Checker version #{Checker::VERSION}" puts "* install - type 'checker install' to install git pre-commit-hook" puts "* reinstall - type 'checker reinstall' to purge current hook git pre-commit-hook and install new one" puts "* modules - type 'checker modules' to see available modules" puts "* checks - type 'checker [module name]' to check your current git stage" puts "* [dir] - type 'checker [directory]' to check all files in specified directory" puts " ex. 'checker lib/'; 'checker .' etc" puts "* help - type 'checker help' to see this message :)" exit 0 end def self.show_modules!(modules) puts "Available modules are: all, #{modules.join(', ')}" exit 0 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
checker-0.8.0.beta2 | lib/checker/helper.rb |
checker-0.8.0.beta | lib/checker/helper.rb |