This commit is contained in:
2026-02-11 23:05:02 +08:00
parent 6a08be3f50
commit f4839035a5
2 changed files with 8 additions and 7 deletions

View File

@@ -161,12 +161,12 @@
}, },
"message.ts": { "message.ts": {
"script_name": "message.ts", "script_name": "message.ts",
"script_length": 1791, "script_length": 1795,
"script_sha256": "7c837640d6f607b15c4ebc3c590bf86784ebec2a7ce7cd2ef98edba8a7929a68", "script_sha256": "6405af2a5dd6f9c7975daab3f82a08a3ee02a36607f04c5a5326fa1067bfae2c",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/message.ts", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/message.ts",
"single_script_file": true, "single_script_file": true,
"publish_time": 1770129305453, "publish_time": 1770129305453,
"update_time": 1770538595147 "update_time": 1770822299685
}, },
"post-note.ts": { "post-note.ts": {
"script_name": "post-note.ts", "script_name": "post-note.ts",

View File

@@ -1,9 +1,10 @@
#!/usr/bin/env runts -- --allow-import #!/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"; import {parseArgs} from "jsr:@std/cli/parse-args";
function main() { function main() {
const flags = parseArgs(Deno.args, { const flags = parseArgs(args(), {
boolean: [ boolean: [
"debug", "debug",
"info", "info",
@@ -64,5 +65,5 @@ function main() {
main(); main();
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T161629+08:00.MEUCIQD2GNZVw70Ke2g12xC+ // @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260211T230438+08:00.MEYCIQC2/bKfjlqlMdf559NI
// FHqhxP0o8IK1WcMmijGRjoCIEwIgK2svmajusuU7quHyIurV6JnRp9fLzElmA/wmVwuLv1A= // rZ5wBvY+O3qT58e1otJz+sZVNwIhAIIqWyavfpvG25u6YOGkSGSgTfrM77bx+7VvfE5bptMc