Sha256: f03de616b2b0cbc0f9ad7319b529816f136ac78538aee523a1f9a4dc64cc91b6
Contents?: true
Size: 872 Bytes
Versions: 42
Compression:
Stored size: 872 Bytes
Contents
# encoding: UTF-8 # # Copyright (c) 2010-2017 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 'tty-spinner' require_relative '../shared' require_relative '../../commands/domain' module GoodData module CLI desc 'Manage your domain' arg_name 'domain_command' command :domain do |c| c.desc 'Shows users in domain' c.command :users do |users| users.action do |global_options, options, args| opts = options.merge(global_options) spinner = TTY::Spinner.new ":spinner Fetching users from domain" spinner.auto_spin res = GoodData::Command::Domain.list_users(args[0], opts) spinner.stop res end end end end end
Version data entries
42 entries across 42 versions & 1 rubygems