Sha256: b11afbdeee7a495a32e158997f219793540b92473283ce78287b41e201b12a9c

Contents?: true

Size: 532 Bytes

Versions: 1

Compression:

Stored size: 532 Bytes

Contents

# encoding: UTF-8

require_relative '../shared'
require_relative '../../commands/project'
require_relative '../../commands/role'
require_relative '../../commands/user'

GoodData::CLI.module_eval do

  desc 'User management'
  command :user do |c|
    c.desc 'Show your profile'
    c.command :show do |show|
      show.action do |global_options, options, _args|
        opts = options.merge(global_options)
        client = GoodData.connect(opts)
        pp GoodData::Command::User.show(client: client)
      end
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gooddata-0.6.11 lib/gooddata/cli/commands/user_cmd.rb