env-creator 1.2.1 → 1.2.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 +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,6 +52,14 @@ env-creator create
|
|
|
52
52
|
|
|
53
53
|
`env-creator` (also available as `env`) provides several commands (along with their short aliases, e.g. `c` for `create`) to help you quickly set up or split your environment files.
|
|
54
54
|
|
|
55
|
+
**Commands:**
|
|
56
|
+
- [1. Create an empty or pre-filled `.env` file](#1-create-an-empty-or-pre-filled-env-file-alias-c)
|
|
57
|
+
- [2. Create from JSON](#2-create-from-json-alias-cfj)
|
|
58
|
+
- [3. Split `.env` for specific environments](#3-split-env-for-specific-environments-alias-s)
|
|
59
|
+
- [4. Delete an `.env` file](#4-delete-an-env-file-alias-d)
|
|
60
|
+
- [5. Sort `.env` keys alphabetically](#5-sort-env-keys-alphabetically-alias-srt)
|
|
61
|
+
- [6. Generate environment constants](#6-generate-environment-constants-alias-gc)
|
|
62
|
+
|
|
55
63
|
### 1. Create an empty or pre-filled `.env` file (alias: `c`)
|
|
56
64
|
|
|
57
65
|
Generates a `.env` file in the current working directory. You can optionally pass `KEY=VALUE` pairs to pre-fill it. If a file already exists, it will not overwrite it.
|