https://github.com/sonatype-nexus-community/nexus-cli
A Go based CLI for the Nexus platform
https://github.com/sonatype-nexus-community/nexus-cli
cli golang lifecycle nexus repository sonatype
Last synced: 5 months ago
JSON representation
A Go based CLI for the Nexus platform
- Host: GitHub
- URL: https://github.com/sonatype-nexus-community/nexus-cli
- Owner: sonatype-nexus-community
- License: apache-2.0
- Created: 2019-07-26T17:18:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-16T22:46:59.000Z (almost 5 years ago)
- Last Synced: 2025-03-31T07:22:26.217Z (6 months ago)
- Topics: cli, golang, lifecycle, nexus, repository, sonatype
- Language: Go
- Homepage:
- Size: 50.8 KB
- Stars: 24
- Watchers: 9
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Nexus CLI
[](https://depshield.github.io)
[](https://goreportcard.com/report/github.com/sonatype-nexus-community/nexus-cli):round_pushpin: This project is in its early stages of development and configuration.
## Overview
`nexus` is a command line tool used to interact with Nexus IQ and Nexus Repository Manager. Our intention is that it will help expand on functionality currently available in the existing Java based [Nexus IQ CLI](https://help.sonatype.com/integrations/nexus-iq-cli). Every effort has been made to ensure the commands and flags exposed are clear, understandable, and unambiguous.
We've written this utility in `go` so it can be compiled for multiple platforms and doesn't require any special runtime. This is especially important for integration with other tools or shell stages in a pipeline.
## Uses
The following scenarios are but a few examples of what can be done with this CLI:
- Writing infrastructure code to automatically install licenses
- Managing users and groups
- Managing components in Nexus Repository Manager
- Scanning artifacts for known vulnerabilities from a command line
- More!## Installation
### Build from source
```sh
go build ./...
```### Download release binary
Download release binary from [here on GitHub](https://github.com/sonatype-nexus-community/nexus-cli/releases)
## Development
`nexus` is written using a version of Go greater than 1.12 and uses `go mod` for dependencies.
Tests can be run like `go test ./... -v`
## The Fine Print
It is worth noting that this is **NOT SUPPORTED** by [Sonatype](//www.sonatype.com), and is a contribution to the open source community (read: you!)
Remember:
- Use this contribution at the risk tolerance that you have
- Do **NOT** file Sonatype support tickets related to this
- **DO** file issues here on GitHub, so that the community can pitch in## Getting help
Looking to contribute to our code but need some help? There's a few ways to get information:
- Chat with us on [Gitter](https://gitter.im/sonatype/nexus-developers)
- Ask questions on our [community forum](http://community.sonatype.com)