Sha256: 293bd085f27cc690e6c263667255369de62ef9e6fb417e5cd4710268074ef29c

Contents?: true

Size: 640 Bytes

Versions: 19

Compression:

Stored size: 640 Bytes

Contents

#!/usr/bin/env ruby

require 'gooddata'
require 'gooddata/command'

require 'irb'

include GoodData

module IRB
  def IRB.start2(bind, ap_path)
    IRB.setup(ap_path)
    irb = Irb.new(WorkSpace.new(bind))
    @CONF[:MAIN_CONTEXT] = irb.context
    trap("SIGINT") do
      irb.signal_handle
    end
    catch(:IRB_EXIT) do
      irb.eval_input
    end
  end
end

param = ARGV.shift if ARGV.length
if param == '--debug' then
  require 'logger'
  GoodData.logger = Logger.new STDOUT
end
Command.connect
puts "Logged into GoodData as #{GoodData.profile.user} (#{GoodData.profile['login']})"
puts
IRB::start2 binding, $STDIN
puts "Logging out"

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
gooddata-0.5.16 bin/igd.rb
gooddata-0.5.15 bin/igd.rb
gooddata-0.5.14 bin/igd.rb
gooddata-0.5.13 bin/igd.rb
gooddata-0.5.12 bin/igd.rb
gooddata-0.5.11 bin/igd.rb
gooddata-0.5.10 bin/igd.rb
gooddata-0.5.9 bin/igd.rb
gooddata-0.5.8 bin/igd.rb
gooddata-0.5.7 bin/igd.rb
gooddata-0.5.6 bin/igd.rb
gooddata-0.5.5 bin/igd.rb
gooddata-0.5.4 bin/igd.rb
gooddata-0.5.3 bin/igd.rb
gooddata-0.5.2 bin/igd.rb
gooddata-0.5.1 bin/igd.rb
gooddata-0.5.0 bin/igd.rb
gooddata-0.4.0 bin/igd.rb
gooddata-0.2.0 bin/igd.rb