A python-based CLI for Sonatype Nexus OSS 3
Project description
nexus3-cli
A python-based CLI for Sonatype's Nexus OSS 3
Usage
$ pip install nexus3-cli
$ docker run -d --rm -p 8081:8081 sonatype/nexus3
# (wait for nexus to start-up)
$ nexus3 repo list
Name Format Type URL
---- ------ ---- ---
maven-snapshots maven2 hosted http://localhost:8081/repository/maven-snapshots
maven-central maven2 proxy http://localhost:8081/repository/maven-central
nuget-group nuget group http://localhost:8081/repository/nuget-group
nuget.org-proxy nuget proxy http://localhost:8081/repository/nuget.org-proxy
maven-releases maven2 hosted http://localhost:8081/repository/maven-releases
nuget-hosted nuget hosted http://localhost:8081/repository/nuget-hosted
maven-public maven2 group http://localhost:8081/repository/maven-public
$ nexus3 repo create hosted yum my-yum-repository --write=deny
Created repository: my-yum-repository
$ nexus3 repo list | grep my-yum-repository
Name Format Type URL
---- ------ ---- ---
my-yum-repository yum hosted http://localhost:8081/repository/my-yum-repository
Logging level can be configured by setting an environment variable named LOG_LEVEL.
Valid values for LOG_LEVEL are DEBUG, INFO, WARNING, ERROR, CRITICAL.
By default logging level is set to WARNING.
For all commands and options, run nexus3 -h.
To do
- Support for upload to repositories other than raw, yum.
- Blobstore management
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nexus3-cli-0.6.0.tar.gz.
File metadata
- Download URL: nexus3-cli-0.6.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0a4+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94dae929b37b9a4dfffd32c0801224c0ec077ac100c8979b7898ce026f00620b
|
|
| MD5 |
c8a167a6a147758e51a274d905bdc9af
|
|
| BLAKE2b-256 |
fdffe2057cf8fe7fe5e4f709a7f0bcce3008297c0b6aacdfbd5fb1bdc8ef60fe
|
File details
Details for the file nexus3_cli-0.6.0-py2.py3-none-any.whl.
File metadata
- Download URL: nexus3_cli-0.6.0-py2.py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0a4+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e733bf3a69f723fe57325225e644ba9b126a5d4873672468d4dfb2df1c99a1d3
|
|
| MD5 |
98f0760be4d8bbd91163694909737eab
|
|
| BLAKE2b-256 |
9b0604882d5dc21f11e44d37717785983b8fec890fae963869af3c7f3962034f
|