Sha256: de406fb35b8e60ddfd368cc243331a2d2cc92b621b6556642d83d63618e5727c

Contents?: true

Size: 1.6 KB

Versions: 77

Compression:

Stored size: 1.6 KB

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 'gli'

require_relative '../version'
require_relative '../core/core'
require_relative '../extensions/extensions'
require_relative '../exceptions/exceptions'
require_relative '../helpers/auth_helpers'

module GoodData
  module CLI
    extend GLI::App

    program_desc 'GoodData Ruby gem - a wrapper over GoodData API and several useful abstractions to make your everyday usage of GoodData easier.'

    version GoodData::VERSION

    desc 'GoodData user name'
    default_value nil
    arg_name 'gooddata-login'
    flag [:U, :username, :login]

    desc 'GoodData password'
    default_value nil
    arg_name 'gooddata-password'
    flag [:P, :password]

    desc 'Project pid'
    default_value nil
    arg_name 'project-id'
    flag [:p, :project_id]

    desc 'Server'
    default_value GoodData::Helpers::AuthHelper.read_server
    arg_name 'server'
    flag [:s, :server]

    desc 'Verify SSL certificate'
    default_value true
    arg_name 'verify-ssl'
    switch [:'verify-ssl', :verify_ssl]

    desc 'WEBDAV Server. Used for uploads of files'
    default_value nil
    arg_name 'web dav server'
    flag [:w, :webdav_server]

    desc 'Token for project creation'
    default_value nil
    arg_name 'token'
    flag [:t, :token]

    desc 'Verbose mode'
    arg_name 'verbose'
    switch [:v, :verbose]

    desc 'Http logger on stdout'
    arg_name 'logger'
    switch [:l, :logger]
  end
end

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
gooddata-2.3.1-java lib/gooddata/cli/shared.rb
gooddata-2.3.1 lib/gooddata/cli/shared.rb
gooddata-2.3.0-java lib/gooddata/cli/shared.rb
gooddata-2.3.0 lib/gooddata/cli/shared.rb
gooddata-2.2.0-java lib/gooddata/cli/shared.rb
gooddata-2.2.0 lib/gooddata/cli/shared.rb
gooddata-2.1.19-java lib/gooddata/cli/shared.rb
gooddata-2.1.19 lib/gooddata/cli/shared.rb
gooddata-2.1.17-java lib/gooddata/cli/shared.rb
gooddata-2.1.17 lib/gooddata/cli/shared.rb
gooddata-2.1.15-java lib/gooddata/cli/shared.rb
gooddata-2.1.15 lib/gooddata/cli/shared.rb
gooddata-2.1.14-java lib/gooddata/cli/shared.rb
gooddata-2.1.14 lib/gooddata/cli/shared.rb
gooddata-2.1.13-java lib/gooddata/cli/shared.rb
gooddata-2.1.13 lib/gooddata/cli/shared.rb
gooddata-2.1.12-java lib/gooddata/cli/shared.rb
gooddata-2.1.12 lib/gooddata/cli/shared.rb
gooddata-2.1.11-java lib/gooddata/cli/shared.rb
gooddata-2.1.11 lib/gooddata/cli/shared.rb