mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2024-11-16 14:30:44 -06:00
add doc string
This commit is contained in:
parent
fed1c03ce8
commit
f1c3fdfe78
1 changed files with 1 additions and 0 deletions
|
@ -721,6 +721,7 @@ func hwylCliImpl(cfg: CliCfg, root = false): NimNode =
|
||||||
`runProcName`(`args`[1..^1])
|
`runProcName`(`args`[1..^1])
|
||||||
|
|
||||||
macro hwylCli*(body: untyped) =
|
macro hwylCli*(body: untyped) =
|
||||||
|
## generate a CLI styled by `hwylterm` and parsed by `parseopt3`
|
||||||
var cfg = parseCliBody(body)
|
var cfg = parseCliBody(body)
|
||||||
hwylCliImpl(cfg, root = true)
|
hwylCliImpl(cfg, root = true)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue