3
4
5
6
7
8
9
10
11
12
13
|
# File 'lib/checker/helper.rb', line 3
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
|