@staff0rd/assist 0.174.2 → 0.175.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,12 @@
1
1
  ---
2
2
  description: Generate devlog entry for the next unversioned day
3
+ allowed_args: "[--all]"
3
4
  ---
4
5
 
6
+ Parse `$ARGUMENTS`: if `--all` is present, enable **catch-up mode** (described below). Otherwise, process a single day as normal.
7
+
8
+ ## Single-day mode (default)
9
+
5
10
  Run `assist devlog next` to get the next unversioned day's commits and version options.
6
11
 
7
12
  Analyze the commits for that day to determine the appropriate action:
@@ -46,6 +51,20 @@ Fetch existing tags from https://staffordwilliams.com/tags.json for use when sel
46
51
 
47
52
  Read existing devlogs in `~/git/blog/src/content/devlog/` for style inspiration if needed. The tone should be conversational and concise.
48
53
 
54
+ ## Catch-up mode (`--all`)
55
+
56
+ When `--all` is passed, loop through all unversioned days up to (excluding) today:
57
+
58
+ 1. Run `assist devlog next` to get the next unversioned day
59
+ 2. If the target date is today, **stop** — catch-up is complete
60
+ 3. If there are no more unversioned days, **stop**
61
+ 4. Analyze the commits for that day:
62
+ - **Trivial days**: automatically run `assist devlog skip YYYY-MM-DD` without prompting the user
63
+ - **Non-trivial days**: create the devlog entry as normal (following the single-day instructions above)
64
+ 5. Go back to step 1
65
+
66
+ This continues until all past unversioned days have been processed. Do not process today's date.
67
+
49
68
  ## Important
50
69
 
51
70
  - Do not commit entries, these will be manually reviewed before publishing.