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:
1 parent
c63c121787
commit
e8cd20b7ec
20 files changed
+173
-16
No files matched your search
+6
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user