mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-24 14:08:23 +00:00
70424149e9
The introduction of the `-c/--clean` option caused the deletion prompt to be displayed for every call to `tutor config save --interactive`. This is not the desired behaviour, as decided here: https://github.com/overhangio/tutor/pull/1086#discussion_r1681744804 With this change, the prompt is only displayed when running: `tutor config save --interactive --clean`. The environment is still deleted on `tutor config save --clean`, but without prompt. We refactored the code with hooks, which simplifies the signature of the interactive prompt function.
117 B
117 B
- [Improvement] Do not prompt for environment deletion by default on
tutor config save --interactive
. (by @regisb)