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

Version Path
perus-1.0.7 exe/perus-console
perus-1.0.6 exe/perus-console
perus-1.0.5 exe/perus-console
perus-1.0.4 exe/perus-console
perus-1.0.3 exe/perus-console
perus-1.0.2 exe/perus-console
perus-1.0.1 exe/perus-console
perus-1.0.0 exe/perus-console
perus-0.1.35 exe/perus-console
perus-0.1.34 exe/perus-console
perus-0.1.33 exe/perus-console
perus-0.1.32 exe/perus-console
perus-0.1.31 exe/perus-console
perus-0.1.30 exe/perus-console
perus-0.1.29 exe/perus-console
perus-0.1.28 exe/perus-console
perus-0.1.27 exe/perus-console
perus-0.1.26 exe/perus-console
perus-0.1.25 exe/perus-console
perus-0.1.24 exe/perus-console