From 2c2311108d4179f40ec0d6379bbc6c8bc317e26f Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Thu, 15 Jan 2026 00:10:57 +0800 Subject: [PATCH] feat: cmd-ts --- cmd-ts/main.ts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 cmd-ts/main.ts diff --git a/cmd-ts/main.ts b/cmd-ts/main.ts new file mode 100644 index 0000000..c55bec8 --- /dev/null +++ b/cmd-ts/main.ts @@ -0,0 +1,28 @@ +#!/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; +} + +interface Cmd { + comment?: string; + alias?: string[]; +} + + +async function main() { + // TODO ... +} +await main(); + +// TODO ...