Add wa alias; drop deprecated setup alias
This commit is contained in:
@@ -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",
|
||||
|
||||
11
src/index.ts
11
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);
|
||||
|
||||
Reference in New Issue
Block a user