From f4839035a50b63219d7ddc2292e13ec1d91c902e Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Wed, 11 Feb 2026 23:05:02 +0800 Subject: [PATCH] updates --- script-meta-v2.json | 6 +++--- single-scripts/message.ts | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/script-meta-v2.json b/script-meta-v2.json index f44706d..5429177 100644 --- a/script-meta-v2.json +++ b/script-meta-v2.json @@ -161,12 +161,12 @@ }, "message.ts": { "script_name": "message.ts", - "script_length": 1791, - "script_sha256": "7c837640d6f607b15c4ebc3c590bf86784ebec2a7ce7cd2ef98edba8a7929a68", + "script_length": 1795, + "script_sha256": "6405af2a5dd6f9c7975daab3f82a08a3ee02a36607f04c5a5326fa1067bfae2c", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/message.ts", "single_script_file": true, "publish_time": 1770129305453, - "update_time": 1770538595147 + "update_time": 1770822299685 }, "post-note.ts": { "script_name": "post-note.ts", diff --git a/single-scripts/message.ts b/single-scripts/message.ts index 2262daa..e4aa4a8 100755 --- a/single-scripts/message.ts +++ b/single-scripts/message.ts @@ -1,9 +1,10 @@ #!/usr/bin/env runts -- --allow-import -import {log, term,} from "https://global.hatter.ink/script/get/@33/deno-commons-mod.ts"; + +import {args, log, term,} from "https://global.hatter.ink/script/get/@44/deno-commons-mod.ts"; import {parseArgs} from "jsr:@std/cli/parse-args"; function main() { - const flags = parseArgs(Deno.args, { + const flags = parseArgs(args(), { boolean: [ "debug", "info", @@ -64,5 +65,5 @@ function main() { main(); -// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T161629+08:00.MEUCIQD2GNZVw70Ke2g12xC+ -// FHqhxP0o8IK1WcMmijGRjoCIEwIgK2svmajusuU7quHyIurV6JnRp9fLzElmA/wmVwuLv1A= +// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260211T230438+08:00.MEYCIQC2/bKfjlqlMdf559NI +// rZ5wBvY+O3qT58e1otJz+sZVNwIhAIIqWyavfpvG25u6YOGkSGSgTfrM77bx+7VvfE5bptMc