Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

Commit 8f0bd8b

Browse files
author
Bender
committed
fix(cli): arguments to be correctly accepted as strings #33
1 parent 5c0ef35 commit 8f0bd8b

File tree

2 files changed

+572
-572
lines changed

2 files changed

+572
-572
lines changed

Diff for: lib/cli.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ program
2020
.command('pack')
2121
.description('Package standalone Next12 build into Lambda compatible ZIPs.')
2222
.option(
23-
'--standaloneFolder',
23+
'--standaloneFolder <path>',
2424
'Folder including NextJS standalone build. Parental folder should include more folders as well.',
2525
path.resolve(commandCwd, '.next/standalone'),
2626
)
2727
.option(
28-
'--publicFolder',
28+
'--publicFolder <path>',
2929
'Folder where public assets are located, typically this folder is located in root of the project.',
3030
path.resolve(commandCwd, './public'),
3131
)
3232
.option(
33-
'--handlerPath',
33+
'--handlerPath <path>',
3434
'Path to custom handler to be used to handle ApiGw events. By default this is provided for you.',
3535
path.resolve(path.dirname(__filename), './server-handler.js'),
3636
)
3737
.option(
38-
'--outputFolder',
38+
'--outputFolder <path>',
3939
'Path to folder which should be used for outputting bundled ZIP files for your Lambda. It will be cleared before every script run.',
4040
path.resolve(commandCwd, './next.out'),
4141
)

0 commit comments

Comments
 (0)