From a5ccd9651a899d687b7cecb79364cddd215d6025 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Tue, 19 May 2026 06:24:35 +0200 Subject: [PATCH] Added check command and updated help --- src/main.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 099000e..d99e832 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,7 @@ fn main() { } match args[1].as_str() { - "run" | "build" | "r" | "b" => { + "run" | "build" | "check" | "r" | "b" | "c" => { let (config, root) = transpiler::build(); println!(""); if builder::build(args, config, root) { @@ -44,12 +44,15 @@ fn print_usage() { println!("󰖟 View our documentation! \x1b[35mhttps://mist.selimaj.dev\x1b[0m"); println!(" Follow us on github! \x1b[35mhttps://github.com/mist-go\x1b[0m\n"); println!("usage:"); - println!(" \x1b[36m mist run\x1b[0m run the project in the current directory\n"); + println!(" \x1b[36m mist run\x1b[0m,\x1b[36m r\x1b[0m run the project in the current directory\n"); println!( - " \x1b[36m mist build\x1b[0m build the project in the current directory\n" + " \x1b[36m mist build\x1b[0m,\x1b[36m b\x1b[0m build the project in the current directory\n" ); println!( - " \x1b[36m mist transpile\x1b[0m transpile the project in the current directory\n" + " \x1b[36m mist transpile\x1b[0m,\x1b[36m t\x1b[0m transpile the project in the current directory\n" + ); + println!( + " \x1b[36m mist check\x1b[0m,\x1b[36m c\x1b[0m check the project in the current directory\n" ); println!(" \x1b[36m mist version \x1b[0m print the compiler version\n"); println!(" \x1b[36m mist help\x1b[0m print this message\n");