feat: matcha run detects runtime and spawns watch

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-07-11 13:09:08 -05:00
1 parent 2972326103
commit 16480db7a2
2 files changed
+49 -1

No files matched your search

+7 -1
View File
@@ -1,5 +1,6 @@
mod cli;
mod cmd_new;
mod cmd_run;
mod runtime;
mod template;
@@ -15,7 +16,12 @@ fn main() {
std::process::exit(1);
}
}
Command::Run => eprintln!("run: not yet implemented"),
Command::Run => {
if let Err(e) = cmd_run::run(std::path::Path::new(".")) {
eprintln!("error: {e}");
std::process::exit(1);
}
}
Command::Create { .. } => eprintln!("create: not yet implemented"),
Command::Add { .. } => eprintln!("add: not yet implemented"),
}