@@ -102,7 +102,7 @@ OPTIONS
102102 domain suffix). Overrides the value passed via the environment flag.
103103```
104104
105- _ See code: [ src/commands/serverless/deploy.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.6 .0/src/commands/serverless/deploy.js ) _
105+ _ See code: [ src/commands/serverless/deploy.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7 .0/src/commands/serverless/deploy.js ) _
106106
107107## ` twilio serverless:init NAME `
108108
@@ -119,6 +119,7 @@ OPTIONS
119119 -a, --account-sid=account-sid The Account SID for your Twilio account
120120 -p, --profile=profile Shorthand identifier for your profile.
121121 -t, --auth-token=auth-token Your Twilio account Auth Token
122+ --empty Initialize your new project with empty functions and assets directories
122123
123124 --import-credentials Import credentials from the environment variables TWILIO_ACCOUNT_SID and
124125 TWILIO_AUTH_TOKEN
@@ -129,7 +130,7 @@ OPTIONS
129130 github.com/twilio-labs/function-templates
130131```
131132
132- _ See code: [ src/commands/serverless/init.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.6 .0/src/commands/serverless/init.js ) _
133+ _ See code: [ src/commands/serverless/init.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7 .0/src/commands/serverless/init.js ) _
133134
134135## ` twilio serverless:list [TYPES] `
135136
@@ -166,7 +167,7 @@ OPTIONS
166167 --service-sid=service-sid Specific Serverless Service SID to run list for
167168```
168169
169- _ See code: [ src/commands/serverless/list.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.6 .0/src/commands/serverless/list.js ) _
170+ _ See code: [ src/commands/serverless/list.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7 .0/src/commands/serverless/list.js ) _
170171
171172## ` twilio serverless:list-templates `
172173
@@ -180,7 +181,7 @@ OPTIONS
180181 -l, --logLevel=logLevel [default: info] Level of logging messages.
181182```
182183
183- _ See code: [ src/commands/serverless/list-templates.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.6 .0/src/commands/serverless/list-templates.js ) _
184+ _ See code: [ src/commands/serverless/list-templates.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7 .0/src/commands/serverless/list-templates.js ) _
184185
185186## ` twilio serverless:logs `
186187
@@ -218,7 +219,7 @@ OPTIONS
218219 --tail Continuously stream the logs
219220```
220221
221- _ See code: [ src/commands/serverless/logs.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.6 .0/src/commands/serverless/logs.js ) _
222+ _ See code: [ src/commands/serverless/logs.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7 .0/src/commands/serverless/logs.js ) _
222223
223224## ` twilio serverless:new [NAMESPACE] `
224225
@@ -236,7 +237,7 @@ OPTIONS
236237 --template=template
237238```
238239
239- _ See code: [ src/commands/serverless/new.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.6 .0/src/commands/serverless/new.js ) _
240+ _ See code: [ src/commands/serverless/new.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7 .0/src/commands/serverless/new.js ) _
240241
241242## ` twilio serverless:promote `
242243
@@ -283,7 +284,7 @@ ALIASES
283284 $ twilio serverless:activate
284285```
285286
286- _ See code: [ src/commands/serverless/promote.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.6 .0/src/commands/serverless/promote.js ) _
287+ _ See code: [ src/commands/serverless/promote.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7 .0/src/commands/serverless/promote.js ) _
287288
288289## ` twilio serverless:start [DIR] `
289290
@@ -297,40 +298,44 @@ ARGUMENTS
297298 DIR Root directory to serve local Functions/Assets from
298299
299300OPTIONS
300- -c, --config=config [default: .twilio-functions] Location of the config file. Absolute path or relative to
301- current working directory (cwd)
301+ -c, --config=config [default: .twilio-functions] Location of the config file. Absolute path or
302+ relative to current working directory (cwd)
302303
303- -e, --env=env Loads .env file, overrides local env variables
304+ -e, --env=env Loads .env file, overrides local env variables
304305
305- -f, --load-local-env Includes the local environment variables
306+ -f, --load-local-env Includes the local environment variables
306307
307- -l, --logLevel=logLevel [default: info] Level of logging messages.
308+ -l, --logLevel=logLevel [default: info] Level of logging messages.
308309
309- -p, --port=port (required) [default: 3000] Override default port of 3000
310+ -p, --port=port (required) [default: 3000] Override default port of 3000
310311
311- --cwd=cwd Alternative way to define the directory to start the server in. Overrides the [dir]
312- argument passed.
312+ --assets-folder=assets-folder Specific folder name to be used for static assets
313313
314- --detailed-logs Toggles detailed request logging by showing request body and query params
314+ --cwd=cwd Alternative way to define the directory to start the server in. Overrides the
315+ [dir] argument passed.
316+
317+ --detailed-logs Toggles detailed request logging by showing request body and query params
318+
319+ --functions-folder=functions-folder Specific folder name to be used for static functions
315320
316- --inspect=inspect Enables Node.js debugging protocol
321+ --inspect=inspect Enables Node.js debugging protocol
317322
318- --inspect-brk=inspect-brk Enables Node.js debugging protocol, stops executioin until debugger is attached
323+ --inspect-brk=inspect-brk Enables Node.js debugging protocol, stops executioin until debugger is attached
319324
320- --legacy-mode Enables legacy mode, it will prefix your asset paths with /assets
325+ --legacy-mode Enables legacy mode, it will prefix your asset paths with /assets
321326
322- --[no-]live Always serve from the current functions (no caching)
327+ --[no-]live Always serve from the current functions (no caching)
323328
324- --[no-]logs Toggles request logging
329+ --[no-]logs Toggles request logging
325330
326- --ngrok=ngrok Uses ngrok to create and outfacing url
331+ --ngrok=ngrok Uses ngrok to create and outfacing url
327332
328333ALIASES
329334 $ twilio serverless:dev
330335 $ twilio serverless:run
331336```
332337
333- _ See code: [ src/commands/serverless/start.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.6 .0/src/commands/serverless/start.js ) _
338+ _ See code: [ src/commands/serverless/start.js] ( https://github.com/twilio-labs/plugin-serverless/blob/v1.7 .0/src/commands/serverless/start.js ) _
334339<!-- commandsstop -->
335340
336341# Contributing
0 commit comments