From 6917d36ac4c2df7a9b03c21cc1c707c86bf27ec6 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Sat, 16 May 2026 10:52:41 +0200 Subject: [PATCH] short commands --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index be0304b..744132e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -12,11 +12,11 @@ fn main() { } match args[1].as_str() { - "run" | "build" => { + "run" | "build" | "r" | "b" => { compiler::build(); Command::new("cargo").args(&args[1..]).status().unwrap(); } - "transpile" => compiler::build(), + "transpile" | "t" => compiler::build(), "version" | "--version" | "-v" => { println!("mist {}", env!("CARGO_PKG_VERSION")); }