quak backup: print the date and time a run starts and finishes (closes #245)
check / check (push) Waiting to run

Adds a `Started at` line after `Starting backup...` and a `Finished at`
line after `--- Backup complete ---`, in local time with the UTC offset.
No existing line changes. The clock comes in through `CliContext.now`.

The README's crontab now pipes the output to `logger`, which adds its own
time to each line; appending to a file remains as the alternative.

Model: opus-5-5
This commit was merged in pull request #256.
This commit is contained in:
clawbot committed 2026-11-19 08:47:06 +01:00
1 parent 2492946e9d
commit ecdd90b0a8
6 files changed
+124 -19

No files matched your search

+1
View File
@@ -81,6 +81,7 @@ const context = (): CliContext => ({
}),
prompt: (message) => input({ message }),
promptSecret: (message) => password({ message, mask: true }),
now: () => new Date(),
});
const run = (command: Promise<number>): Promise<void> =>