Sha256: 1bd184e706fa1604ec657eb05b04c0fea7af5be158392d3d2a0fb174842dcc31

Contents?: true

Size: 483 Bytes

Versions: 1

Compression:

Stored size: 483 Bytes

Contents

require 'pp'

require_relative "../shared"

GoodData::CLI.module_eval do
  desc 'Interactive session with gooddata sdk loaded'
  command :console do |c|

    c.action do |global_options, options, args|
      puts "Use 'exit' to quit the live session. Use 'q' to jump out of displaying a large output."
      binding.pry(:quiet => true,
                  :prompt => [proc { |target_self, nest_level, pry|
                    "sdk_live_sesion: "
                  }])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gooddata-0.6.0 lib/gooddata/cli/commands/console_cmd.rb