@@ -53,6 +53,11 @@ export TWILIO_SERVERLESS_API_RETRY_LIMIT=0
53
53
54
54
<!-- commands -->
55
55
* [ ` twilio serverless:deploy ` ] ( #twilio-serverlessdeploy )
56
+ * [ ` twilio serverless:env:get ` ] ( #twilio-serverlessenvget )
57
+ * [ ` twilio serverless:env:import ` ] ( #twilio-serverlessenvimport )
58
+ * [ ` twilio serverless:env:list ` ] ( #twilio-serverlessenvlist )
59
+ * [ ` twilio serverless:env:set ` ] ( #twilio-serverlessenvset )
60
+ * [ ` twilio serverless:env:unset ` ] ( #twilio-serverlessenvunset )
56
61
* [ ` twilio serverless:init NAME ` ] ( #twilio-serverlessinit-name )
57
62
* [ ` twilio serverless:list [TYPES] ` ] ( #twilio-serverlesslist-types )
58
63
* [ ` twilio serverless:list-templates ` ] ( #twilio-serverlesslist-templates )
@@ -122,7 +127,192 @@ OPTIONS
122
127
--to=to [Alias for "environment"]
123
128
```
124
129
125
- _ See code: [ src/commands/serverless/deploy.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.1.1/src/commands/serverless/deploy.js ) _
130
+ _ See code: [ src/commands/serverless/deploy.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0/src/commands/serverless/deploy.js ) _
131
+
132
+ ## ` twilio serverless:env:get `
133
+
134
+ Retrieves the value of a specific environment variable
135
+
136
+ ```
137
+ Retrieves the value of a specific environment variable
138
+
139
+ USAGE
140
+ $ twilio serverless:env:get
141
+
142
+ OPTIONS
143
+ -c, --config=config Location of the config file. Absolute path or relative to current working directory (cwd)
144
+ -l, --log-level=log-level [default: info] Level of logging messages.
145
+ -p, --profile=profile Shorthand identifier for your profile.
146
+ -u, --username=username A specific API key or account SID to be used for deployment. Uses fields in .env otherwise
147
+ --cwd=cwd Sets the directory of your existing Serverless project. Defaults to current directory
148
+ --env=env Path to .env file for environment variables that should be installed
149
+ --environment=environment [default: dev] The environment name (domain suffix) you want to use for your deployment
150
+ --key=key Name of the environment variable
151
+
152
+ --load-system-env Uses system environment variables as fallback for variables specified in your .env file.
153
+ Needs to be used with --env explicitly specified.
154
+
155
+ --password=password A specific API secret or auth token for deployment. Uses fields from .env otherwise
156
+
157
+ --production Promote build to the production environment (no domain suffix). Overrides environment flag
158
+
159
+ --service-sid=service-sid SID of the Twilio Serverless Service to deploy to
160
+
161
+ --to=to [Alias for "environment"]
162
+ ```
163
+
164
+ _ See code: [ src/commands/serverless/env/get.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0/src/commands/serverless/env/get.js ) _
165
+
166
+ ## ` twilio serverless:env:import `
167
+
168
+ Takes a .env file and uploads all environment variables to a given environment
169
+
170
+ ```
171
+ Takes a .env file and uploads all environment variables to a given environment
172
+
173
+ USAGE
174
+ $ twilio serverless:env:import
175
+
176
+ OPTIONS
177
+ -c, --config=config Location of the config file. Absolute path or relative to current working directory (cwd)
178
+ -l, --log-level=log-level [default: info] Level of logging messages.
179
+ -p, --profile=profile Shorthand identifier for your profile.
180
+ -u, --username=username A specific API key or account SID to be used for deployment. Uses fields in .env otherwise
181
+ --cwd=cwd Sets the directory of your existing Serverless project. Defaults to current directory
182
+ --env=env Path to .env file for environment variables that should be installed
183
+ --environment=environment [default: dev] The environment name (domain suffix) you want to use for your deployment
184
+
185
+ --load-system-env Uses system environment variables as fallback for variables specified in your .env file.
186
+ Needs to be used with --env explicitly specified.
187
+
188
+ --password=password A specific API secret or auth token for deployment. Uses fields from .env otherwise
189
+
190
+ --production Promote build to the production environment (no domain suffix). Overrides environment flag
191
+
192
+ --service-sid=service-sid SID of the Twilio Serverless Service to deploy to
193
+
194
+ --to=to [Alias for "environment"]
195
+ ```
196
+
197
+ _ See code: [ src/commands/serverless/env/import.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0/src/commands/serverless/env/import.js ) _
198
+
199
+ ## ` twilio serverless:env:list `
200
+
201
+ Lists all environment variables for a given environment
202
+
203
+ ```
204
+ Lists all environment variables for a given environment
205
+
206
+ USAGE
207
+ $ twilio serverless:env:list
208
+
209
+ OPTIONS
210
+ -c, --config=config Location of the config file. Absolute path or relative to current working directory
211
+ (cwd)
212
+
213
+ -l, --log-level=log-level [default: info] Level of logging messages.
214
+
215
+ -o, --output-format=output-format Output the log in a different format
216
+
217
+ -p, --profile=profile Shorthand identifier for your profile.
218
+
219
+ -u, --username=username A specific API key or account SID to be used for deployment. Uses fields in .env
220
+ otherwise
221
+
222
+ --cwd=cwd Sets the directory of your existing Serverless project. Defaults to current
223
+ directory
224
+
225
+ --env=env Path to .env file for environment variables that should be installed
226
+
227
+ --environment=environment [default: dev] The environment name (domain suffix) you want to use for your
228
+ deployment
229
+
230
+ --load-system-env Uses system environment variables as fallback for variables specified in your .env
231
+ file. Needs to be used with --env explicitly specified.
232
+
233
+ --password=password A specific API secret or auth token for deployment. Uses fields from .env otherwise
234
+
235
+ --production Promote build to the production environment (no domain suffix). Overrides
236
+ environment flag
237
+
238
+ --service-sid=service-sid SID of the Twilio Serverless Service to deploy to
239
+
240
+ --show-values Show the values of your environment variables
241
+
242
+ --to=to [Alias for "environment"]
243
+ ```
244
+
245
+ _ See code: [ src/commands/serverless/env/list.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0/src/commands/serverless/env/list.js ) _
246
+
247
+ ## ` twilio serverless:env:set `
248
+
249
+ Sets an environment variable with a given key and value
250
+
251
+ ```
252
+ Sets an environment variable with a given key and value
253
+
254
+ USAGE
255
+ $ twilio serverless:env:set
256
+
257
+ OPTIONS
258
+ -c, --config=config Location of the config file. Absolute path or relative to current working directory (cwd)
259
+ -l, --log-level=log-level [default: info] Level of logging messages.
260
+ -p, --profile=profile Shorthand identifier for your profile.
261
+ -u, --username=username A specific API key or account SID to be used for deployment. Uses fields in .env otherwise
262
+ --cwd=cwd Sets the directory of your existing Serverless project. Defaults to current directory
263
+ --env=env Path to .env file for environment variables that should be installed
264
+ --environment=environment [default: dev] The environment name (domain suffix) you want to use for your deployment
265
+ --key=key Name of the environment variable
266
+
267
+ --load-system-env Uses system environment variables as fallback for variables specified in your .env file.
268
+ Needs to be used with --env explicitly specified.
269
+
270
+ --password=password A specific API secret or auth token for deployment. Uses fields from .env otherwise
271
+
272
+ --production Promote build to the production environment (no domain suffix). Overrides environment flag
273
+
274
+ --service-sid=service-sid SID of the Twilio Serverless Service to deploy to
275
+
276
+ --to=to [Alias for "environment"]
277
+
278
+ --value=value Name of the environment variable
279
+ ```
280
+
281
+ _ See code: [ src/commands/serverless/env/set.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0/src/commands/serverless/env/set.js ) _
282
+
283
+ ## ` twilio serverless:env:unset `
284
+
285
+ Removes an environment variable for a given key
286
+
287
+ ```
288
+ Removes an environment variable for a given key
289
+
290
+ USAGE
291
+ $ twilio serverless:env:unset
292
+
293
+ OPTIONS
294
+ -c, --config=config Location of the config file. Absolute path or relative to current working directory (cwd)
295
+ -l, --log-level=log-level [default: info] Level of logging messages.
296
+ -p, --profile=profile Shorthand identifier for your profile.
297
+ -u, --username=username A specific API key or account SID to be used for deployment. Uses fields in .env otherwise
298
+ --cwd=cwd Sets the directory of your existing Serverless project. Defaults to current directory
299
+ --env=env Path to .env file for environment variables that should be installed
300
+ --environment=environment [default: dev] The environment name (domain suffix) you want to use for your deployment
301
+ --key=key Name of the environment variable
302
+
303
+ --load-system-env Uses system environment variables as fallback for variables specified in your .env file.
304
+ Needs to be used with --env explicitly specified.
305
+
306
+ --password=password A specific API secret or auth token for deployment. Uses fields from .env otherwise
307
+
308
+ --production Promote build to the production environment (no domain suffix). Overrides environment flag
309
+
310
+ --service-sid=service-sid SID of the Twilio Serverless Service to deploy to
311
+
312
+ --to=to [Alias for "environment"]
313
+ ```
314
+
315
+ _ See code: [ src/commands/serverless/env/unset.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0/src/commands/serverless/env/unset.js ) _
126
316
127
317
## ` twilio serverless:init NAME `
128
318
@@ -154,7 +344,7 @@ OPTIONS
154
344
--typescript Initialize your Serverless project with TypeScript
155
345
```
156
346
157
- _ See code: [ src/commands/serverless/init.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.1.1 /src/commands/serverless/init.js ) _
347
+ _ See code: [ src/commands/serverless/init.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0 /src/commands/serverless/init.js ) _
158
348
159
349
## ` twilio serverless:list [TYPES] `
160
350
@@ -201,7 +391,7 @@ OPTIONS
201
391
--to=to [Alias for "environment"]
202
392
```
203
393
204
- _ See code: [ src/commands/serverless/list.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.1.1 /src/commands/serverless/list.js ) _
394
+ _ See code: [ src/commands/serverless/list.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0 /src/commands/serverless/list.js ) _
205
395
206
396
## ` twilio serverless:list-templates `
207
397
@@ -220,7 +410,7 @@ OPTIONS
220
410
--env=env Path to .env file for environment variables that should be installed
221
411
```
222
412
223
- _ See code: [ src/commands/serverless/list-templates.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.1.1 /src/commands/serverless/list-templates.js ) _
413
+ _ See code: [ src/commands/serverless/list-templates.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0 /src/commands/serverless/list-templates.js ) _
224
414
225
415
## ` twilio serverless:logs `
226
416
@@ -268,7 +458,7 @@ OPTIONS
268
458
--to=to [Alias for "environment"]
269
459
```
270
460
271
- _ See code: [ src/commands/serverless/logs.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.1.1 /src/commands/serverless/logs.js ) _
461
+ _ See code: [ src/commands/serverless/logs.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0 /src/commands/serverless/logs.js ) _
272
462
273
463
## ` twilio serverless:new [NAMESPACE] `
274
464
@@ -291,7 +481,7 @@ OPTIONS
291
481
--template=template
292
482
```
293
483
294
- _ See code: [ src/commands/serverless/new.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.1.1 /src/commands/serverless/new.js ) _
484
+ _ See code: [ src/commands/serverless/new.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0 /src/commands/serverless/new.js ) _
295
485
296
486
## ` twilio serverless:promote `
297
487
@@ -351,7 +541,7 @@ ALIASES
351
541
$ twilio serverless:activate
352
542
```
353
543
354
- _ See code: [ src/commands/serverless/promote.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.1.1 /src/commands/serverless/promote.js ) _
544
+ _ See code: [ src/commands/serverless/promote.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0 /src/commands/serverless/promote.js ) _
355
545
356
546
## ` twilio serverless:start [DIR] `
357
547
@@ -407,7 +597,7 @@ ALIASES
407
597
$ twilio serverless:run
408
598
```
409
599
410
- _ See code: [ src/commands/serverless/start.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.1.1 /src/commands/serverless/start.js ) _
600
+ _ See code: [ src/commands/serverless/start.js] ( https://github.com/twilio-labs/serverless-toolkit/blob/v2.2.0 /src/commands/serverless/start.js ) _
411
601
<!-- commandsstop -->
412
602
413
603
## Contributing
0 commit comments