-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
As CLI user, I want the ability to interact with each site from any directory. #44
Comments
Follow-up. I don't think this is necessary until ~ 0.5 - 1.0. I think as a person uses more sites, this becomes more valuable. |
In the normal course of work, I ended up with ddev in a bit of an unknown state, with an existing (but stopped) mysql container, and no web container, and no source directory. In this case I had manually deleted containers (using docker stop/rm) related to failed tests, but had stopped one and not rm'd it. So there was a single mysql container hanging around. So we should make sure that any containers from a site can be cleaned up using the technique advocated for this issue. It's possible we need a |
I think providing sitename as argument to command should either be limited to commands like Re @rfay's experience, I believe |
This already works for ddev stop, rm, and describe. It could probably work for start, but for now I'm going to call this done as it's been handled elsewhere. |
Good point by @rfay in that we may need to cross check this against new ddev-ui needs. |
@cyberswat Here was the original issue filed with the request to add an "@app" option prior to the specific ddev command. The discussion in this thread might be a bit out of date given that we've introduced the ability for several other commands to work outside of the app's working directory, and we should revisit. |
It may be worth opening the conversation again. I ran into this today setting up for a sales call. I wanted to ddev ssh into containers from outside of the projects root folder. |
Many of our commands take the sitename after the command. Imo all should. Putting the sitename BEFORE the command would be a major breaking change. |
About the only thing you can't do now is |
PROPOSAL STAGE
What happened (or feature request):
Feature request.
What you expected to happen:
I would like an optional parameter that allows me to target a ddev working directory from any directory. Example: "ddev describe" when within the working directory or "ddev @project describe" when anywhere else.
Anything else do we need to know:
This will require the creation of a global configuration that ddev checks when using the optional @project parameter. This is similar to how drush works.
The text was updated successfully, but these errors were encountered: