Skip to content

Commit 0094c66

Browse files
author
SF-CLI-BOT
committed
chore(release): 0.2.6 [ci skip]
1 parent 4f3b107 commit 0094c66

File tree

3 files changed

+63
-44
lines changed

3 files changed

+63
-44
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [0.2.6](https://github.com/salesforcecli/plugin-functions/compare/v0.2.5...v0.2.6) (2021-06-22)
6+
57
### [0.2.5](https://github.com/salesforcecli/plugin-functions/compare/v0.2.4...v0.2.5) (2021-06-21)
68

79
### [0.2.4](https://github.com/salesforcecli/plugin-functions/compare/v0.2.3...v0.2.4) (2021-06-16)
810

9-
1011
### Bug Fixes
1112

12-
* update run:function flags to match PRD ([#88](https://github.com/salesforcecli/plugin-functions/issues/88)) ([5fc61b5](https://github.com/salesforcecli/plugin-functions/commit/5fc61b5e5786c316a8957849b7aa829bd886570b))
13+
- update run:function flags to match PRD ([#88](https://github.com/salesforcecli/plugin-functions/issues/88)) ([5fc61b5](https://github.com/salesforcecli/plugin-functions/commit/5fc61b5e5786c316a8957849b7aa829bd886570b))
1314

1415
### [0.2.3](https://github.com/salesforcecli/plugin-functions/compare/v0.2.2...v0.2.3) (2021-06-10)
1516

16-
1717
### Bug Fixes
1818

19-
* force upsert results to always be an array ([#86](https://github.com/salesforcecli/plugin-functions/issues/86)) ([5e2ba4e](https://github.com/salesforcecli/plugin-functions/commit/5e2ba4e8329d3f476162346e814bc84fb55a306f))
19+
- force upsert results to always be an array ([#86](https://github.com/salesforcecli/plugin-functions/issues/86)) ([5e2ba4e](https://github.com/salesforcecli/plugin-functions/commit/5e2ba4e8329d3f476162346e814bc84fb55a306f))
2020

2121
### [0.2.2](https://github.com/salesforcecli/plugin-functions/compare/v0.2.1...v0.2.2) (2021-06-09)
2222

README.md

Lines changed: 58 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ Functions plugin for the SF CLI
66
[![NPM](https://img.shields.io/npm/v/@salesforce/plugin-functions.svg?label=@salesforce/functions)](https://www.npmjs.com/package/@salesforce/functions) [![CircleCI](https://circleci.com/gh/salesforcecli/plugin-functions/tree/main.svg?style=shield)](https://circleci.com/gh/salesforcecli/plugin-functions/tree/main) [![Downloads/week](https://img.shields.io/npm/dw/@salesforce/plugin-functions.svg)](https://npmjs.org/package/@salesforce/plugin-functions) [![License](https://img.shields.io/badge/License-BSD%203--Clause-brightgreen.svg)](https://raw.githubusercontent.com/salesforcecli/plugin-functions/main/LICENSE.txt)
77

88
<!-- toc -->
9-
* [plugin-functions](#plugin-functions)
10-
* [Usage](#usage)
11-
* [Commands](#commands)
9+
10+
- [plugin-functions](#plugin-functions)
11+
- [Usage](#usage)
12+
- [Commands](#commands)
1213
<!-- tocstop -->
1314

1415
# Usage
@@ -26,24 +27,25 @@ Now you should be able to run functions commands, e.g. `sfdx env:list`, `sfdx lo
2627
# Commands
2728

2829
<!-- commands -->
29-
* [`sf env:create:compute`](#sf-envcreatecompute)
30-
* [`sf env:delete`](#sf-envdelete)
31-
* [`sf env:display`](#sf-envdisplay)
32-
* [`sf env:list`](#sf-envlist)
33-
* [`sf env:log:tail`](#sf-envlogtail)
34-
* [`sf env:logdrain:add`](#sf-envlogdrainadd)
35-
* [`sf env:logdrain:list`](#sf-envlogdrainlist)
36-
* [`sf env:logdrain:remove`](#sf-envlogdrainremove)
37-
* [`sf env:var:get KEY`](#sf-envvarget-key)
38-
* [`sf env:var:list`](#sf-envvarlist)
39-
* [`sf env:var:set`](#sf-envvarset)
40-
* [`sf env:var:unset`](#sf-envvarunset)
41-
* [`sf generate:function`](#sf-generatefunction)
42-
* [`sf generate:project`](#sf-generateproject)
43-
* [`sf login:functions`](#sf-loginfunctions)
44-
* [`sf project:deploy:functions`](#sf-projectdeployfunctions)
45-
* [`sf run:function`](#sf-runfunction)
46-
* [`sf run:function:start`](#sf-runfunctionstart)
30+
31+
- [`sf env:create:compute`](#sf-envcreatecompute)
32+
- [`sf env:delete`](#sf-envdelete)
33+
- [`sf env:display`](#sf-envdisplay)
34+
- [`sf env:list`](#sf-envlist)
35+
- [`sf env:log:tail`](#sf-envlogtail)
36+
- [`sf env:logdrain:add`](#sf-envlogdrainadd)
37+
- [`sf env:logdrain:list`](#sf-envlogdrainlist)
38+
- [`sf env:logdrain:remove`](#sf-envlogdrainremove)
39+
- [`sf env:var:get KEY`](#sf-envvarget-key)
40+
- [`sf env:var:list`](#sf-envvarlist)
41+
- [`sf env:var:set`](#sf-envvarset)
42+
- [`sf env:var:unset`](#sf-envvarunset)
43+
- [`sf generate:function`](#sf-generatefunction)
44+
- [`sf generate:project`](#sf-generateproject)
45+
- [`sf login:functions`](#sf-loginfunctions)
46+
- [`sf project:deploy:functions`](#sf-projectdeployfunctions)
47+
- [`sf run:function`](#sf-runfunction)
48+
- [`sf run:function:start`](#sf-runfunctionstart)
4749

4850
## `sf env:create:compute`
4951

@@ -56,14 +58,15 @@ USAGE
5658
OPTIONS
5759
-a, --setalias=setalias alias for the created environment
5860
-o, --connected-org=connected-org username or alias for the org that the compute environment should be connected to
61+
--json format output as json
5962
6063
EXAMPLES
6164
$ sfdx env:create:compute
6265
$ sfdx env:create:compute --setalias my-compute-environment
6366
$ sfdx env:create:compute --connected-org my-scratch-org
6467
```
6568

66-
_See code: [src/commands/env/create/compute.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/create/compute.ts)_
69+
_See code: [src/commands/env/create/compute.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/create/compute.ts)_
6770

6871
## `sf env:delete`
6972

@@ -76,13 +79,14 @@ USAGE
7679
OPTIONS
7780
-c, --confirm=name confirmation name
7881
-e, --environment=environment (required) environment name
82+
--json format output as json
7983
8084
EXAMPLES
8185
$ sfdx env:delete --environment=billingApp-Scratch1
8286
$ sfdx env:delete --environment=billingApp-Scratch1 --confirm=billingApp-Scratch1
8387
```
8488

85-
_See code: [src/commands/env/delete.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/delete.ts)_
89+
_See code: [src/commands/env/delete.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/delete.ts)_
8690

8791
## `sf env:display`
8892

@@ -94,13 +98,14 @@ USAGE
9498
9599
OPTIONS
96100
-e, --environment=environment (required) environment name
101+
--json format output as json
97102
--verbose verbose display output
98103
99104
EXAMPLE
100105
$ sfdx env:display --environment=billingApp-Scratch1
101106
```
102107

103-
_See code: [src/commands/env/display.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/display.ts)_
108+
_See code: [src/commands/env/display.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/display.ts)_
104109

105110
## `sf env:list`
106111

@@ -123,7 +128,7 @@ EXAMPLES
123128
$ sfdx env:list --environment-type org --environment-type compute
124129
```
125130

126-
_See code: [src/commands/env/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/list.ts)_
131+
_See code: [src/commands/env/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/list.ts)_
127132

128133
## `sf env:log:tail`
129134

@@ -135,12 +140,13 @@ USAGE
135140
136141
OPTIONS
137142
-e, --environment=environment (required) environment name to retrieve logs
143+
--json format output as json
138144
139145
EXAMPLE
140146
sfdx env:log:tail --environment=billingApp-Scratch1
141147
```
142148

143-
_See code: [src/commands/env/log/tail.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/log/tail.ts)_
149+
_See code: [src/commands/env/log/tail.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/log/tail.ts)_
144150

145151
## `sf env:logdrain:add`
146152

@@ -153,12 +159,13 @@ USAGE
153159
OPTIONS
154160
-e, --environment=environment (required) environment name
155161
-u, --url=url (required) endpoint that will receive sent logs
162+
--json format output as json
156163
157164
EXAMPLE
158165
$ sfdx env:logdrain:add --environment=billingApp-Sandbox --url=https://example.com/drain
159166
```
160167

161-
_See code: [src/commands/env/logdrain/add.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/logdrain/add.ts)_
168+
_See code: [src/commands/env/logdrain/add.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/logdrain/add.ts)_
162169

163170
## `sf env:logdrain:list`
164171

@@ -176,7 +183,7 @@ EXAMPLE
176183
$ sfdx env:logdrain:list --environment=billingApp-Sandbox
177184
```
178185

179-
_See code: [src/commands/env/logdrain/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/logdrain/list.ts)_
186+
_See code: [src/commands/env/logdrain/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/logdrain/list.ts)_
180187

181188
## `sf env:logdrain:remove`
182189

@@ -189,12 +196,13 @@ USAGE
189196
OPTIONS
190197
-e, --environment=environment (required) environment name
191198
-u, --url=url (required) logdrain url to remove
199+
--json format output as json
192200
193201
EXAMPLE
194202
$ sfdx env:logdrain:remove --environment=billingApp-Sandbox --url=syslog://syslog-a.logdna.com:11137
195203
```
196204

197-
_See code: [src/commands/env/logdrain/remove.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/logdrain/remove.ts)_
205+
_See code: [src/commands/env/logdrain/remove.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/logdrain/remove.ts)_
198206

199207
## `sf env:var:get KEY`
200208

@@ -206,12 +214,13 @@ USAGE
206214
207215
OPTIONS
208216
-e, --environment=environment (required) environment name
217+
--json format output as json
209218
210219
EXAMPLE
211220
$ sfdx env:var:get foo --environment=my-environment
212221
```
213222

214-
_See code: [src/commands/env/var/get.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/var/get.ts)_
223+
_See code: [src/commands/env/var/get.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/var/get.ts)_
215224

216225
## `sf env:var:list`
217226

@@ -223,12 +232,13 @@ USAGE
223232
224233
OPTIONS
225234
-e, --environment=environment (required) environment name
235+
--json format output as json
226236
227237
EXAMPLE
228238
$ sfdx env:var:list --environment=my-environment
229239
```
230240

231-
_See code: [src/commands/env/var/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/var/list.ts)_
241+
_See code: [src/commands/env/var/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/var/list.ts)_
232242

233243
## `sf env:var:set`
234244

@@ -240,12 +250,13 @@ USAGE
240250
241251
OPTIONS
242252
-e, --environment=environment (required) environment name
253+
--json format output as json
243254
244255
EXAMPLE
245256
$ sfdx env:var:set foo=bar --environment=my-environment
246257
```
247258

248-
_See code: [src/commands/env/var/set.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/var/set.ts)_
259+
_See code: [src/commands/env/var/set.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/var/set.ts)_
249260

250261
## `sf env:var:unset`
251262

@@ -257,12 +268,13 @@ USAGE
257268
258269
OPTIONS
259270
-e, --environment=environment (required) environment name
271+
--json format output as json
260272
261273
EXAMPLE
262274
$ sfdx env:var:unset foo --environment=my-environment
263275
```
264276

265-
_See code: [src/commands/env/var/unset.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/env/var/unset.ts)_
277+
_See code: [src/commands/env/var/unset.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/var/unset.ts)_
266278

267279
## `sf generate:function`
268280

@@ -275,6 +287,7 @@ USAGE
275287
OPTIONS
276288
-l, --language=(javascript|typescript|java) (required) language
277289
-n, --name=name (required) function name
290+
--json format output as json
278291
279292
ALIASES
280293
$ sf evergreen:function:init
@@ -283,7 +296,7 @@ EXAMPLE
283296
$ sfdx evergreen:function:create MyFunction --language=javascript
284297
```
285298

286-
_See code: [src/commands/generate/function.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/generate/function.ts)_
299+
_See code: [src/commands/generate/function.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/generate/function.ts)_
287300

288301
## `sf generate:project`
289302

@@ -293,9 +306,10 @@ USAGE
293306
294307
OPTIONS
295308
-n, --name=name (required) name of the generated project
309+
--json format output as json
296310
```
297311

298-
_See code: [src/commands/generate/project.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/generate/project.ts)_
312+
_See code: [src/commands/generate/project.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/generate/project.ts)_
299313

300314
## `sf login:functions`
301315

@@ -309,7 +323,7 @@ EXAMPLE
309323
$ sfdx login:functions
310324
```
311325

312-
_See code: [src/commands/login/functions.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/login/functions.ts)_
326+
_See code: [src/commands/login/functions.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/login/functions.ts)_
313327

314328
## `sf project:deploy:functions`
315329

@@ -326,9 +340,11 @@ OPTIONS
326340
-q, --quiet limit the amount of output displayed from the deploy process
327341
328342
--force ignore warnings and overwrite remote repository (not allowed in production)
343+
344+
--json format output as json
329345
```
330346

331-
_See code: [src/commands/project/deploy/functions.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/project/deploy/functions.ts)_
347+
_See code: [src/commands/project/deploy/functions.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/project/deploy/functions.ts)_
332348

333349
## `sf run:function`
334350

@@ -344,6 +360,7 @@ OPTIONS
344360
-o, --connected-org=connected-org username or alias for the target org; overrides default target org
345361
-p, --payload=payload set the payload of the cloudevent. also accepts @file.txt format
346362
-s, --structured set the cloudevent to be emitted as a structured cloudevent (json)
363+
--json format output as json
347364
348365
EXAMPLE
349366
@@ -353,7 +370,7 @@ EXAMPLE
353370
$ sfdx run:function -l http://localhost:8080 -p '{"id": 12345}' --structured
354371
```
355372

356-
_See code: [src/commands/run/function.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/run/function.ts)_
373+
_See code: [src/commands/run/function.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/run/function.ts)_
357374

358375
## `sf run:function:start`
359376

@@ -369,6 +386,7 @@ OPTIONS
369386
-p, --port=port [default: 8080] port for running the function
370387
-v, --verbose output additional logs
371388
--clear-cache clear associated cache before executing.
389+
--json format output as json
372390
373391
--network=network Connect and build containers to a network. This can be useful to build containers which
374392
require a local resource.
@@ -382,5 +400,6 @@ EXAMPLE
382400
$ sfdx run:function:start --network host --no-pull --clear-cache --debug-port 9000 --port 5000
383401
```
384402

385-
_See code: [src/commands/run/function/start.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.4/src/commands/run/function/start.ts)_
403+
_See code: [src/commands/run/function/start.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/run/function/start.ts)_
404+
386405
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-functions",
33
"description": "Functions plugin for the SF CLI",
4-
"version": "0.2.5",
4+
"version": "0.2.6",
55
"author": "[email protected]",
66
"bin": {
77
"functions": "./bin/run"

0 commit comments

Comments
 (0)