From 2819992ade3cb66e8af66840d3280c36d71dd3d7 Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Abiyat Date: Sat, 12 Oct 2024 13:53:44 +0330 Subject: [PATCH] add some roadmap --- README.md | 20 +++++++++++++++++++- cac.ts | 1 + demo.ts | 1 + 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e6aff38..4bf47ea 100644 --- a/README.md +++ b/README.md @@ -1 +1,19 @@ -# ahh +# tab + +- [] zsh test in git + +```zsh +source <(pnpm tsx demo.ts complete zsh) + +vite # rest of the completions + +pnpm tsx demo.ts complete -- --po +``` + +- [] tests vitest (this should mostly test the completions array, e.g. logs) +- [] powershell completions generation +- [] citty support `@bomsh/tab/citty` +- [] `@bombsh/tab` + +- [] fish +- [] bash diff --git a/cac.ts b/cac.ts index de6d657..4a20679 100644 --- a/cac.ts +++ b/cac.ts @@ -1,3 +1,4 @@ +// @bombsh/tab/cac import { CAC } from "cac"; import * as zsh from "./zsh"; import * as bash from "./bash"; diff --git a/demo.ts b/demo.ts index 6a2ca93..d072d73 100644 --- a/demo.ts +++ b/demo.ts @@ -106,6 +106,7 @@ function convertHost(value) { return value; } +// https://github.com/vitejs/vite/blob/main/packages/vite/src/node/cli.ts // Global options cli .option("-c, --config ", `[string] use specified config file`) -- 2.51.2