actually bb the string

This commit is contained in:
Daylin Morgan 2024-10-11 12:10:07 -05:00
parent 588d763930
commit 1a73e5bd78
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -34,7 +34,7 @@ proc show() =
collect(for _,p in walkDir(sshDir): p) collect(for _,p in walkDir(sshDir): p)
.map(extractFilename) .map(extractFilename)
.filterIt(it.startsWith("control")) .filterIt(it.startsWith("control"))
echo fmt"[yellow]{controllers.len}[/] active connections" echo bbfmt"[yellow]{controllers.len}[/] active connections"
if controllers.len == 0: quit 0 if controllers.len == 0: quit 0
echo "hosts:" echo "hosts:"
echo controllers.mapIt(" " & it.split('-')[1]).join("\n") echo controllers.mapIt(" " & it.split('-')[1]).join("\n")