MovieMapper/Rust/src/main.rs
Jarian Cottingham e3d130091a feat: add Rust CLI with scan/map/tag/move/tvdb/audit, dry-run, config
- clap-based subcommands over the existing service layer
- map: Jellyfin SxxExx naming with auto episode numbering, --dry-run
- tag/untag: persisted to .moviemapper.json in the media directory
- move: relocates tagged files into Jellyfin extras folders, --dry-run
- tvdb: search/show via TheTVDB v4 API
- audit: pretty-prints the .audit JSON log
- config: ~/.config/movemapper/config.toml (flag > env > file precedence)
- fix: generate_jellyfin_filename missing dot before extension
- 10 new unit tests; workspace tests green
2026-08-20 20:33:21 +00:00

10 lines
170 B
Rust

use movie_mapper::cli;
#[tokio::main]
async fn main() {
if let Err(e) = cli::run().await {
eprintln!("error: {e:#}");
std::process::exit(1);
}
}