@karmaniverous/get-dotenv 5.2.4 → 5.2.6
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 +5 -5
- package/dist/cliHost.cjs +678 -271
- package/dist/cliHost.d.cts +124 -60
- package/dist/cliHost.d.mts +124 -60
- package/dist/cliHost.d.ts +124 -60
- package/dist/cliHost.mjs +679 -272
- package/dist/getdotenv.cli.mjs +647 -631
- package/dist/index.cjs +694 -678
- package/dist/index.d.cts +18 -39
- package/dist/index.d.mts +18 -39
- package/dist/index.d.ts +18 -39
- package/dist/index.mjs +695 -679
- package/dist/plugins-aws.d.cts +8 -8
- package/dist/plugins-aws.d.mts +8 -8
- package/dist/plugins-aws.d.ts +8 -8
- package/dist/plugins-batch.d.cts +8 -8
- package/dist/plugins-batch.d.mts +8 -8
- package/dist/plugins-batch.d.ts +8 -8
- package/dist/plugins-cmd.cjs +159 -1551
- package/dist/plugins-cmd.d.cts +8 -8
- package/dist/plugins-cmd.d.mts +8 -8
- package/dist/plugins-cmd.d.ts +8 -8
- package/dist/plugins-cmd.mjs +160 -1551
- package/dist/plugins-demo.d.cts +8 -8
- package/dist/plugins-demo.d.mts +8 -8
- package/dist/plugins-demo.d.ts +8 -8
- package/dist/plugins-init.d.cts +8 -8
- package/dist/plugins-init.d.mts +8 -8
- package/dist/plugins-init.d.ts +8 -8
- package/dist/plugins.cjs +156 -1547
- package/dist/plugins.d.cts +8 -8
- package/dist/plugins.d.mts +8 -8
- package/dist/plugins.d.ts +8 -8
- package/dist/plugins.mjs +158 -1548
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,11 +12,11 @@ Load environment variables with a cascade of environment-aware dotenv files. You
|
|
|
12
12
|
|
|
13
13
|
✅ Asynchronously load environment variables from multiple dotenv files.
|
|
14
14
|
|
|
15
|
-
✅ Segregate variables
|
|
15
|
+
✅ Segregate variables into distinct files:
|
|
16
16
|
|
|
17
|
-
- Public files (e.g. `.env`,
|
|
18
|
-
- Private files (e.g. `.env.local`,
|
|
19
|
-
- Global files (e.g. `.env`,
|
|
17
|
+
- Public files (e.g. `.env`, `.env.dev`, `.env.test`) are synced with your git repository.
|
|
18
|
+
- Private files (e.g. `.env.local`, `.env.dev.local`, `.env.test.local`) are protected by `.gitignore`.
|
|
19
|
+
- Global files (e.g. `.env`, `.env.local`) apply to all environments.
|
|
20
20
|
- Env files (e.g. `.env.dev`, `.env.dev.local`, `.env.test`, `.env.test.local`) apply to a specific environment.
|
|
21
21
|
- [Dynamic files](#dynamic-processing) (`.env.js`) export logic that dynamically & progressively generates new variables or overrides current ones.
|
|
22
22
|
|
|
@@ -278,7 +278,7 @@ You can also use `getdotenv` from the command line:
|
|
|
278
278
|
#
|
|
279
279
|
# Commands:
|
|
280
280
|
# batch [options] Batch shell commands across multiple working directories.
|
|
281
|
-
# cmd
|
|
281
|
+
# cmd Execute command according to the --shell option, conflicts with --command option (default command)
|
|
282
282
|
# help [command] display help for command
|
|
283
283
|
```
|
|
284
284
|
|