actually bb the string
This commit is contained in:
parent
588d763930
commit
1a73e5bd78
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue