From d51cf211312ea61b43aed4811b94f2df9c6c9dcd Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 24 Nov 2025 15:31:21 +0100 Subject: [PATCH] Add wa alias; drop deprecated setup alias --- package.json | 4 +++- src/index.ts | 11 +++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 3c70f5dbe..c922d90c8 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "main": "dist/index.js", "bin": { "warelay": "dist/index.js", - "warely": "dist/index.js" + "warely": "dist/index.js", + "wa": "dist/index.js" }, "scripts": { "dev": "tsx src/index.ts", @@ -14,6 +15,7 @@ "start": "tsx src/index.ts", "warelay": "tsx src/index.ts", "warely": "tsx src/index.ts", + "wa": "tsx src/index.ts", "lint": "biome check src", "lint:fix": "biome check --write src", "format": "biome format src", diff --git a/src/index.ts b/src/index.ts index 86e4036e7..fee7990ea 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1109,11 +1109,10 @@ program ); await updateWebhook(client, senderSid, publicUrl, "POST"); - console.log( - "\nSetup complete. Leave this process running to keep the webhook online. Ctrl+C to stop.", - ); - await waitForever(); - }) - .alias("setup"); + console.log( + "\nSetup complete. Leave this process running to keep the webhook online. Ctrl+C to stop.", + ); + await waitForever(); +}); program.parseAsync(process.argv);