@coffre/cli 0.1.2 → 0.1.3

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/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { r as keys } from "./keys-D9CG_wYV.js";
2
+ import { a as keys } from "./keys-RhB7ayOY.js";
3
3
  import { i as isRole, r as assignableToEnvironment, t as ROLES } from "./access-CO1kGjWW.js";
4
4
  import { parseArgs, promisify } from "node:util";
5
5
  import { execFile, spawn } from "node:child_process";
@@ -1461,9 +1461,9 @@ const USAGE = `coffre - secrets, with an audit log
1461
1461
  coffre init --workers [<dir>] two Cloudflare Workers: the app and its vault
1462
1462
  coffre init --node [<dir>] a Node server, and its vault beside it
1463
1463
  coffre setup [--reset-passwords] [--json]
1464
- its database logins, migrations and keys, in one go,
1465
- shown once (the connection string is asked for)
1466
- coffre keys [--json] its keys and the KEK's id alone, made here and shown once
1464
+ its database logins, migrations and keys in one go,
1465
+ shown once on a screen of their own
1466
+ coffre keys [--json] the app key, vault key and vault ID alone, shown the same way
1467
1467
 
1468
1468
  Session
1469
1469
  coffre login [<url>] [--no-browser] sign in, and make <url> the current instance
@@ -1513,10 +1513,10 @@ switch (command) {
1513
1513
  initProject(rest);
1514
1514
  break;
1515
1515
  case "keys":
1516
- keys(rest);
1516
+ await keys(rest);
1517
1517
  break;
1518
1518
  case "setup":
1519
- await (await import("./setup-DPHVyr2N.js")).setup(rest);
1519
+ await (await import("./setup-3OJc_VCA.js")).setup(rest);
1520
1520
  break;
1521
1521
  case "login":
1522
1522
  await login(rest);