chore: clean up ui

This commit is contained in:
Daylin Morgan 2023-10-23 15:30:02 -05:00
parent 09a9265343
commit 096443f5ea
Signed by: daylin
GPG Key ID: C1E52E7DD81DF79F
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import std/[os, osproc, sequtils, strformat, strutils, tables, terminal]
import std/[os, osproc, sequtils, strformat, strutils, tables]
import forge/[config, utils, term, zig]
@ -21,7 +21,7 @@ proc genFlags(target: string, args: seq[string] = @[]): seq[string] =
proc targets() =
## show available targets
let targetList = zigTargets()
termEcho styleBright, fgGreen, "available targets:"
termEcho "[bold green]available targets:".bb
stderr.writeLine targetList.columns
proc cc(target: string, dryrun: bool = false, nimble: bool = false, args: seq[string]) =
@ -128,7 +128,7 @@ when isMainModule:
zigExists()
const
customMulti = "${doc}Usage:\n $command {SUBCMD} [sub-command options & parameters]\n\nsubcommands:\n$subcmds"
customMulti = "Usage:\n $command {SUBCMD} [sub-command options & parameters]\n\nsubcommands:\n$subcmds"
vsn = staticExec "git describe --tags --always HEAD"