feat(new): multi-runtime starter (node/deno/bun) via --runtime, shared + overlay templates

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-07-12 13:11:12 -05:00
1 parent c63c121787
commit e8cd20b7ec
20 files changed
+173 -16

No files matched your search

+6 -2
View File
@@ -14,8 +14,12 @@ use cli::{Cli, Command};
fn main() {
let cli = Cli::parse();
match cli.command {
Command::New { name, template_url } => {
if let Err(e) = cmd_new::run(&name, template_url.as_deref()) {
Command::New {
name,
template_url,
runtime,
} => {
if let Err(e) = cmd_new::run(&name, template_url.as_deref(), &runtime) {
eprintln!("error: {e}");
std::process::exit(1);
}