feat: matcha create controller with tree-sitter auto-wire + emit-only fallback

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-07-11 13:24:29 -05:00
1 parent 4df1e7ce7b
commit 13b77b3999
4 files changed
+88 -3

No files matched your search

+7 -1
View File
@@ -1,4 +1,5 @@
mod cli;
mod cmd_create;
mod cmd_new;
mod cmd_run;
mod runtime;
@@ -23,7 +24,12 @@ fn main() {
std::process::exit(1);
}
}
Command::Create { .. } => eprintln!("create: not yet implemented"),
Command::Create { kind, name, check } => {
if let Err(e) = cmd_create::run(&kind, &name, check) {
eprintln!("error: {e}");
std::process::exit(1);
}
}
Command::Add { .. } => eprintln!("add: not yet implemented"),
}
}