You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@DerArkeN @trya2l -- are you sure that you'd want to delete the devbox.json as well? I worry people might run this to clear their .devbox and devbox.lock state and lose their devbox.json unexpectedly.
@Lagoja You're right, I didn't consider the potential side effects.
I'm unfamiliar with devbox under the hood, but as @DerArkeN mentionned, a flag --hard, --all, --force, ... could be a good way to go, I guess.
Now that I regard this more seriously, even if a lot of software doesn't provide the ability to clean/revert the changes applied, as a user, this still looks like a desirable feature, even more so if it doesn't conflict with future enhancements.
What problem are you trying to solve?
Sometimes, I start using devbox in a folder, but I later on decide to migrate to another one, for different considerations.
In this case, I'd like to rapidly clean up the folder, but then I need to do that manually, even if this is not a complex task.
What solution would you like?
I'd love something like
devbox clean
to remove devbox from the current folder (including direnv when thedevbox generate direnv
has been invoked)Alternatives you've considered
Currently, I remove everything manually
rm -rf .devbox devbox.* .envrc
The text was updated successfully, but these errors were encountered: