@webbies.dev/dotenvify 0.3.7 โ†’ 0.3.8

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 +6 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -71,6 +71,10 @@ dotenvify your-vars.txt custom-output.env
71
71
  # Overwrite existing .env without backup
72
72
  dotenvify -f your-vars.txt
73
73
 
74
+ # Preserve specific variables (keep their existing values)
75
+ # Note: Flags must come before file arguments
76
+ dotenvify -preserve "DATABASE_URL,API_KEY" your-vars.txt
77
+
74
78
  # Ignore variables with lowercase keys
75
79
  dotenvify -nl your-vars.txt
76
80
  ```
@@ -93,6 +97,7 @@ dotenvify -azure -url "https://dev.azure.com/your-org/your-project" -group "your
93
97
 
94
98
  **Options:**
95
99
  - `-out file.env` - Custom output file
100
+ - `-preserve "VAR1,VAR2"` or `-k` - Keep existing values for specified variables
96
101
  - `-nl` - Ignore lowercase variables
97
102
  - `-export` - Add 'export' prefix
98
103
  - `-urls` - Only URL values
@@ -117,6 +122,7 @@ Just make sure you're logged in with `az login` before running the tool.
117
122
  - ๐Ÿงน **Smart**: Auto-detects input formats
118
123
  - ๐Ÿ”ค **Flexible**: Multiple output options
119
124
  - ๐Ÿ’พ **Safe**: Auto-backup with incremental counters
125
+ - ๐Ÿ›ก๏ธ **Preserve**: Keep existing values for specific variables
120
126
  - ๐Ÿ“ฆ **Easy Install**: npm
121
127
  - ๐Ÿ”„ **Self-Updating**: Built-in update mechanism
122
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webbies.dev/dotenvify",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "A utility to convert environment variables from various sources into different formats",
5
5
  "bin": {
6
6
  "dotenvify": "./bin/dotenvify"