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:
4 files changed
+88
-3
No files matched your search
+7
-1
@@ -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"),
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user