Module: NexusCli
- Defined in:
- lib/nexus_cli.rb,
lib/nexus_cli/cli.rb,
lib/nexus_cli/tasks.rb,
lib/nexus_cli/errors.rb,
lib/nexus_cli/version.rb,
lib/nexus_cli/artifact.rb,
lib/nexus_cli/connection.rb,
lib/nexus_cli/base_remote.rb,
lib/nexus_cli/n3_metadata.rb,
lib/nexus_cli/configuration.rb,
lib/nexus_cli/remote_factory.rb,
lib/nexus_cli/remote/oss_remote.rb,
lib/nexus_cli/remote/pro_remote.rb,
lib/nexus_cli/mixins/user_actions.rb,
lib/nexus_cli/mixins/logging_actions.rb,
lib/nexus_cli/mixins/artifact_actions.rb,
lib/nexus_cli/mixins/repository_actions.rb,
lib/nexus_cli/mixins/global_settings_actions.rb,
lib/nexus_cli/mixins/pro/smart_proxy_actions.rb,
lib/nexus_cli/mixins/pro/custom_metadata_actions.rb
Defined Under Namespace
Modules: ArtifactActions, CustomMetadataActions, GlobalSettingsActions, LoggingActions, N3Metadata, RepositoryActions, SmartProxyActions, Tasks, UserActions
Classes: Artifact, ArtifactMalformedException, ArtifactNotFoundException, BadSearchRequestException, BadSettingsException, BadUploadRequestException, BaseRemote, Cli, Configuration, Connection, CouldNotConnectToNexusException, CreateRepsitoryException, CreateUserException, InvalidCredentialsException, InvalidLoggingLevelException, InvalidSettingsException, LicenseInstallFailure, MissingSettingsFileException, N3NotFoundException, N3ParameterMalformedException, NexusCliError, NexusHTTP404, NonSecureConnectionException, NotNexusProException, NotProxyRepositoryException, OSSRemote, PermissionsException, ProRemote, RemoteFactory, RepositoryDoesNotExistException, RepositoryInGroupException, RepositoryNotFoundException, RepositoryNotInGroupException, SSLException, SearchParameterMalformedException, UnexpectedStatusCodeException, UpdateUserException, UserNotFoundException
Constant Summary
collapse
{
"Accept" => "application/json"
}.freeze
{
"Content-Type" => "application/json"
}.freeze
Class Method Summary
collapse
Class Method Details
.root ⇒ Object
35
36
37
|
# File 'lib/nexus_cli.rb', line 35
def root
@root ||= Pathname.new(File.expand_path('../', File.dirname(__FILE__)))
end
|
.ui ⇒ Object
39
40
41
|
# File 'lib/nexus_cli.rb', line 39
def ui
@ui ||= Thor::Shell::Color.new
end
|
.version ⇒ String
3
4
5
|
# File 'lib/nexus_cli/version.rb', line 3
def self.version
@version ||= File.read(File.expand_path("../../../VERSION", __FILE__)).strip
end
|