📝 Update script metadata and help message for howto.ts

This commit is contained in:
2026-04-12 22:35:48 +08:00
parent d93c7cbbe3
commit eba1024758
2 changed files with 8 additions and 5 deletions

View File

@@ -153,12 +153,12 @@
},
"howto.ts": {
"script_name": "howto.ts",
"script_length": 3597,
"script_sha256": "741b5f399a75438f7f50f4a8118b8f3ab11a2e752d5056ca4d659f7a26b3333b",
"script_length": 3711,
"script_sha256": "192feed10c1bb1011286bde8f097f5fbabce408a21d571cecb55d382e8aea34b",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/howto.ts",
"single_script_file": true,
"publish_time": 1775973075081,
"update_time": 1776004257105
"update_time": 1776004544106
},
"init-cheatsheet.ts": {
"script_name": "init-cheatsheet.ts",

View File

@@ -14,10 +14,13 @@ async function main() {
});
if (flags.help) {
console.log(`howto.ts
console.log(`howto.ts - 🚀 AI-powered Natural Language to CLI conversion
e.g.
howto.ts get disk usage for current dir
howto.ts --help - show help
howto.ts 'MESSAGE' - generate command line for MESSAGE
howto.ts [-N|--no-exec] 'MESSAGE' - generate command line for MESSAGE
`);
exit(0);
}