@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.
- package/README.md +6 -0
- 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
|
|