Sha256: 0626ee6a461f18b328061e40a4d8a1da5e6c01beb2be3cbe6da5a1c67710128c
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 Bytes
Contents
#!/usr/bin/env ruby require_relative "../lib/ocp_registry" require "optparse" config_file = nil opts = OptionParser.new do |opts| opts.on("-c", "--config FILE", "configuration file") do |opt| config_file = opt end end opts.parse!(ARGV.dup) if config_file.nil? puts opts exit 1 end runner = Ocp::Registry::Runner.new(config_file) Signal.trap("INT") do runner.stop exit(1) end runner.run
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ocp_registry-0.0.5.pre | bin/ocp_registry |
ocp_registry-0.0.1.alpha | bin/ocp_registry |