Sha256: 21112c2e2475d36842b52ce86fb0b0f197870c46c449fc0fde0c3c994a1c6f6e

Contents?: true

Size: 416 Bytes

Versions: 2

Compression:

Stored size: 416 Bytes

Contents

#!/usr/bin/env ruby
#
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')

require 'hcheck'

# check if command is to generate config
if ARGV.any? && ARGV[0].eql?('g:config')
  Hcheck::Configuration.generate_config
else
  # try load config from args if supplied
  if ARGV.any?
    Hcheck::Configuration.load_argv(ARGV)
  else
    Hcheck::Configuration.load_default
  end
  Hcheck::Application.run!
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hcheck-0.1.1 exe/hcheck
hcheck-0.1.0 exe/hcheck