@kaynooo/cli-env 0.13.0 → 0.13.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 +1 -0
- package/dist/ev.js +175 -127
- package/dist/redact.js +104 -53
- package/package.json +2 -2
- package/src/commands/audit.ts +8 -6
- package/src/commands/compare.ts +7 -6
- package/src/commands/edit.ts +30 -21
- package/src/commands/pins.ts +5 -3
- package/src/commands/read.ts +13 -12
- package/src/commands/redact.ts +5 -2
- package/src/files.ts +2 -2
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@ bun install -g @kaynooo/cli-env
|
|
|
16
16
|
| `ev show <rev>:<file>` | an env file as a git revision holds it, values masked |
|
|
17
17
|
| `ev set KEY [file]` | sets a key in `.env` (or the file), the value read from stdin or `-F <file>` so it never appears in a command line, `--empty` for an empty value |
|
|
18
18
|
| `ev unset KEY [file]` | removes a key |
|
|
19
|
+
| `--quiet` (`-q`) | on set, unset, cp and mv, prints nothing on success |
|
|
19
20
|
| `ev cp KEY --from <file> --to <file>` | copies a key's value to another file without printing it, replacing the key there or appending it, `--as NEWKEY` to rename |
|
|
20
21
|
| `ev mv KEY --from <file> --to <file>` | moves a key's line as written, `--force` to replace one the target has |
|
|
21
22
|
| `ev diff <a> <b>` | names the keys set in one file and not the other, exit 1 when they differ; `--json` prints `{a, b, onlyA, onlyB}` |
|