Sha256: 0957daa32898c08253c96a3d643b8b57ed46f3e4ca2c6117e6a52bcf56d2a531

Contents?: true

Size: 506 Bytes

Versions: 6

Compression:

Stored size: 506 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)
        GoodData.connect(opts)
        pp GoodData::Command::User.show
      end
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gooddata-0.6.7 lib/gooddata/cli/commands/user_cmd.rb
gooddata-0.6.6 lib/gooddata/cli/commands/user_cmd.rb
gooddata-0.6.5 lib/gooddata/cli/commands/user_cmd.rb
gooddata-0.6.4 lib/gooddata/cli/commands/user_cmd.rb
gooddata-0.6.3 lib/gooddata/cli/commands/user_cmd.rb
gooddata-0.6.2 lib/gooddata/cli/commands/user_cmd.rb