Sha256: dca1d05fc64e868088bf724e349d426da2426ae5b2d4aa5917da26f869a97464
Contents?: true
Size: 487 Bytes
Versions: 9
Compression:
Stored size: 487 Bytes
Contents
#!/usr/bin/env ruby require "irb" require "rubygems" require File.dirname(__FILE__) + '/../lib/sappy' if ARGV.size != 2 $stderr.puts "Credentials required." exit 1 end username = ARGV.shift password = ARGV.shift $stderr.puts "Starting up the Sappy with #{username}/#{password}" @account = Sappy::Account.login(username, password) if __FILE__ == $0 IRB.start(__FILE__) else # check -e option if /^-e$/ =~ $0 IRB.start(__FILE__) else IRB.setup(__FILE__) end end
Version data entries
9 entries across 9 versions & 2 rubygems