kdwatch 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +29 -0
- data/bin/kds +2 -2
- data/lib/kdwatch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78de5f5fc93f9cab8290038be3ef8671ad55616aa894a1adc8065ddaee91afe5
|
4
|
+
data.tar.gz: 8bbc03a04d4924a48ba6b44f911ae7e081f5e5c01d5e18bfd7b181efb50afeb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1401f0029d6a39e348d22c35a53e541f70400300dcf2fd0ddf60474733ca4871039a8e3890a16c5ba70dcf48e3a823ed6acf5f1248ebb2fa80af49f0ce8ec06
|
7
|
+
data.tar.gz: 4bd5673bb06462c267ff344509c6ec9c280a2d9856d8fe31cb98503de0a544b1ade1b4f6c095e558487b572e2f8482599bc958856814a5a95a48077386b67d5c
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -121,6 +121,35 @@ another laptop), and save some screen real-estate on your laptop.
|
|
121
121
|
With a globally routable address, kdwatch even can be used for joint
|
122
122
|
viewing in a team.
|
123
123
|
|
124
|
+
### Finding and accessing kdwatch servers
|
125
|
+
|
126
|
+
The `kds` tool can list active local (127.0.0.1) kdwatch servers and
|
127
|
+
optionally quickly open the page for a selected kdwatch server.
|
128
|
+
|
129
|
+
```
|
130
|
+
Usage: kds [options] [match...]
|
131
|
+
Version: n.m.l (from kdwatch)
|
132
|
+
-v, --version Show version and exit
|
133
|
+
-h, --help Show option summary and exit
|
134
|
+
-f, --from=NUM Search from port number (7991)
|
135
|
+
-t, --to=NUM Search to port number (7999)
|
136
|
+
```
|
137
|
+
|
138
|
+
```
|
139
|
+
$ kds
|
140
|
+
http://127.0.0.1:7991 Packed CBOR
|
141
|
+
http://127.0.0.1:7992 Concise Problem Details For CoAP APIs
|
142
|
+
$ kds prob
|
143
|
+
http://127.0.0.1:7991 Packed CBOR
|
144
|
+
http://127.0.0.1:7992 Concise Problem Details For CoAP APIs
|
145
|
+
(...web page http://127.0.0.1:7992 opens...)
|
146
|
+
$
|
147
|
+
```
|
148
|
+
|
149
|
+
Any match arguments are concatenated with spaces; for servers that
|
150
|
+
offer a page with the match string in the title (case insensitive), a
|
151
|
+
window is opened in the default browser.
|
152
|
+
|
124
153
|
## Feedback, please
|
125
154
|
|
126
155
|
This has only been tested on macOS and briefly on Linux. No idea about WSL.
|
data/bin/kds
CHANGED
@@ -23,10 +23,10 @@ BANNER
|
|
23
23
|
puts opts
|
24
24
|
exit
|
25
25
|
end
|
26
|
-
opts.on("-fNUM", "--from=NUM", Integer, "Search from port number") do |v|
|
26
|
+
opts.on("-fNUM", "--from=NUM", Integer, "Search from port number (#{loport})") do |v|
|
27
27
|
loport = v
|
28
28
|
end
|
29
|
-
opts.on("-tNUM", "--to=NUM", Integer, "Search to port number") do |v|
|
29
|
+
opts.on("-tNUM", "--to=NUM", Integer, "Search to port number (#{hiport})") do |v|
|
30
30
|
hiport = v
|
31
31
|
end
|
32
32
|
end
|
data/lib/kdwatch/version.rb
CHANGED