yog-cli 0.52.0

Yog build tool — `yog build` compiles a mod and packages it as .yog.
1
2
3
4
5
6
7
8
9
10
11
12
//! `yog content check`: the mod's blocks and items checked, without building.

pub(super) const WORDS: &[&str] = &["content"];
const CHECK: &str = "check";
const USAGE: &str = "usage: yog content check";

pub(super) fn run(rest: &[String]) -> Result<(), String> {
    match rest.first().map(String::as_str) {
        Some(CHECK) => crate::cli::pipeline::steps::content_check(),
        _ => Err(USAGE.into()),
    }
}