Sha256: 226ebfdfed93d34f57b0d9ac939772bad3942574973328f63099b96f55488837

Contents?: true

Size: 302 Bytes

Versions: 4

Compression:

Stored size: 302 Bytes

Contents

#!/usr/bin/env ruby

$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)

require "optparse"
require "gitlab_monitor"

def main
  clazz = GitLab::Monitor::CLI.for(ARGV.shift)
  runner = clazz.new(ARGV)
  runner.run
rescue GitLab::Monitor::CLI::InvalidCLICommand => e
  puts e
  exit 1
end

main

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gitlab-monitor-4.2.0 bin/gitlab-mon
gitlab-monitor-4.1.0 bin/gitlab-mon
gitlab-monitor-4.0.1 bin/gitlab-mon
gitlab-monitor-4.0.0 bin/gitlab-mon