From e6e8836be5ca5b39bcb19a619e69ea829b89ae31 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Mon, 7 Jul 2025 06:49:13 +0200 Subject: [PATCH] feat: init alias for eject --- src/commands/functions.ts | 2 ++ src/help/functions.help.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/commands/functions.ts b/src/commands/functions.ts index 3f9fbdfc..9a83626c 100644 --- a/src/commands/functions.ts +++ b/src/commands/functions.ts @@ -13,6 +13,7 @@ export const functions = async (args?: string[]) => { const [subCommand] = args ?? []; switch (subCommand) { + case 'init': case 'eject': await eject(args); break; @@ -38,6 +39,7 @@ export const helpFunctions = (args?: string[]) => { case 'build': logHelpFunctionsBuild(args); break; + case 'init': case 'eject': logHelpFunctionsEject(args); break; diff --git a/src/help/functions.help.ts b/src/help/functions.help.ts index 32c135aa..0a2ed86c 100644 --- a/src/help/functions.help.ts +++ b/src/help/functions.help.ts @@ -8,6 +8,7 @@ const usage = `Usage: ${green('juno')} ${cyan('functions')} ${magenta('