Sha256: 6fffd98d0e83e930da3591908214bb46cff5cabd4849e3943d798a330f28d396
Contents?: true
Size: 507 Bytes
Versions: 6
Compression:
Stored size: 507 Bytes
Contents
# encoding: UTF-8 require_relative '../shared' require_relative '../../commands/projects' GoodData::CLI.module_eval do desc 'Manage your projects' command :projects do |c| c.desc "Lists user's projects" c.command :list do |list| list.action do |global_options, options, args| opts = options.merge(global_options) GoodData.connect(opts) list = GoodData::Command::Projects.list puts list.map { |p| [p.uri, p.title].join(',') } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems