refactor: noop

This commit is contained in:
Daylin Morgan 2024-10-07 10:31:13 -05:00
parent 1d12d810f0
commit 544b4f5c6f
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -17,19 +17,19 @@ when isMainModule:
import std/parseopt
import hwylterm, hwylterm/cli
const tsmVersion {.strdefine.} = staticExec "git describe --tags --always HEAD --match 'v*'"
proc help() =
echo newHwylCli(
const
tsmVersion {.strdefine.} =
staticExec "git describe --tags --always HEAD --match 'v*'"
usage =
"""tmux session manager
[bold]tsm[/] [[[faint]-h|-v|-o[/]]""",
[bold]tsm[/] [[[faint]-h|-v|-o[/]]"""
flags = [
("h","help","show this help"),
("v","version", "print version"),
("o","open", "only search open sessions")
]
)
proc help() = echo newHwylCli(usage, flags = flags)
var open: bool
var p = initOptParser(
shortNoVal = {'h', 'v', 'o'},