Sha256: b8aa6ba356d5c71f0f81750ded3ba780b6b295d82609f7ec1e879ec8677b8718

Contents?: true

Size: 1.52 KB

Versions: 25

Compression:

Stored size: 1.52 KB

Contents

Description
===========

A CLI wrapper around Sonatype Nexus REST calls.

Requirements
============

* Ruby

Installation
============

1. Install the Gem
2. Create a file in your user's home directory named `.nexus_cli`
3. Give the file the following information:

```
url: 			"http://my-nexus-server/nexus/"
repository:		"my-repository-id"
username: 		"username"
password: 		"password"
```

Usage
=====

There are two calls that can be made. push\_artifact and pull\_artifact. Both calls will push or pull artifacts from Nexus using the Maven-flavored syntax: `groupId:artifactId:version:extension`

Pull Artifact Example
---------------------
```
nexus-cli pull_artifact com.mycompany.artifacts:myartifact:1.0.0:tgz
```
Push Artifact Example
---------------------
```
nexus-cli push_artifact com.mycompany.artifacts:myartifact:1.0.0:tgz ~/path/to/file/to/push/myartifact.tgz
```

License and Author
==================

Author:: Kyle Allan (<kallan@riotgames.com>)

Copyright:: 2012 Riot Games Inc.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
nexus_cli-1.0.2 README.md
nexus_cli-1.0.1 README.md
nexus_cli-1.0.0 README.md
nexus_cli-0.9.1 README.md
nexus_cli-0.9.0 README.md
nexus_cli-0.8.4 README.md
nexus_cli-0.8.3 README.md
nexus_cli-0.8.2 README.md
nexus_cli-0.8.1 README.md
nexus_cli-0.8.0 README.md
nexus_cli-0.7.3 README.md
nexus_cli-0.7.2 README.md
nexus_cli-0.7.1 README.md
nexus_cli-0.7.0 README.md
nexus_cli-0.6.0 README.md
nexus_cli-0.5.0 README.md
nexus_cli-0.4.0 README.md
nexus_cli-0.3.0 README.md
nexus_cli-0.2.1 README.md
nexus_cli-0.2.0 README.md