Backfilling a Missed Day
Reconstruct a day you missed using the --date, --yesterday, --last-friday, --week-of, and --last-week flags.
Backfilling a day
Section titled “Backfilling a day”# reset your work file to its default contentswelog reset
# write yesterday's notes into the work file...
# fetch activity from external sourcesswelog fetch github --yesterdayswelog fetch google-calendar --yesterdayswelog fetch linear --yesterday
# option 1: log the dayswelog log --yesterday
# option 2: summarize the dayswelog summarize --yesterdayFor any other day, use --last-friday or --date MM-DD-YYYY as below.
Backfill flags
Section titled “Backfill flags”| Command | Backfill flag | Shortcuts |
|---|---|---|
swelog log |
--date MM-DD-YYYY |
--yesterday, --last-friday |
swelog fetch github |
--date MM-DD-YYYY |
--yesterday, --last-friday |
swelog fetch google-calendar |
--date MM-DD-YYYY |
--yesterday, --last-friday |
swelog fetch linear |
--date MM-DD-YYYY |
--yesterday, --last-friday |
swelog summarize day |
--date MM-DD-YYYY |
--yesterday, --last-friday |
Backfilling a week
Section titled “Backfilling a week”If it is Monday and you forgot to summarize last week’s notes, use the --last-week flag as below
swelog summarize week --last-weekTo target a different week, use --week-of as below.
swelog summarize week --week-of MM-DD-YYYY