mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2025-01-04 16:10:43 -06:00
chore formatting
This commit is contained in:
parent
5c71355b5f
commit
6ac0d838be
1 changed files with 2 additions and 3 deletions
|
@ -127,11 +127,11 @@ proc choose*[T](things: openArray[T], height: Natural = 6): seq[T] =
|
||||||
|
|
||||||
|
|
||||||
when isMainModule:
|
when isMainModule:
|
||||||
import std/[parseopt, strformat]
|
import std/[parseopt]
|
||||||
import ./cli
|
import ./cli
|
||||||
|
|
||||||
proc writeHelp() =
|
proc writeHelp() =
|
||||||
let cli = newHwylCli(
|
echo newHwylCli(
|
||||||
"[bold]hwylchoose[/] [[[green]args...[/]] [[[faint]-h[/]]",
|
"[bold]hwylchoose[/] [[[green]args...[/]] [[[faint]-h[/]]",
|
||||||
"""
|
"""
|
||||||
hwylchoose a b c d
|
hwylchoose a b c d
|
||||||
|
@ -143,7 +143,6 @@ hwylchoose a,b,c,d --seperator ","
|
||||||
("s", "seperator", "seperator to split items"),
|
("s", "seperator", "seperator to split items"),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
echo cli
|
|
||||||
|
|
||||||
var
|
var
|
||||||
posArgs: seq[string]
|
posArgs: seq[string]
|
||||||
|
|
Loading…
Reference in a new issue