Compare commits
2 commits
588d763930
...
9031999c2f
Author | SHA1 | Date | |
---|---|---|---|
9031999c2f | |||
1a73e5bd78 |
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
# tunnel-nim todo's
|
||||
|
||||
- [ ] show no output from `tunnel up` on connection
|
||||
- [ ] add a `tunnel kill` command which removes all ssh control files
|
||||
|
||||
<!-- generated with <3 by daylinmorgan/todo -->
|
||||
|
|
|
@ -34,7 +34,7 @@ proc show() =
|
|||
collect(for _,p in walkDir(sshDir): p)
|
||||
.map(extractFilename)
|
||||
.filterIt(it.startsWith("control"))
|
||||
echo fmt"[yellow]{controllers.len}[/] active connections"
|
||||
echo bbfmt"[yellow]{controllers.len}[/] active connections"
|
||||
if controllers.len == 0: quit 0
|
||||
echo "hosts:"
|
||||
echo controllers.mapIt(" " & it.split('-')[1]).join("\n")
|
||||
|
|
Loading…
Reference in a new issue