nexus-cli

command module
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2020 License: MIT Imports: 4 Imported by: 0

README

Build Status MIT License

Nexus CLI for Docker Registry

Download

Linux

$ export VERSION="1.3.0"
$ wget https://github.com/f9n/nexus-cli/releases/download/v${VERSION}/nexus-cli_${VERSION}_Linux_x86_64.tar.gz
$ tar xvfz nexus-cli_${VERSION}_Linux_x86_64.tar.gz
$ mv nexus-cli /usr/local/bin
$ nexus-cli --version

Darwin

$ export VERSION="1.3.0"
$ wget https://github.com/f9n/nexus-cli/releases/download/v${VERSION}/nexus-cli_${VERSION}_Darwin_x86_64.tar.gz
$ tar xvfz nexus-cli_${VERSION}_Darwin_x86_64.tar.gz
$ mv nexus-cli /usr/local/bin
$ nexus-cli --version

Installation

To install the library and command line program, use the following:

$ go get -u github.com/f9n/nexus-cli

Usage

NAME:
   Nexus CLI - Manage Docker Private Registry on Nexus

USAGE:
   nexus-cli [global options] command [command options] [arguments...]

VERSION:
   1.3.0

AUTHOR:
   Mohamed Labouardy <[email protected]>

COMMANDS:
     configure  Configure Nexus Credentials
     image      Manage Docker Images
     help, h    Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Available Commands

$ nexus-cli configure
$ nexus-cli image ls
$ nexus-cli image ls --detail
$ nexus-cli image ls --sort-by-size
$ nexus-cli image tags -name mlabouardy/nginx
$ nexus-cli image info -name mlabouardy/nginx -tag 1.2.0
$ nexus-cli image delete -name mlabouardy/nginx
$ nexus-cli image delete -name mlabouardy/nginx -tag 1.2.0
$ nexus-cli image delete -name mlabouardy/nginx -keep 4
$ nexus-cli image size -name mlabouardy/nginx
$ nexus-cli image size -name mlabouardy/nginx --human-readable

Tutorials

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL