Add wa alias; drop deprecated setup alias

This commit is contained in:
Peter Steinberger
2025-11-24 15:31:21 +01:00
parent 4f32120176
commit d51cf21131
2 changed files with 8 additions and 7 deletions

View File

@@ -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",

View File

@@ -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);