remove erroneous debugecho

This commit is contained in:
Daylin Morgan 2024-11-07 10:55:03 -06:00
parent 2489be03d3
commit 713c98c13f
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -42,7 +42,6 @@ func newHwylCliHelp*(
result.cmd = cmd
result.desc = dedent(desc).strip()
result.subcmds = subcmds.mapIt((it.name,it.desc.strip().dedent().strip().splitlines()[0]))
debugecho result.subcmds
result.usage = dedent(usage).strip()
result.flags = @flags
result.styles = styles
@ -148,9 +147,11 @@ type
required*: seq[string]
globalFlags*: seq[CliFlag]
func `?`(n: NimNode) =
{.push hint[XDeclaredButNotUsed]:off .}
func peekNode(n: NimNode) =
## for debugging macros
debugEcho treeRepr n
{.pop.}
# TODO: do i need this?
func newCliFlag(): CliFlag =