Skip to content

Commit 84da08e

Browse files
committed
add script name and usage message to the prerenderer
1 parent c1a0673 commit 84da08e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/prerender.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ import { hideBin } from "yargs/helpers";
1414

1515
async function parseArgs() {
1616
const args = await yargs(hideBin(process.argv))
17+
.scriptName("prerender")
18+
.usage('$0', 'prerender the webapp into static files')
1719
.option("api-dir", {
1820
alias: "api",
1921
demandOption: true,

0 commit comments

Comments
 (0)