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

codenvy pull has silly messages #106

Closed
paulvi opened this issue Nov 3, 2014 · 5 comments
Closed

codenvy pull has silly messages #106

paulvi opened this issue Nov 3, 2014 · 5 comments

Comments

@paulvi
Copy link
Contributor

paulvi commented Nov 3, 2014

Finally I can say this CLI is of very bad quality.

It is not one bug, there are bugs everywhere

E:\Codenvy\cli>codenvy pull pc54f4e
The specified path 'E:\Codenvy\cli\pc54f4e' is not a directory.

I created folder and

E:\Codenvy\cli>codenvy pull pc54f4e
The specified directory 'E:\Codenvy\cli\pc54f4e' is not a codenvy directory.

For info

E:\Codenvy\cli>codenvy list
ID       REMOTE   WORKSPACE     PROJECT            TYPE       PRIVACY
pc54f4e  default  enide.github  MavenProject1      maven      public
p180262  default  enide.github  angularjs-todoMVC  AngularJS  public
p9e8298  default  enide.github  spring-petclinic   maven      public
@paulvi paulvi changed the title codenvy pull is silly codenvy pull has silly messages Nov 3, 2014
@benoitf
Copy link
Contributor

benoitf commented Nov 3, 2014

As per documentation http://docs.codenvy.com/cli/cli-syntax/#pull

pull command needs to be given a directory where a checkout project has been done. (you're giving a project id)

you should use the http://docs.codenvy.com/cli/cli-syntax/#clone-local command

regards

@paulvi
Copy link
Contributor Author

paulvi commented Nov 4, 2014

This is docs issue

COMMANDS
build          Build a project
clone-local    Clone a remote Codenvy project to a local directory
create-factory Create a factory
create-project Create a project
delete-project Delete a project
info           Display information for a project, runner, or builder
list           List workspaces, projects and processes
login          Login to a remote Codenvy cloud
logout         Logout to a remote Codenvy cloud
logs           Display output logs for a runner or builder
open           Starts a browser session to access a project, builder or runner
privacy        Change privacy for a project
pull           Pull a project
push           Push a project
remote         Add or remove remote Codenvy cloud references
run            Run a project
stop           Stop one or more runner processes

This short help screen should be updated

pull           Pull/update an existing codenvy project

as a new user, I followed sort help and experience with similar tools.
I also took pull for what I needed (and have not noticed clone).
Extended description should prevent new users repeating the same mistake.

@paulvi
Copy link
Contributor Author

paulvi commented Nov 4, 2014

Also error message did not helped too.

It should be "is not a codenvy project directory" for both cases above.

@benoitf
Copy link
Contributor

benoitf commented Nov 4, 2014

Thanks for your report Paul
I've updated commands

@benoitf benoitf closed this as completed Nov 5, 2014
@paulvi
Copy link
Contributor Author

paulvi commented Nov 5, 2014

Hoping user will not try command like codenvy pull pc54f4e anymore

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