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
Copy file name to clipboardExpand all lines: README.md
+43Lines changed: 43 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,49 @@ The following tools must be installed:
62
62
git commit -m "feat: Bootstrap repository from template"
63
63
```
64
64
65
+
### ⚠️ Tasks Behavior with Different Copier Commands
66
+
67
+
This template uses **conditional tasks** to manage optional features (LICENSE file, GitHub integration). Understanding their behavior is important for safe updates:
68
+
69
+
#### Initial Project Generation (`copier copy`)
70
+
Tasks execute **after** files are created:
71
+
-`include_license=false` → `LICENSE` file is removed
72
+
-`github_integration=false` → `.github/` directory (with issue templates and workflows) is removed
73
+
74
+
#### Project Updates (`copier update`)
75
+
**Tasks are executed again** during updates. This means:
76
+
- ✅ Safe to run with `--defaults` (keeps your previous answers)
77
+
- ⚠️ **Dangerous if you change boolean settings** (e.g., setting `github_integration=false`)
0 commit comments