1//! `cargo run -p whiskers-icons --example show -- cat bug bin`: prints icons as text, to look at.
2fn main() {
3    let dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../../third-party/pixel-icons/icons");
4    for name in std::env::args().skip(1) {
5        let svg = std::fs::read_to_string(dir.join(format!("{name}.svg"))).expect("an icon of the pack");
6        println!("{name}\n{}\n", whiskers_icons::raster::Icon::parse(&svg).expect("it rasterises").ascii());
7    }
8}