mirror of
https://github.com/daylinmorgan/forge.git
synced 2024-11-24 00:40:45 -06:00
chore: clean up ui
This commit is contained in:
parent
09a9265343
commit
096443f5ea
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue