Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output file name and path #64

Open
johntdyer opened this issue Apr 22, 2013 · 1 comment
Open

Output file name and path #64

johntdyer opened this issue Apr 22, 2013 · 1 comment

Comments

@johntdyer
Copy link

Is it possible to specify the download path and artifact name for the snapshot you download ?

Example:

Current behavior:

jdyer@dyer:~/Dropbox/Projects/chef/tropo(master○) » nexus-cli pull_artifact com.voxeo.tropo:tropo-servlet:12.1-SNAPSHOT:war

Artifact has been retrived and can be found at path: /Users/jdyer/Dropbox/Projects/chef/tropo/tropo-servlet-12.1-20130314.090027-12.war

My ideal behavior:

jdyer@dyer:~/Dropbox/Projects/chef/tropo(master○) » nexus-cli pull_artifact com.voxeo.tropo:tropo-servlet:12.1-SNAPSHOT:war --path temp --name tropo-12.1-SNAPSHOT.war

Artifact has been retrived and can be found at path: /Users/jdyer/Dropbox/Projects/chef/tropo/temp/tropo-servlet-12.1-SNAPSHOT.war
@KAllan357
Copy link
Contributor

The pull command takes a second parameter, which is a path. For example:

nexus-cli pull com.artifact:my-artifact:1.0.0:war ~/my/alternative/directory

The name attribute is something that could be added. Right now, its just the last three pieces "artifactId-version.extension"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants