update hwylterm
This commit is contained in:
parent
5f3d2cad26
commit
2a8a359181
4 changed files with 8 additions and 9 deletions
|
@ -8,5 +8,5 @@ buildNimblePackage {
|
|||
|
||||
src = lib.cleanSource ./.;
|
||||
doCheck = false;
|
||||
nimbleDepsHash = "sha256-NajR821HbgR6TABZJOkMIf7EZq4dgDAZ02PZlKwtKCA=";
|
||||
nimbleDepsHash = "sha256-YWssZU4SyfoYbXl/IYsbc0TwEs7ZcwonjkEXHCrhZeA=";
|
||||
}
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
"packages": {
|
||||
"hwylterm": {
|
||||
"version": "0.1.0",
|
||||
"vcsRevision": "50d0ee5a3bbba88e1d73f5eb3cf0d1e9911885ca",
|
||||
"vcsRevision": "dbde9c91e972e101c6e9da4ad87a0b2fa6d1bee8",
|
||||
"url": "https://github.com/daylinmorgan/hwylterm",
|
||||
"downloadMethod": "git",
|
||||
"dependencies": [],
|
||||
"checksums": {
|
||||
"sha1": "7b353603c818f4be92238719c62bb97be7e00580"
|
||||
"sha1": "aa7def4e92d09001e407791bbe02f21c4d835158"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -40,25 +40,24 @@ proc showTunnels() =
|
|||
|
||||
hwylCli:
|
||||
name "tunnel"
|
||||
settings ShowHelp
|
||||
settings ShowHelp, InferShort, Propagate
|
||||
subcommands:
|
||||
[up]
|
||||
... "activate a tunnel"
|
||||
args:
|
||||
positionals:
|
||||
host string
|
||||
required port
|
||||
flags:
|
||||
port:
|
||||
- p
|
||||
T int
|
||||
? "port number"
|
||||
* 8555
|
||||
S Required
|
||||
run:
|
||||
activateTunnel(host, port)
|
||||
|
||||
[down]
|
||||
... "disable all tunnels for a host"
|
||||
args:
|
||||
positionals:
|
||||
host string
|
||||
run:
|
||||
deactivateTunnels(host)
|
||||
|
|
|
@ -9,5 +9,5 @@ bin = @["tunnel"]
|
|||
|
||||
# Dependencies
|
||||
requires "nim >= 2.0.8"
|
||||
requires "https://github.com/daylinmorgan/hwylterm#50d0ee5"
|
||||
requires "https://github.com/daylinmorgan/hwylterm#dbde9c91"
|
||||
|
||||
|
|
Loading…
Reference in a new issue