@dotenc/cli 0.3.2 → 0.3.3
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 +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -82,10 +82,15 @@ To export a key from your machine, use the `key export` command:
|
|
|
82
82
|
dotenc key export <environment>
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
+
To rotate a key, use the `key rotate` command:
|
|
86
|
+
```bash
|
|
87
|
+
dotenc key rotate <environment>
|
|
88
|
+
```
|
|
89
|
+
|
|
85
90
|
## Use Cases
|
|
86
91
|
|
|
87
92
|
For convenience, you can setup your `package.json` file like this:
|
|
88
|
-
```
|
|
93
|
+
```jsonc
|
|
89
94
|
// ...
|
|
90
95
|
"scripts": {
|
|
91
96
|
"dev": "dotenc run -e development tsx src/app.ts",
|