From 3cef7fd6097dedbf9abfe5c39b7725e6d66c7eba Mon Sep 17 00:00:00 2001 From: dockfries Date: Sat, 25 May 2024 23:05:42 +0800 Subject: [PATCH] fix(cli): scriptName --- packages/create-app/src/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/create-app/src/main.ts b/packages/create-app/src/main.ts index f5013ff..0058b49 100644 --- a/packages/create-app/src/main.ts +++ b/packages/create-app/src/main.ts @@ -255,7 +255,8 @@ function addUpdateBuilder(y: Argv) { function init() { cli - .usage("Usage: infernus [command] ") + .usage("Usage: $0 [command] ") + .scriptName("infernus") .command("create [app-name]", "create a new project", () => {}, createApp) .command({ command: "add [dependencies..]",