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

Allow a user to start/stop/remove all running projects #952

Closed
andrewfrench opened this issue Jun 28, 2018 · 2 comments
Closed

Allow a user to start/stop/remove all running projects #952

andrewfrench opened this issue Jun 28, 2018 · 2 comments
Assignees

Comments

@andrewfrench
Copy link
Contributor

Is your feature request related to a problem? Please describe.
It's currently time-consuming and frustrating to stop or remove many projects.

Describe the solution you'd like
I'd like to be able to stop or remove all possible sites with a command like ddev remove --all/ddev stop --all. I'd also like to be able to pass multiple project names into ddev remove and ddev stop.

Describe alternatives you've considered
A user can currently do this:

ddev list -j | jq -r .raw[].name | xargs -t -I % ddev rm %

...but that's not very welcoming.

@rfay
Copy link
Member

rfay commented Jun 28, 2018

I'd like to see the ability to

ddev stop --all
ddev rm --all
ddev start/stop/rm proj1 proj2 proj3 (there may be other commands that deserve this)

@rfay rfay changed the title Allow a user to stop/remove all running projects Allow a user to start/stop/remove all running projects Jun 28, 2018
@rfay
Copy link
Member

rfay commented Jun 28, 2018

This is really a duplicate of As CLI user, I want the ability to interact with each site from any directory #44 but I think what we have here is more actionable

andrewfrench added a commit to andrewfrench/ddev that referenced this issue Jul 10, 2018
…#967)

* Add utils file for functions shared across command files.

* Add --all flag to stop and remove commands.

* Add tests for ddev stop.

* Add test case to ensure a user can't combine --all and --remove-data.

* Add --all to start, add test.
@dclear dclear removed the actionable label Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants