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
For all commands and options, run nexus3 -h
.
To do
- Support for download
- Support for upload to repositories other than raw, yum.
- API documentation
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
nexus3-cli-0.5.0.tar.gz
(14.3 kB
view hashes)
Built Distribution
Close
Hashes for nexus3_cli-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aac795def0e04b6ed29b6a382e4e3ca775ff25a90456bb162a32010a3766764f |
|
MD5 | 3b95c4f23de29ddf6327568a044d4f3c |
|
BLAKE2b-256 | e2ff7b913aaf5c567a3c58abdff811790a1eb7a997e2ce67595dd6b5b6b35ba2 |