nishikaze 0.2.0

Zephyr build system companion.
Documentation
//#![allow(clippy::multiple_crate_versions)]

use nishikaze::core::cli::Cli;
use nishikaze::core::{cmd, log};

fn main() {
    let cli = Cli::parse_args();
    if let Err(e) = cmd::run(&cli) {
        log::error(format!("error: {e:?}"));
        std::process::exit(1);
    }
}

#[cfg(test)]
mod tests {
    use pretty_assertions::assert_eq;

    /**
     * Runs `main` to ensure the CLI entry path is covered in tests.
     */
    #[test]
    fn test_main() {
        assert_eq!(4, 5 - 1);
    }
}