Sha256: 9f82a4427b1e71bad9b08b7ce2d7afd46bec7776ca008d91b212a7707f97a9bd

Contents?: true

Size: 645 Bytes

Versions: 25

Compression:

Stored size: 645 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 'gli'
require 'pp'

# Define GoodData::CLI as GLI Wrapper
module GoodData
  module CLI
    # Require shared part of GLI::App - flags, meta, etc
    require_relative 'shared.rb'

    # Require Hooks
    require_relative 'hooks.rb'

    commands_from(File.join(File.dirname(__FILE__), 'commands'))

    def self.main(args = ARGV)
      run(args)
    end
  end
end

GoodData::CLI.main(ARGV) if __FILE__ == $PROGRAM_NAME

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
gooddata-1.3.3-java lib/gooddata/cli/cli.rb
gooddata-1.3.3 lib/gooddata/cli/cli.rb
gooddata-1.3.2-java lib/gooddata/cli/cli.rb
gooddata-1.3.2 lib/gooddata/cli/cli.rb
gooddata-1.3.1-java lib/gooddata/cli/cli.rb
gooddata-1.3.1 lib/gooddata/cli/cli.rb
gooddata-1.3.0-java lib/gooddata/cli/cli.rb
gooddata-1.3.0 lib/gooddata/cli/cli.rb
gooddata-1.2.1-java lib/gooddata/cli/cli.rb
gooddata-1.2.1 lib/gooddata/cli/cli.rb
gooddata-1.2.0-java lib/gooddata/cli/cli.rb
gooddata-1.2.0 lib/gooddata/cli/cli.rb
gooddata-1.1.0-java lib/gooddata/cli/cli.rb
gooddata-1.1.0 lib/gooddata/cli/cli.rb
gooddata-1.0.2-java lib/gooddata/cli/cli.rb
gooddata-1.0.2 lib/gooddata/cli/cli.rb
gooddata-1.0.1 lib/gooddata/cli/cli.rb
gooddata-1.0.1-java lib/gooddata/cli/cli.rb
gooddata-1.0.0-java lib/gooddata/cli/cli.rb
gooddata-1.0.0 lib/gooddata/cli/cli.rb