Sha256: efcc9e549e1d1c20f7232b093508a9a2daf60fec11ca8402054726b5aeab8f67

Contents?: true

Size: 560 Bytes

Versions: 2

Compression:

Stored size: 560 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 "* modules - type 'checker modules' to see available modules"
      puts "* checks  - type 'checker [module name]' to check your current git stage"
      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.6.4 lib/checker/helper.rb
checker-0.6.3 lib/checker/helper.rb