Files
ts-scripts/cmd-ts/main.ts
2026-01-15 00:10:57 +08:00

29 lines
449 B
TypeScript

#!/usr/bin/env runts -- --allow-env --allow-run
import {
existsPath,
joinPath,
log,
readFileToString,
resolveFilename,
} from "https://global.hatter.ink/script/get/@12/deno-commons-mod.ts";
const CMD_CONFIG_FILE = "~/.config/cmd-ts.json";
interface CmdConfig {
cmds?: Map<string, Cmd>;
}
interface Cmd {
comment?: string;
alias?: string[];
}
async function main() {
// TODO ...
}
await main();
// TODO ...