Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/commands/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const functions = async (args?: string[]) => {
const [subCommand] = args ?? [];

switch (subCommand) {
case 'init':
case 'eject':
await eject(args);
break;
Expand All @@ -38,6 +39,7 @@ export const helpFunctions = (args?: string[]) => {
case 'build':
logHelpFunctionsBuild(args);
break;
case 'init':
case 'eject':
logHelpFunctionsEject(args);
break;
Expand Down
1 change: 1 addition & 0 deletions src/help/functions.help.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const usage = `Usage: ${green('juno')} ${cyan('functions')} ${magenta('<subcomma
Subcommands:
${magenta('build')} Build your functions.
${magenta('eject')} Scaffold the necessary files for developing your serverless functions.
${magenta('init')} Alias for ${magenta('eject')}.
${magenta('publish')} Publish a new version of your functions.
${magenta('upgrade')} Upgrade your satellite's serverless functions.

Expand Down