@karmaniverous/get-dotenv 6.1.0 → 6.1.1
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 +18 -14
- package/dist/cli.mjs +645 -350
- package/dist/getdotenv.cli.mjs +645 -350
- package/dist/index.mjs +645 -350
- package/dist/plugins-aws.d.ts +4 -3
- package/dist/plugins-aws.mjs +319 -170
- package/dist/plugins-batch.d.ts +2 -1
- package/dist/plugins-batch.mjs +76 -41
- package/dist/plugins-cmd.d.ts +2 -1
- package/dist/plugins-cmd.mjs +29 -15
- package/dist/plugins-init.d.ts +2 -1
- package/dist/plugins-init.mjs +158 -118
- package/dist/plugins.d.ts +7 -2
- package/dist/plugins.mjs +645 -350
- package/dist/templates/cli/plugins/hello/defaultAction.ts +27 -0
- package/dist/templates/cli/plugins/hello/index.ts +26 -0
- package/dist/templates/cli/plugins/hello/options.ts +31 -0
- package/dist/templates/cli/plugins/hello/strangerAction.ts +20 -0
- package/dist/templates/cli/plugins/hello/types.ts +13 -0
- package/dist/templates/defaultAction.ts +27 -0
- package/dist/templates/hello/defaultAction.ts +27 -0
- package/dist/templates/hello/index.ts +26 -0
- package/dist/templates/hello/options.ts +31 -0
- package/dist/templates/hello/strangerAction.ts +20 -0
- package/dist/templates/hello/types.ts +13 -0
- package/dist/templates/index.ts +23 -22
- package/dist/templates/options.ts +31 -0
- package/dist/templates/plugins/hello/defaultAction.ts +27 -0
- package/dist/templates/plugins/hello/index.ts +26 -0
- package/dist/templates/plugins/hello/options.ts +31 -0
- package/dist/templates/plugins/hello/strangerAction.ts +20 -0
- package/dist/templates/plugins/hello/types.ts +13 -0
- package/dist/templates/strangerAction.ts +20 -0
- package/dist/templates/types.ts +13 -0
- package/package.json +2 -2
- package/templates/cli/plugins/hello/defaultAction.ts +27 -0
- package/templates/cli/plugins/hello/index.ts +26 -0
- package/templates/cli/plugins/hello/options.ts +31 -0
- package/templates/cli/plugins/hello/strangerAction.ts +20 -0
- package/templates/cli/plugins/hello/types.ts +13 -0
- package/dist/templates/cli/plugins/hello.ts +0 -42
- package/dist/templates/hello.ts +0 -42
- package/dist/templates/plugins/hello.ts +0 -42
- package/templates/cli/plugins/hello.ts +0 -42
package/README.md
CHANGED
|
@@ -24,19 +24,19 @@ See full guides:
|
|
|
24
24
|
- [Shipped plugins](./guides/shipped/index.md)
|
|
25
25
|
- [Authoring plugins](./guides/authoring/index.md) (host, lifecycle, exec, diagnostics)
|
|
26
26
|
|
|
27
|
-
## Use Cases
|
|
28
|
-
|
|
29
|
-
- Execute deployment steps across many repositories from one command sequence. See [batch plugin guide](./guides/shipped/batch.md)
|
|
30
|
-
- Run config‑driven, environment‑aware operations with simple CLI commands. See [config guide](./guides/config.md)
|
|
31
|
-
- Compose a rich CLI from shipped and third‑party plugins and share it across projects. See [shipped plugins overview](./guides/shipped/index.md)
|
|
32
|
-
- Drive complex AWS workflows in an authenticated, environment‑aware context. See [aws plugin guide](./guides/shipped/aws.md)
|
|
33
|
-
- Scaffold a project config and a host‑based CLI skeleton in seconds. See [init plugin guide](./guides/shipped/init.md)
|
|
34
|
-
- Batch lint/build/test across a monorepo with deterministic output. See [batch plugin guide](./guides/shipped/batch.md)
|
|
35
|
-
- Run cross‑platform commands in CI with normalized shells and capture. See [shell guide](./guides/shell.md)
|
|
36
|
-
- Programmatically compose env and run tools inside Node scripts. See [Getting started](./guides/getting-started.md)
|
|
37
|
-
- Add observability without leaking secrets using trace, redaction, and entropy warnings. See [diagnostics guide](./guides/authoring/diagnostics.md)
|
|
38
|
-
- Author new plugins with maximum DX and minimal boilerplate. See [authoring plugins guide](./guides/authoring/index.md)
|
|
39
|
-
|
|
27
|
+
## Use Cases
|
|
28
|
+
|
|
29
|
+
- Execute deployment steps across many repositories from one command sequence. See [batch plugin guide](./guides/shipped/batch.md)
|
|
30
|
+
- Run config‑driven, environment‑aware operations with simple CLI commands. See [config guide](./guides/config.md)
|
|
31
|
+
- Compose a rich CLI from shipped and third‑party plugins and share it across projects. See [shipped plugins overview](./guides/shipped/index.md)
|
|
32
|
+
- Drive complex AWS workflows in an authenticated, environment‑aware context. See [aws plugin guide](./guides/shipped/aws.md)
|
|
33
|
+
- Scaffold a project config and a host‑based CLI skeleton in seconds. See [init plugin guide](./guides/shipped/init.md)
|
|
34
|
+
- Batch lint/build/test across a monorepo with deterministic output. See [batch plugin guide](./guides/shipped/batch.md)
|
|
35
|
+
- Run cross‑platform commands in CI with normalized shells and capture. See [shell guide](./guides/shell.md)
|
|
36
|
+
- Programmatically compose env and run tools inside Node scripts. See [Getting started](./guides/getting-started.md)
|
|
37
|
+
- Add observability without leaking secrets using trace, redaction, and entropy warnings. See [diagnostics guide](./guides/authoring/diagnostics.md)
|
|
38
|
+
- Author new plugins with maximum DX and minimal boilerplate. See [authoring plugins guide](./guides/authoring/index.md)
|
|
39
|
+
|
|
40
40
|
## Requirements
|
|
41
41
|
|
|
42
42
|
- Node.js ≥ 20 (this repository pins 22.19.0 for CI/reproducibility)
|
|
@@ -70,7 +70,7 @@ Embed a CLI quickly (shipped plugins wired for you):
|
|
|
70
70
|
#!/usr/bin/env node
|
|
71
71
|
import { createCli } from '@karmaniverous/get-dotenv/cli';
|
|
72
72
|
|
|
73
|
-
await createCli({ alias: 'toolbox' })();
|
|
73
|
+
await createCli({ alias: 'toolbox' })();
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
More first steps and tips at [Getting Started](./guides/getting-started.md)
|
|
@@ -151,3 +151,7 @@ See [CHANGELOG.md](./CHANGELOG.md)
|
|
|
151
151
|
## License
|
|
152
152
|
|
|
153
153
|
BSD‑3‑Clause — see [LICENSE](./LICENSE)
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
Built for you with ❤️ on Bali! Find more great tools & templates on [my GitHub Profile](https://github.com/karmaniverous).
|