Repository navigation
v0.23.0
on_clean hooks, generalized .env detection and harmonized output.
Breaking
.envconfig moves fromcopy_filesto[[env.file]]entries, with no automatic migration: runwtm init --only envor editconfig.toml.
Added
[hooks] on_cleanruns beforeclean/pruneremove a worktree (e.g.docker compose down); a failure aborts unlesscontinue_on_error.wtm init --clean-commandand--skip-cleanconfigureon_cleannon-interactively.sudo rm -rffallback: an interactive run offers it whengit worktree removehits root-owned files, never on a dangerous path..envdetection recognises.env.dist,.env.sampleand other templates, and flags.env.localas local.
Changed
- The
examplestrategy copies the detected template instead of hard-coding.env.example. - Output conventions are harmonized across commands;
wtm syncshows a spinner while pushing.