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

Version Path
abcde-sappy-0.1.0 bin/shell
abcde-sappy-0.1.1 bin/shell
sappy-0.1.7 bin/shell
sappy-0.1.6 bin/shell
sappy-0.1.5 bin/shell
sappy-0.1.4 bin/shell
sappy-0.1.3 bin/shell
sappy-0.1.2 bin/shell
sappy-0.1.1 bin/shell