@dotenc/cli 0.3.2 → 0.3.4

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.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -68,7 +68,7 @@ You can also specify multiple environments:
68
68
  dotenc run -e base,production node app.js
69
69
  ```
70
70
 
71
- In the example above, `production` will override any variables also present in `global`.
71
+ In the example above, `production` will override any variables also present in `base`.
72
72
 
73
73
  ### Key management
74
74
 
@@ -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
- ```json
93
+ ```jsonc
89
94
  // ...
90
95
  "scripts": {
91
96
  "dev": "dotenc run -e development tsx src/app.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotenc/cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "🔐 Secure, encrypted environment variables that live in your codebase",
5
5
  "author": "Ivan Filho <i@ivanfilho.com>",
6
6
  "license": "MIT",