@clef-sh/cli 0.1.0 → 0.1.2
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/README.md +82 -0
- package/dist/commands/ui.d.ts.map +1 -1
- package/dist/commands/ui.js +38 -2
- package/dist/commands/ui.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# @clef-sh/cli
|
|
2
|
+
|
|
3
|
+
CLI for [Clef](https://clef.sh) — git-native secrets management built on [Mozilla SOPS](https://github.com/getsops/sops). Adds structure, visibility, and guardrails to encrypted secrets without servers, databases, or vendor lock-in.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @clef-sh/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Prerequisites
|
|
12
|
+
|
|
13
|
+
- [SOPS](https://github.com/getsops/sops) v3.8+
|
|
14
|
+
- [age](https://github.com/FiloSottile/age) (or another SOPS-supported backend)
|
|
15
|
+
- Git
|
|
16
|
+
- Node.js 18+
|
|
17
|
+
|
|
18
|
+
Run `clef doctor` to verify your environment.
|
|
19
|
+
|
|
20
|
+
## Quick start
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Initialise a new Clef repo
|
|
24
|
+
clef init --namespaces database,payments,auth --non-interactive
|
|
25
|
+
|
|
26
|
+
# Set and retrieve secrets
|
|
27
|
+
clef set database/staging DB_PASSWORD
|
|
28
|
+
clef get database/staging DB_HOST
|
|
29
|
+
|
|
30
|
+
# Compare environments
|
|
31
|
+
clef diff database dev staging
|
|
32
|
+
|
|
33
|
+
# Validate the repo
|
|
34
|
+
clef lint
|
|
35
|
+
|
|
36
|
+
# Run a command with injected secrets
|
|
37
|
+
clef exec payments/production -- ./deploy.sh
|
|
38
|
+
|
|
39
|
+
# Launch the local web UI
|
|
40
|
+
clef ui
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Commands
|
|
44
|
+
|
|
45
|
+
| Command | Description |
|
|
46
|
+
| -------------------- | ----------------------------------------- |
|
|
47
|
+
| `clef doctor` | Check dependencies and configuration |
|
|
48
|
+
| `clef init` | Initialise a new Clef repo |
|
|
49
|
+
| `clef update` | Scaffold missing matrix cells |
|
|
50
|
+
| `clef get` | Retrieve a single decrypted value |
|
|
51
|
+
| `clef set` | Set a secret value |
|
|
52
|
+
| `clef delete` | Remove a key from an encrypted file |
|
|
53
|
+
| `clef diff` | Compare secrets between two environments |
|
|
54
|
+
| `clef lint` | Full repo health check |
|
|
55
|
+
| `clef rotate` | Re-encrypt with a new recipient key |
|
|
56
|
+
| `clef scan` | Scan for plaintext secrets in the repo |
|
|
57
|
+
| `clef import` | Import secrets from `.env`, JSON, or YAML |
|
|
58
|
+
| `clef export` | Print secrets as shell export statements |
|
|
59
|
+
| `clef recipients` | Manage age recipients (list, add, remove) |
|
|
60
|
+
| `clef hooks install` | Install the pre-commit hook |
|
|
61
|
+
| `clef exec` | Run a command with injected secrets |
|
|
62
|
+
| `clef ui` | Start the local web UI |
|
|
63
|
+
| `clef merge-driver` | Git merge driver for encrypted files |
|
|
64
|
+
|
|
65
|
+
## Global options
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
clef --version # Print version
|
|
69
|
+
clef --help # Print help
|
|
70
|
+
clef <cmd> --help # Help for a specific command
|
|
71
|
+
clef --repo <path|url> <cmd> ... # Use a different repo root
|
|
72
|
+
clef --repo <url> --branch <branch> ... # Use a specific branch of a remote repo
|
|
73
|
+
clef --plain <cmd> ... # Plain output without emoji/color
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Documentation
|
|
77
|
+
|
|
78
|
+
Full docs at [clef.sh/docs](https://clef.sh/docs/).
|
|
79
|
+
|
|
80
|
+
## License
|
|
81
|
+
|
|
82
|
+
MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/commands/ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/commands/ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAWjD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE;IAAE,MAAM,EAAE,gBAAgB,CAAA;CAAE,GAAG,IAAI,CA2E5F;AAED,wBAAgB,UAAU,IAAI,OAAO,CAiBpC"}
|
package/dist/commands/ui.js
CHANGED
|
@@ -1,8 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
36
|
exports.registerUiCommand = registerUiCommand;
|
|
4
37
|
exports.isHeadless = isHeadless;
|
|
5
|
-
const server_1 = require("@clef-sh/ui/dist/server");
|
|
6
38
|
const formatter_1 = require("../output/formatter");
|
|
7
39
|
const symbols_1 = require("../output/symbols");
|
|
8
40
|
function registerUiCommand(program, deps) {
|
|
@@ -19,9 +51,13 @@ function registerUiCommand(program, deps) {
|
|
|
19
51
|
return;
|
|
20
52
|
}
|
|
21
53
|
const repoRoot = program.opts().repo || process.cwd();
|
|
54
|
+
// Lazy-load @clef-sh/ui so the CLI doesn't fail at startup when the UI
|
|
55
|
+
// module hasn't been resolved yet for commands other than `clef ui`.
|
|
56
|
+
const uiModule = await Promise.resolve().then(() => __importStar(require("@clef-sh/ui/dist/server")));
|
|
57
|
+
const { startServer } = uiModule;
|
|
22
58
|
let handle;
|
|
23
59
|
try {
|
|
24
|
-
handle = await
|
|
60
|
+
handle = await startServer(port, repoRoot, deps.runner);
|
|
25
61
|
}
|
|
26
62
|
catch (err) {
|
|
27
63
|
const message = err instanceof Error ? err.message : "Unknown error";
|
package/dist/commands/ui.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../../src/commands/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O,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;AACnC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
const commander_1 = require("commander");
|
|
4
7
|
const subprocess_1 = require("./subprocess");
|
|
@@ -22,7 +25,8 @@ const merge_driver_1 = require("./commands/merge-driver");
|
|
|
22
25
|
const formatter_1 = require("./output/formatter");
|
|
23
26
|
const symbols_1 = require("./output/symbols");
|
|
24
27
|
const core_1 = require("@clef-sh/core");
|
|
25
|
-
const
|
|
28
|
+
const package_json_1 = __importDefault(require("../package.json"));
|
|
29
|
+
const VERSION = package_json_1.default.version;
|
|
26
30
|
const program = new commander_1.Command();
|
|
27
31
|
const runner = new subprocess_1.NodeSubprocessRunner();
|
|
28
32
|
const deps = { runner };
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,yCAAoC;AACpC,6CAAoD;AACpD,0CAAsD;AACtD,wCAAoD;AACpD,wCAAoD;AACpD,8CAA0D;AAC1D,0CAAsD;AACtD,0CAAsD;AACtD,8CAA0D;AAC1D,4CAAwD;AACxD,sCAAkD;AAClD,0CAAsD;AACtD,8CAA0D;AAC1D,8CAA0D;AAC1D,8CAA0D;AAC1D,0CAAsD;AACtD,8CAA0D;AAC1D,sDAAkE;AAClE,0DAAqE;AACrE,kDAA+C;AAC/C,8CAAsE;AACtE,wCAA4D;AAC5D,mEAAkC;AAElC,MAAM,OAAO,GAAG,sBAAG,CAAC,OAAiB,CAAC;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,EAAE,IAAI,CAAC,CAAC;AACrC,IAAA,8BAAqB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AACrC,IAAA,0BAAmB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AACnC,IAAA,sCAAyB,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AACzC,IAAA,yCAA0B,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAE1C,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IAC7C,qBAAS,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC7B,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clef-sh/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "CLI for Clef — git-native secrets management",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tsc",
|
|
16
|
+
"prepack": "rm -rf node_modules/@clef-sh/ui && cp -rL ../../node_modules/@clef-sh/ui node_modules/@clef-sh/ui",
|
|
16
17
|
"test": "jest",
|
|
17
18
|
"test:coverage": "jest --coverage"
|
|
18
19
|
},
|
|
19
20
|
"dependencies": {
|
|
20
21
|
"@clef-sh/core": "*",
|
|
21
|
-
"@clef-sh/ui": "*",
|
|
22
22
|
"commander": "^12.0.0",
|
|
23
23
|
"picocolors": "^1.0.0",
|
|
24
24
|
"yaml": "^2.4.0"
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"@clef-sh/ui"
|
|
28
28
|
],
|
|
29
29
|
"devDependencies": {
|
|
30
|
+
"@clef-sh/ui": "*",
|
|
30
31
|
"@types/jest": "^29.5.0",
|
|
31
32
|
"@types/node": "^20.11.0",
|
|
32
33
|
"jest": "^29.7.0",
|