Jon Seager
a0e2c2a1e9
feat(bootstrap): distribute sample data over 6 months
...
- Add sqlite3 commands to update timestamps after data creation
- Spread gear, roasters, bags, and brews logically from Aug 2025 to Jan 2026
- Ensure temporal consistency (entities created before being referenced)
- Update timeline_events to match entity creation times
2026-02-02 20:20:47 +00:00
Jon Seager
0eedf09c08
chore(brews): add sample brews to bootstrap script
...
- Add 8 sample brews with realistic ratios (1:15 to 1:17)
- Use various bags, grinders, and brewers
2026-02-02 19:32:11 +00:00
Jon Seager
0090c4ba43
refactor(cli): restructure commands from flat to nested subcommands
...
Change CLI structure from `brewlog {verb}-{entity}` to `brewlog {entity} {verb}`:
- brewlog add-roaster → brewlog roaster add
- brewlog list-bags → brewlog bag list
- brewlog create-token → brewlog token create
- etc.
Each entity module now owns its subcommand enum and dispatch logic,
simplifying main.rs and improving discoverability via `brewlog {entity} --help`.
- Add RoasterCommands, RoastCommands, BagCommands, GearCommands, TokenCommands enums
- Add run() dispatcher to each entity module
- Simplify top-level Commands enum to delegate to entity modules
- Update all CLI tests and bootstrap script
2026-02-02 17:02:46 +00:00
Jon Seager
4edc66f44a
chore(bootstrap): add sample gear (2 grinders, 3 brewers)
2026-02-02 16:48:27 +00:00
Jon Seager
2ed8772302
chore(bootstrap): finish 4 older bags in sample data
...
Mark 4 of the 12 sample bags as finished to provide more realistic
test data with both open and closed bags in the timeline.
2026-02-02 16:45:27 +00:00
Jon Seager
a54ca8f42d
build: add demo bags to database seeding script
2026-02-02 16:32:29 +00:00
Jon Seager
7fc1d4db70
build: update bootstrap script
2026-02-02 15:58:05 +00:00
Jon Seager
42d0f71eb1
feat!: use numeric, database-generated IDs throughout
2025-11-25 18:21:04 +00:00
Jon Seager
3241f3c961
feat: bootstrap brewlog platform
2025-11-24 11:44:12 +00:00