@webbies.dev/dotenvify 0.3.12 → 0.3.13
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 +17 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,9 +24,11 @@ After doing this manually one too many times, I rage-coded this tool. You're wel
|
|
|
24
24
|
## 🚀 Installation
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @webbies.dev/dotenvify
|
|
27
|
+
npm install -g "@webbies.dev/dotenvify"
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
+
**Windows PowerShell users:** If you get an execution policy error when running the tool, use Command Prompt (cmd.exe) instead, or run `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser` in PowerShell as Administrator.
|
|
31
|
+
|
|
30
32
|
<details>
|
|
31
33
|
<summary>📦 Alternative Methods</summary>
|
|
32
34
|
|
|
@@ -52,7 +54,7 @@ dotenvify -update
|
|
|
52
54
|
|
|
53
55
|
### Via npm
|
|
54
56
|
```bash
|
|
55
|
-
npm update -g @webbies.dev/dotenvify
|
|
57
|
+
npm update -g "@webbies.dev/dotenvify"
|
|
56
58
|
```
|
|
57
59
|
|
|
58
60
|
The self-update feature automatically downloads and installs the latest release from GitHub, making it easy to stay current regardless of how you installed dotenvify.
|
|
@@ -83,15 +85,25 @@ dotenvify -nl your-vars.txt
|
|
|
83
85
|
|
|
84
86
|
Fetch variables directly from Azure DevOps variable groups:
|
|
85
87
|
|
|
88
|
+
#### Step 1: Login to Azure CLI
|
|
86
89
|
```bash
|
|
87
|
-
# Login to Azure CLI first
|
|
88
90
|
az login
|
|
91
|
+
```
|
|
89
92
|
|
|
90
|
-
|
|
93
|
+
#### Step 2: Fetch variables
|
|
94
|
+
|
|
95
|
+
**Option A: Using default organization (recommended)**
|
|
96
|
+
```bash
|
|
97
|
+
# Set default organization (run once)
|
|
91
98
|
export DOTENVIFY_DEFAULT_ORG_URL="https://dev.azure.com/your-org/your-project"
|
|
99
|
+
```
|
|
100
|
+
```bash
|
|
101
|
+
# Fetch variables from a group
|
|
92
102
|
dotenvify -azure -group "your-variable-group"
|
|
103
|
+
```
|
|
93
104
|
|
|
94
|
-
|
|
105
|
+
**Option B: Specify organization directly**
|
|
106
|
+
```bash
|
|
95
107
|
dotenvify -azure -url "https://dev.azure.com/your-org/your-project" -group "your-variable-group"
|
|
96
108
|
```
|
|
97
109
|
|