pinomad 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-n60kkf1m.js → chunk-17p6bfvy.js} +4 -4
- package/dist/chunk-302y6by9.js +50 -0
- package/dist/{chunk-bggesvnj.js → chunk-374zqx5h.js} +15 -92
- package/dist/chunk-5785kwej.js +128 -0
- package/dist/{chunk-z4x88s0q.js → chunk-7gmkgyaz.js} +76 -3
- package/dist/chunk-837gh8nr.js +138 -0
- package/dist/{chunk-t9y2wfk5.js → chunk-akgxwg8f.js} +98 -6
- package/dist/chunk-b3f0ced1.js +147 -0
- package/dist/{chunk-syf0z68f.js → chunk-d4y99pfy.js} +2 -2
- package/dist/{chunk-3tf23vjq.js → chunk-fgx2sh7d.js} +1 -1
- package/dist/chunk-knaw1a9g.js +182 -0
- package/dist/{chunk-c155p0t0.js → chunk-myjp910s.js} +106 -7
- package/dist/{chunk-3qn8gbjb.js → chunk-n73t5xzw.js} +1 -1
- package/dist/{chunk-kxws8b83.js → chunk-prhvksh3.js} +4 -4
- package/dist/chunk-vw5yb5pd.js +1123 -0
- package/dist/chunk-xhwkx9bd.js +139 -0
- package/dist/{chunk-7fqn69ys.js → chunk-xrvmnymc.js} +2 -2
- package/dist/{chunk-tfqc1djy.js → chunk-z5pmcscx.js} +530 -242
- package/dist/pinomad.js +14 -9
- package/package.json +1 -1
- package/web/assets/index-8mNNPXPT.js +383 -0
- package/web/assets/{index-CG33GBxM.css → index-BFJJgGGo.css} +1 -1
- package/web/index.html +2 -2
- package/dist/chunk-4dj2vb8t.js +0 -284
- package/dist/chunk-fxaewke2.js +0 -113
- package/web/assets/index-CBXdQLua.js +0 -383
package/dist/pinomad.js
CHANGED
|
@@ -1,32 +1,37 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
packagedVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-fgx2sh7d.js";
|
|
5
5
|
import {
|
|
6
6
|
__require
|
|
7
7
|
} from "./chunk-df32avw6.js";
|
|
8
8
|
|
|
9
9
|
// apps/cli/src/pinomad.ts
|
|
10
10
|
var COMMANDS = {
|
|
11
|
-
host: () => import("./chunk-
|
|
12
|
-
relay: () => import("./chunk-
|
|
13
|
-
service: () => import("./chunk-
|
|
14
|
-
upgrade: () => import("./chunk-
|
|
15
|
-
link: () => import("./chunk-
|
|
16
|
-
pair: () => import("./chunk-
|
|
17
|
-
"relay-id": () => import("./chunk-
|
|
11
|
+
host: () => import("./chunk-z5pmcscx.js"),
|
|
12
|
+
relay: () => import("./chunk-vw5yb5pd.js"),
|
|
13
|
+
service: () => import("./chunk-prhvksh3.js"),
|
|
14
|
+
upgrade: () => import("./chunk-17p6bfvy.js"),
|
|
15
|
+
link: () => import("./chunk-n73t5xzw.js"),
|
|
16
|
+
pair: () => import("./chunk-d4y99pfy.js"),
|
|
17
|
+
"relay-id": () => import("./chunk-xrvmnymc.js"),
|
|
18
|
+
join: () => import("./chunk-b3f0ced1.js"),
|
|
19
|
+
leave: () => import("./chunk-xhwkx9bd.js")
|
|
18
20
|
};
|
|
19
21
|
var USAGE = `pinomad — PiNomad host, relay, and utilities
|
|
20
22
|
|
|
21
23
|
usage: pinomad <command> [args…]
|
|
22
24
|
|
|
23
25
|
host [host args…] run the host in the foreground
|
|
24
|
-
relay --public-origin O --allow-host H…
|
|
26
|
+
relay --public-origin O [--allow-host H…] [--data-dir D] [--trust-proxy] run the server
|
|
27
|
+
relay passwd [--data-dir D] [--user U] change the account password (stdin)
|
|
25
28
|
service install|uninstall|status|restart|logs user-level host service
|
|
26
29
|
upgrade [--force] [address flags] upgrade the package and restart the service
|
|
27
30
|
link [--data-dir D|--url U …] print the browser link
|
|
28
31
|
pair [--data-dir D|--url U …] print a pairing QR
|
|
29
32
|
relay-id [--data-dir D] print this host's relay id (for --allow-host)
|
|
33
|
+
join <origin> <token> [--data-dir D] join this host to a server account
|
|
34
|
+
leave [--data-dir D] leave the server account
|
|
30
35
|
--version, -v print the version
|
|
31
36
|
`;
|
|
32
37
|
async function main(argv) {
|