@@ -8,11 +8,7 @@ This plugin adds functionality to the [Twilio CLI](https://github.com/twilio/twi
88debug and deploy to Twilio Serverless. It's a part of the [ Serverless Toolkit] ( https://github.com/twilio-labs/serverless-toolkit ) and wraps [ twilio-run] ( https://github.com/twilio-labs/twilio-run ) and [ create-twilio-function] ( https://github.com/philnash/create-twilio-function ) .
99
1010<!-- toc -->
11- * [ Requirements] ( #requirements )
12- * [ Usage] ( #usage )
13- * [ Commands] ( #commands )
14- * [ Contributing] ( #contributing )
15- * [ License] ( #license )
11+
1612<!-- tocstop -->
1713
1814## Requirements
@@ -65,7 +61,7 @@ export TWILIO_SERVERLESS_API_RETRY_LIMIT=0
6561* [ ` twilio serverless:promote ` ] ( #twilio-serverlesspromote )
6662* [ ` twilio serverless:start [DIR] ` ] ( #twilio-serverlessstart-dir )
6763
68- ### ` twilio serverless:deploy `
64+ ## ` twilio serverless:deploy `
6965
7066Deploys existing functions and assets to Twilio
7167
@@ -106,16 +102,19 @@ OPTIONS
106102
107103 --functions-folder=functions-folder Specific folder name to be used for static functions
108104
105+ --load-system-env Uses system environment variables as fallback for variables specified in your
106+ .env file. Needs to be used with --env explicitly specified.
107+
109108 --override-existing-project Deploys Serverless project to existing service if a naming conflict has been
110109 found.
111110
112111 --production Please prefer the "activate" command! Deploys to the production environment (no
113112 domain suffix). Overrides the value passed via the environment flag.
114113```
115114
116- _ See code: [ src/commands/serverless/deploy.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7.1 /src/commands/serverless/deploy.js ) _
115+ _ See code: [ src/commands/serverless/deploy.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.8.0 /src/commands/serverless/deploy.js ) _
117116
118- ### ` twilio serverless:init NAME `
117+ ## ` twilio serverless:init NAME `
119118
120119Creates a new Twilio Function project
121120
@@ -143,9 +142,9 @@ OPTIONS
143142 --typescript Initialize your Serverless project with TypeScript
144143```
145144
146- _ See code: [ src/commands/serverless/init.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7.1 /src/commands/serverless/init.js ) _
145+ _ See code: [ src/commands/serverless/init.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.8.0 /src/commands/serverless/init.js ) _
147146
148- ### ` twilio serverless:list [TYPES] `
147+ ## ` twilio serverless:list [TYPES] `
149148
150149List existing services, environments, variables, deployments for your Twilio Serverless Account
151150
@@ -177,12 +176,15 @@ OPTIONS
177176
178177 --extended-output Show an extended set of properties on the output
179178
179+ --load-system-env Uses system environment variables as fallback for variables specified in your .env
180+ file. Needs to be used with --env explicitly specified.
181+
180182 --service-sid=service-sid Specific Serverless Service SID to run list for
181183```
182184
183- _ See code: [ src/commands/serverless/list.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7.1 /src/commands/serverless/list.js ) _
185+ _ See code: [ src/commands/serverless/list.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.8.0 /src/commands/serverless/list.js ) _
184186
185- ### ` twilio serverless:list-templates `
187+ ## ` twilio serverless:list-templates `
186188
187189Lists the available Twilio Function templates
188190
@@ -194,9 +196,9 @@ OPTIONS
194196 -l, --logLevel=logLevel [default: info] Level of logging messages.
195197```
196198
197- _ See code: [ src/commands/serverless/list-templates.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7.1 /src/commands/serverless/list-templates.js ) _
199+ _ See code: [ src/commands/serverless/list-templates.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.8.0 /src/commands/serverless/list-templates.js ) _
198200
199- ### ` twilio serverless:logs `
201+ ## ` twilio serverless:logs `
200202
201203Print logs from your Twilio Serverless project
202204
@@ -227,14 +229,17 @@ OPTIONS
227229
228230 --function-sid=function-sid Specific Function SID to retrieve logs for
229231
232+ --load-system-env Uses system environment variables as fallback for variables specified in your .env
233+ file. Needs to be used with --env explicitly specified.
234+
230235 --service-sid=service-sid Specific Serverless Service SID to retrieve logs for
231236
232237 --tail Continuously stream the logs
233238```
234239
235- _ See code: [ src/commands/serverless/logs.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7.1 /src/commands/serverless/logs.js ) _
240+ _ See code: [ src/commands/serverless/logs.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.8.0 /src/commands/serverless/logs.js ) _
236241
237- ### ` twilio serverless:new [NAMESPACE] `
242+ ## ` twilio serverless:new [NAMESPACE] `
238243
239244Creates a new Twilio Function based on an existing template
240245
@@ -250,9 +255,9 @@ OPTIONS
250255 --template=template
251256```
252257
253- _ See code: [ src/commands/serverless/new.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7.1 /src/commands/serverless/new.js ) _
258+ _ See code: [ src/commands/serverless/new.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.8.0 /src/commands/serverless/new.js ) _
254259
255- ### ` twilio serverless:promote `
260+ ## ` twilio serverless:promote `
256261
257262Promotes an existing deployment to a new environment
258263
@@ -288,6 +293,9 @@ OPTIONS
288293
289294 --force Will run deployment in force mode. Can be dangerous.
290295
296+ --load-system-env Uses system environment variables as fallback for variables specified in
297+ your .env file. Needs to be used with --env explicitly specified.
298+
291299 --production Promote build to the production environment (no domain suffix). Overrides
292300 environment flag
293301
@@ -297,9 +305,9 @@ ALIASES
297305 $ twilio serverless:activate
298306```
299307
300- _ See code: [ src/commands/serverless/promote.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7.1 /src/commands/serverless/promote.js ) _
308+ _ See code: [ src/commands/serverless/promote.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.8.0 /src/commands/serverless/promote.js ) _
301309
302- ### ` twilio serverless:start [DIR] `
310+ ## ` twilio serverless:start [DIR] `
303311
304312Starts local Twilio Functions development server
305313
@@ -329,6 +337,8 @@ OPTIONS
329337
330338 --detailed-logs Toggles detailed request logging by showing request body and query params
331339
340+ --experimental-fork-process Enable forking function processes to emulate production environment
341+
332342 --functions-folder=functions-folder Specific folder name to be used for static functions
333343
334344 --inspect=inspect Enables Node.js debugging protocol
@@ -348,7 +358,7 @@ ALIASES
348358 $ twilio serverless:run
349359```
350360
351- _ See code: [ src/commands/serverless/start.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7.1 /src/commands/serverless/start.js ) _
361+ _ See code: [ src/commands/serverless/start.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.8.0 /src/commands/serverless/start.js ) _
352362<!-- commandsstop -->
353363
354364## Contributing
0 commit comments