8000 GitHub - bzon/nexus-cli
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bzon/nexus-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
main.go 8E81
 
 

Repository files navigation

Nexus CLI

Building

make all_os

Installation

Download the latest release to any directory in your system. Rename it as nexus-cli or for Windows, nexus-cli.exe.

Run it as nexus-cli --help or nexus-cli.exe --help.

Usage

Environment Variables to avoid using flags -H, -U, -P for host and authentication settings.

NEXUS_HOST=http://localhost:8081/nexus
NEXUS_USERNAME=admin
NEXUS_PASSWORD=admin123

Downloading an Artifact

Using download subcommand.

Help:

nexus-cli download --help

Usage:

nexus-cli download -g com.example -a artifactA -p jar -v 1.0.1 -H http://localhost:8081/nexus -U admin -P admin123

Downloading Multiple Artifacts

Using multi-download subcommand.

Help:

nexus-cli multi-download --help

Usage:

Create a file named 'artifacts.txt'.

com.example:artifactA:1.0.1:jar
com.example:artifactB:1.0-SNAPSHOT:war
com.example:artifactC:LATEST:war
nexus-cli multi-download -f artifacts.txt -h http://localhost:8081/nexus -U admin -P admin123

Uploading an Artifact

WIP

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0