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

Unable to delete project with 'prj -dpr' #37

Open
drhaynes opened this issue Jun 16, 2016 · 2 comments
Open

Unable to delete project with 'prj -dpr' #37

drhaynes opened this issue Jun 16, 2016 · 2 comments

Comments

@drhaynes
Copy link

drhaynes commented Jun 16, 2016

First, I wanted to say how awesome this project is. We've been using it at my company for the last several months and it's been a real game changer, so thanks hugely for that.

Current issue we're having: Deleting projects from the command line does not appear to be working.

Steps to reproduce:

  1. Version 0.3.5
  2. Navigate to root folder where a set of Projeny packages/projects exists.
  3. List the projects with prj -lpr to see what is available.
  4. Try to delete a project with prj -dpr <projectName>
  5. Notice the error, and project is not deleted.

Neither project name nor alias appear to work. Screenshot of example run below (using Projeny examples):

image

Expected behaviour - deletion from command line should work.

Incidentally - is there a way to delete projects from the Unity UI? Couldn't see one, or reference to it in the documentation.

Thanks!

@drhaynes
Copy link
Author

Also, is there a workaround for this in the meantime? Simply deleting the project folder does not appear to be enough to remove it from the Projeny 'Change Project' menu in Unity.

@svermeulen
Copy link
Contributor

Thanks, I'm glad you're finding it useful! Wish we had more time to work on it - we are all pretty busy right now at our company.

Oh, I think the issue is that it is meant to be used like this:

prj -p Awesomeness -dpr

That is, the project is always specified using the -p or --project argument.

After the project is deleted, the Change Project menu should be updated the next time you update your links. Either by using Projeny -> Update Directories or prj -p MyProject -ul

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