Module: Oncall::CLI

Extended by:
CLI
Included in:
CLI
Defined in:
lib/oncall/cli.rb

Constant Summary collapse

USAGE =
<<-EOF
Usage: oncall

Options:
  --help      Display this help message
EOF
PATTERN =
'**{,/*/**}/*_oncall.rb'

Instance Method Summary collapse

Instance Method Details

#invokeObject



53
54
55
56
57
58
59
60
61
62
# File 'lib/oncall/cli.rb', line 53

def invoke
  options = parse_options

  if options[:help]
    print_usage
    exit 0
  end

  run_tests
end