Sha256: 8336f7fd20ee920d514626afa32d42777f8e3cea7b5b99f5a4c6a6455f26c743
Contents?: true
Size: 1.49 KB
Versions: 25
Compression:
Stored size: 1.49 KB
Contents
# encoding: UTF-8 # # Copyright (c) 2010-2015 GoodData Corporation. All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. require 'pathname' require 'pp' require_relative '../shared' require_relative '../../commands/project' module GoodData module CLI desc 'Manage your project' arg_name 'project_command' command :project do |c| c.desc 'If you are in a gooddata project blueprint or if you provide a project id it will start an interactive session inside that project' c.command :jack_in do |jack| jack.action do |global_options, options, _args| warn '[DEPRECATION] `gooddata project jack_in` is deprecated. Please use `gooddata jack_in` instead.' opts = options.merge(global_options) GoodData::Command::Project.jack_in(opts) end end c.desc 'Shows users in project' c.command :users do |users| users.action do |global_options, options, _args| opts = options.merge(global_options) GoodData::Command::Project.list_users(opts) end end end desc 'If you are in a gooddata project blueprint or if you provide a project id it will start an interactive session inside that project' command :jack_in do |jack| jack.action do |global_options, options, _args| opts = options.merge(global_options) GoodData::Command::Project.jack_in(opts) end end end end
Version data entries
25 entries across 25 versions & 2 rubygems