From b6202f4f51edadd041d2b5f2aed1d75abcd4ee51 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 7 Nov 2024 13:52:28 -0600 Subject: [PATCH] add todos --- todo.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/todo.md b/todo.md index 85ad27b..6cf1544 100644 --- a/todo.md +++ b/todo.md @@ -14,9 +14,25 @@ - [ ] add a `commands` option for `newHwylCli` in `hwylterm/cli` - [ ] console object with customizable options to apply formatting -### cli generatorj +### cli generato - [ ] add support for types(metavars)/defaults/required in help output +- [ ] abstract the `globalFlags` argument to a `flagGroups` section with a builtin `global` + this would allow users to "inherit" flag groups in subcommands + ```nim + flags: + # global flag group auto propagated down + --- global + config "path to config" + --- shared + shared: + `a-flag` "some shared flag" + -- sub + flags: + ^shared + unique "some unique flag" + ``` + ## features