📝 Update script metadata and cheatsheet table format

This commit is contained in:
2026-04-12 00:46:41 +08:00
parent 0f268de9c9
commit 99f9a5e10a
2 changed files with 5 additions and 5 deletions

View File

@@ -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",

View File

@@ -42,13 +42,13 @@ async function main(): Promise<void> {
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("");