Sha256: fc7569626926b841ca5cb7d4e82b40f6ac2d3de74bf5596e4f1012c415e0672e
Contents?: true
Size: 541 Bytes
Versions: 32
Compression:
Stored size: 541 Bytes
Contents
#!/usr/bin/env ruby require 'perus' require 'optparse' require 'irb' options_path = Perus::Server::DEFAULT_SERVER_OPTIONS_PATH OptionParser.new do |opts| opts.banner = "Usage: perus-console [options]" opts.on('-c', '--config PATH', "Path to config file (default: #{Perus::Server::DEFAULT_SERVER_OPTIONS_PATH})") do |c| options_path = c end opts.on('-h', '--help', 'Prints this help') do puts opts exit end end.parse! include Perus::Server Server.load_options(options_path) DB.start IRB.start
Version data entries
32 entries across 32 versions & 1 rubygems