Sha256: 328a7c9de2c42b0d35c946e742a1c4b851fb9b2ae1b2fed711a0b9a055c6b160

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

#!/usr/bin/env ruby -W0
lib_path = File.dirname(__FILE__) + '/../lib'
if Dir.exist?(lib_path)
  $LOAD_PATH << lib_path
end
require 'colored2'
require 'dupervisor'
require 'awesome_print'

begin
  DuperVisor::Main.new(DuperVisor::CLI.new(ARGV).parse).run
rescue DuperVisor::CLIError => e
  STDERR.puts 'Usage error: ' + e.message.bold.red
  puts
  DuperVisor::CLI.new(['--help']).parse
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dupervisor-1.0.3 exe/dv
dupervisor-1.0.2 exe/dv