Skip to content

Commit 1703f39

Browse files
committed
chore(release): 1.8.0
1 parent f2a5c24 commit 1703f39

File tree

2 files changed

+32
-22
lines changed

2 files changed

+32
-22
lines changed

packages/plugin-serverless/README.md

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ This plugin adds functionality to the [Twilio CLI](https://github.com/twilio/twi
88
debug 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

7066
Deploys 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

120119
Creates 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

150149
List 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

187189
Lists 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

201203
Print 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

239244
Creates 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

257262
Promotes 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

304312
Starts 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

packages/plugin-serverless/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@twilio-labs/plugin-serverless",
33
"description": "Develop and deploy Twilio Serverless Functions",
4-
"version": "1.7.1",
4+
"version": "1.8.0",
55
"author": "Dominik Kundel <dkundel@twilio.com>",
66
"bugs": "https://github.com/twilio-labs/plugin-serverless/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)