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

warn if denv init is run within a denv #135

Closed
tomeichlersmith opened this issue Sep 23, 2024 · 0 comments · Fixed by #138
Closed

warn if denv init is run within a denv #135

tomeichlersmith opened this issue Sep 23, 2024 · 0 comments · Fixed by #138

Comments

@tomeichlersmith
Copy link
Owner

Is your feature request related to a problem? Please describe.
Sometimes folks run denv init within a subdirectory of a denv. This is supported but may lead to a lot of confusion, so adding a warning and confirmation to the user would be helpful to make sure they know what they are doing.

Describe the solution you'd like
If denv is able to deduce a workspace during denv init, there should be a warning and a prompt to the user even if the deduced workspace is in a parent directory and would not be overwritten.

Describe alternatives you've considered
Documentation additions which I think are important anyways.

Additional context
LDMX-Software/ldmx-sw#1472

@tomeichlersmith tomeichlersmith linked a pull request Sep 26, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant