Sha256: e05d4f64a617db2d646184cd6cec7ed224b714ffc28ce4271f6f269d954dc26f

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

require 'httpclient'
require 'nexus_cli/errors'
require 'nokogiri'
require 'yaml'

module NexusCli
  DEFAULT_ACCEPT_HEADER = {
    "Accept" => "application/json"
  }.freeze
  
  DEFAULT_CONTENT_TYPE_HEADER = {
    "Content-Type" => "application/json"
  }.freeze

  autoload :Tasks, 'nexus_cli/tasks'
  autoload :Cli, 'nexus_cli/cli'
  autoload :Connection, 'nexus_cli/connection'
  autoload :RemoteFactory, 'nexus_cli/remote_factory'
  autoload :BaseRemote, 'nexus_cli/base_remote'
  autoload :OSSRemote, 'nexus_cli/remote/oss_remote'
  autoload :ProRemote, 'nexus_cli/remote/pro_remote'
  autoload :Configuration, 'nexus_cli/configuration'
  autoload :N3Metadata, 'nexus_cli/n3_metadata'
  autoload :ArtifactActions, 'nexus_cli/mixins/artifact_actions'
  autoload :GlobalSettingsActions, 'nexus_cli/mixins/global_settings_actions'
  autoload :UserActions, 'nexus_cli/mixins/user_actions'
  autoload :RepositoryActions, 'nexus_cli/mixins/repository_actions'
  autoload :LoggingActions, 'nexus_cli/mixins/logging_actions'
  autoload :CustomMetadataActions, 'nexus_cli/mixins/pro/custom_metadata_actions'
  autoload :SmartProxyActions, 'nexus_cli/mixins/pro/smart_proxy_actions'

  class << self
    def root
      @root ||= Pathname.new(File.expand_path('../', File.dirname(__FILE__)))
    end

    def ui
      @ui ||= Thor::Shell::Color.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nexus_cli-2.0.0 lib/nexus_cli.rb