Compare commits
No commits in common. "9031999c2f4ee7102a7db9c1f3e518490cd5ae8c" and "588d7639308ac41a5af29f84acd2d0c73d38501c" have entirely different histories.
9031999c2f
...
588d763930
2 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
# 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 bbfmt"[yellow]{controllers.len}[/] active connections"
|
||||
echo fmt"[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