📝 Update script metadata and help message for howto.ts
This commit is contained in:
@@ -153,12 +153,12 @@
|
|||||||
},
|
},
|
||||||
"howto.ts": {
|
"howto.ts": {
|
||||||
"script_name": "howto.ts",
|
"script_name": "howto.ts",
|
||||||
"script_length": 3597,
|
"script_length": 3711,
|
||||||
"script_sha256": "741b5f399a75438f7f50f4a8118b8f3ab11a2e752d5056ca4d659f7a26b3333b",
|
"script_sha256": "192feed10c1bb1011286bde8f097f5fbabce408a21d571cecb55d382e8aea34b",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/howto.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/howto.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1775973075081,
|
"publish_time": 1775973075081,
|
||||||
"update_time": 1776004257105
|
"update_time": 1776004544106
|
||||||
},
|
},
|
||||||
"init-cheatsheet.ts": {
|
"init-cheatsheet.ts": {
|
||||||
"script_name": "init-cheatsheet.ts",
|
"script_name": "init-cheatsheet.ts",
|
||||||
|
|||||||
@@ -14,10 +14,13 @@ async function main() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (flags.help) {
|
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 --help - show help
|
||||||
howto.ts 'MESSAGE' - generate command line for MESSAGE
|
howto.ts [-N|--no-exec] 'MESSAGE' - generate command line for MESSAGE
|
||||||
`);
|
`);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user