edgeone 1.2.17 → 1.2.18
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 +21 -0
- package/edgeone-dist/cli.js +373 -374
- package/edgeone-dist/pages/dev/runner-worker.js +279 -266
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -181,6 +181,27 @@ For more information, please refer to https://pages.edgeone.ai/document/api-toke
|
|
|
181
181
|
|
|
182
182
|
<br/>
|
|
183
183
|
|
|
184
|
+
## 4. Environment Vars Management
|
|
185
|
+
```
|
|
186
|
+
// List all environment variables configured in the console
|
|
187
|
+
edgeone pages env ls
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
// Pull environment variables from the console to a local file
|
|
191
|
+
edgeone pages env pull
|
|
192
|
+
// Specify a local file when pulling environment variables
|
|
193
|
+
edgeone pages env pull -f .env.prod
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
// Add a new environment variable
|
|
197
|
+
edgeone pages env add ENV_VAR_KEY env_var_value
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
// Delete an environment variable
|
|
201
|
+
edgeone pages env rm ENV_VAR_KEY
|
|
202
|
+
|
|
203
|
+
```
|
|
204
|
+
|
|
184
205
|
## References
|
|
185
206
|
|
|
186
207
|
[Pages Introduction](https://pages.edgeone.ai/document/product-introduction) | [Pages Functions](https://pages.edgeone.ai/document/pages-functions-overview)
|