lib/gooddata/cli/commands/console_cmd.rb in gooddata-0.6.11 vs lib/gooddata/cli/commands/console_cmd.rb in gooddata-0.6.12
- old
+ new
@@ -5,11 +5,10 @@
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|
username = global_options[:username]
fail ArgumentError, 'No username specified' if username.nil? || username.empty?
password = global_options[:password]
@@ -26,10 +25,10 @@
fail ArgumentError, 'Wrong project specified' if project.nil?
puts "Use 'exit' to quit the live session. Use 'q' to jump out of displaying a large output."
binding.pry(:quiet => true,
:prompt => [proc do |_target_self, _nest_level, _pry|
- 'sdk_live_sesion: '
+ 'sdk_live_session: '
end])
end
client.disconnect
end
end