brewlog/tests/cli/main.rs
Jon Seager 50a372015c
feat(backup): expose backup/restore via authenticated API endpoints
- Add GET /api/v1/backup and POST /api/v1/backup/restore endpoints
  behind AuthenticatedUser
- Add BackupService to AppState and BackupClient for HTTP access
- Update CLI backup/restore to use API instead of direct DB access
- Remove --database-url flag from backup and restore commands
- Increase body limit to 50MB for restore endpoint
- Add API and CLI tests for auth, export, restore, and round-trip
- Update README to document auth requirement and API endpoints
2026-02-04 19:38:49 +00:00

9 lines
173 B
Rust

pub mod backup_cli;
pub mod bags_cli;
pub mod brews_cli;
pub mod cafes_cli;
pub mod gear_cli;
pub mod helpers;
pub mod roasters_cli;
pub mod roasts_cli;
pub mod tokens_cli;