From 99f9a5e10a4693cb236fe7d9e1caf640bb60bfbb Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 12 Apr 2026 00:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20script=20metadata=20and?= =?UTF-8?q?=20cheatsheet=20table=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-meta-v2.json | 6 +++--- single-scripts/update-cheatsheet.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/script-meta-v2.json b/script-meta-v2.json index 1f16ea8..da3320f 100644 --- a/script-meta-v2.json +++ b/script-meta-v2.json @@ -340,12 +340,12 @@ }, "update-cheatsheet.ts": { "script_name": "update-cheatsheet.ts", - "script_length": 2927, - "script_sha256": "a7d02932f1684134b3123a757f517614000bbecfd722967345e49eb718688a63", + "script_length": 2922, + "script_sha256": "262a18ac6b3376df201c7bad8b674392163f621cde67e4a0404c97e5d6a2f376", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/update-cheatsheet.ts", "single_script_file": true, "publish_time": 1775925235458, - "update_time": 1775925939859 + "update_time": 1775925994593 }, "upper.ts": { "script_name": "upper.ts", diff --git a/single-scripts/update-cheatsheet.ts b/single-scripts/update-cheatsheet.ts index 4128baa..5ce0196 100755 --- a/single-scripts/update-cheatsheet.ts +++ b/single-scripts/update-cheatsheet.ts @@ -42,13 +42,13 @@ async function main(): Promise { md.push("# cheatsheet"); md.push(""); - md.push("| Name | Alias | URL | Description |"); + md.push("| Name | Alias | Cheat Sheet | Description |"); md.push("| ----- | ----- | ----- | ----- |"); for (const meta of metas) { md.push( `| ${meta.name} | ${ meta.aliases ? meta.aliases : "-" - } | [${meta.name}/CHEATSHEET.md](${meta.name}/CHEATSHEET.md) | ${meta.description} |`, + } | [CHEATSHEET.md](${meta.name}/CHEATSHEET.md) | ${meta.description} |`, ); } md.push("");