🔧 Update script metadata and add argument alias for help in wget.ts
This commit is contained in:
@@ -385,11 +385,11 @@
|
||||
},
|
||||
"wget.ts": {
|
||||
"script_name": "wget.ts",
|
||||
"script_length": 5251,
|
||||
"script_sha256": "6eb6297108d7d3719ae3d25689cbb0fc790a1577533fa70d94134cd88adbb8ab",
|
||||
"script_length": 5289,
|
||||
"script_sha256": "1a3602699a4e969690553f391934823ed7a95d29bb4f44dddb449fded565f928",
|
||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/wget.ts",
|
||||
"single_script_file": true,
|
||||
"publish_time": 1737272626139,
|
||||
"update_time": 1775959013881
|
||||
"update_time": 1776271555181
|
||||
}
|
||||
}
|
||||
@@ -67,6 +67,9 @@ const args = Deno.args;
|
||||
const flags = parseArgs(Deno.args, {
|
||||
boolean: ["help", "no-proxy", "auto-proxy", "hatter-proxy"],
|
||||
string: ["proxy", "output"],
|
||||
alias: {
|
||||
h: "help",
|
||||
}
|
||||
});
|
||||
|
||||
if (args.length === 0) {
|
||||
@@ -183,5 +186,5 @@ log.success(
|
||||
}`,
|
||||
);
|
||||
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260412T095641+08:00.MEYCIQC6Qwz7YNhcunDVIDzC
|
||||
// HjRPVTi1+Ph4FbGDxZuR6lNiUwIhAJyJTsUPZrBT5GYm+9mIlN6mYCbMHce1aU6jYbe4fnyh
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260416T004346+08:00.MEUCIDR39WX3kYlrq/2s3l6Y
|
||||
// 4M0bElOMBWQeI0vxuAY5miEbAiEAi5sHKcGwQCda0uJ+hhnxloGvaBRFrTjl0fFRUgegqJI=
|
||||
|
||||
Reference in New Issue
Block a user