Skip to main content

max / makenotwork

330 B · 9 lines History Blame Raw
1 fn main() {
2 let id = std::env::args().nth(1).unwrap_or_else(|| "makenotwork".into());
3 let dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("..").join("themes");
4 let t = theme_common::load_semantic(&[(dir, false)], &id).unwrap();
5 for (k, v) in &t.intents {
6 println!(" --{k}: {v};");
7 }
8 }
9