Sha256: 8daa17b6f1dff2366e85ccc5b5039e2270e811c20e1793ee31df0a4b0fbac7e5

Contents?: true

Size: 689 Bytes

Versions: 3

Compression:

Stored size: 689 Bytes

Contents

require 'thor'

module ApigeeCli
  class Cli < Thor
    desc "version", "Shows the Apigee CLI version number"
    def version
      say ApigeeCli::VERSION
    end

    desc 'settings', 'Show the current apigeerc settings'
    def settings
      puts ApigeeCli.configuration.apigeerc_config.to_yaml
    end

    desc 'config [COMMAND]', 'Run a command within the context of an app configuration'
    subcommand 'config', ::AppConfig

    desc 'apigeetool [COMMAND]', 'Run a command using the apigeetool Node.js module'
    subcommand 'apigeetool', ::ApigeeTool

    desc 'resource [COMMAND]', 'Run a command within the context of a resource'
    subcommand 'resource', ::Resource
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
apigee_cli-0.0.3 lib/apigee_cli/cli.rb
apigee_cli-0.0.2 lib/apigee_cli/cli.rb
apigee_cli-0.0.1 lib/apigee_cli/cli.rb