diff --git a/CHANGELOG.md b/CHANGELOG.md index b55240de..9e035c54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ 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. +### [0.2.7](https://github.com/salesforcecli/plugin-functions/compare/v0.2.6...v0.2.7) (2021-06-22) + ### [0.2.6](https://github.com/salesforcecli/plugin-functions/compare/v0.2.5...v0.2.6) (2021-06-22) ### [0.2.5](https://github.com/salesforcecli/plugin-functions/compare/v0.2.4...v0.2.5) (2021-06-21) diff --git a/README.md b/README.md index ed2137b3..11a48469 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,6 @@ USAGE OPTIONS -a, --setalias=setalias alias for the created environment -o, --connected-org=connected-org username or alias for the org that the compute environment should be connected to - --json format output as json EXAMPLES $ sfdx env:create:compute @@ -66,7 +65,7 @@ EXAMPLES $ sfdx env:create:compute --connected-org my-scratch-org ``` -_See code: [src/commands/env/create/compute.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/create/compute.ts)_ +_See code: [src/commands/env/create/compute.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/create/compute.ts)_ ## `sf env:delete` @@ -79,14 +78,13 @@ USAGE OPTIONS -c, --confirm=name confirmation name -e, --environment=environment (required) environment name - --json format output as json EXAMPLES $ sfdx env:delete --environment=billingApp-Scratch1 $ sfdx env:delete --environment=billingApp-Scratch1 --confirm=billingApp-Scratch1 ``` -_See code: [src/commands/env/delete.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/delete.ts)_ +_See code: [src/commands/env/delete.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/delete.ts)_ ## `sf env:display` @@ -98,14 +96,13 @@ USAGE OPTIONS -e, --environment=environment (required) environment name - --json format output as json --verbose verbose display output EXAMPLE $ sfdx env:display --environment=billingApp-Scratch1 ``` -_See code: [src/commands/env/display.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/display.ts)_ +_See code: [src/commands/env/display.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/display.ts)_ ## `sf env:list` @@ -128,7 +125,7 @@ EXAMPLES $ sfdx env:list --environment-type org --environment-type compute ``` -_See code: [src/commands/env/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/list.ts)_ +_See code: [src/commands/env/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/list.ts)_ ## `sf env:log:tail` @@ -140,13 +137,12 @@ USAGE OPTIONS -e, --environment=environment (required) environment name to retrieve logs - --json format output as json EXAMPLE sfdx env:log:tail --environment=billingApp-Scratch1 ``` -_See code: [src/commands/env/log/tail.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/log/tail.ts)_ +_See code: [src/commands/env/log/tail.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/log/tail.ts)_ ## `sf env:logdrain:add` @@ -159,13 +155,12 @@ USAGE OPTIONS -e, --environment=environment (required) environment name -u, --url=url (required) endpoint that will receive sent logs - --json format output as json EXAMPLE $ sfdx env:logdrain:add --environment=billingApp-Sandbox --url=https://example.com/drain ``` -_See code: [src/commands/env/logdrain/add.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/logdrain/add.ts)_ +_See code: [src/commands/env/logdrain/add.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/logdrain/add.ts)_ ## `sf env:logdrain:list` @@ -183,7 +178,7 @@ EXAMPLE $ sfdx env:logdrain:list --environment=billingApp-Sandbox ``` -_See code: [src/commands/env/logdrain/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/logdrain/list.ts)_ +_See code: [src/commands/env/logdrain/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/logdrain/list.ts)_ ## `sf env:logdrain:remove` @@ -196,13 +191,12 @@ USAGE OPTIONS -e, --environment=environment (required) environment name -u, --url=url (required) logdrain url to remove - --json format output as json EXAMPLE $ sfdx env:logdrain:remove --environment=billingApp-Sandbox --url=syslog://syslog-a.logdna.com:11137 ``` -_See code: [src/commands/env/logdrain/remove.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/logdrain/remove.ts)_ +_See code: [src/commands/env/logdrain/remove.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/logdrain/remove.ts)_ ## `sf env:var:get KEY` @@ -214,13 +208,12 @@ USAGE OPTIONS -e, --environment=environment (required) environment name - --json format output as json EXAMPLE $ sfdx env:var:get foo --environment=my-environment ``` -_See code: [src/commands/env/var/get.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/var/get.ts)_ +_See code: [src/commands/env/var/get.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/var/get.ts)_ ## `sf env:var:list` @@ -232,13 +225,12 @@ USAGE OPTIONS -e, --environment=environment (required) environment name - --json format output as json EXAMPLE $ sfdx env:var:list --environment=my-environment ``` -_See code: [src/commands/env/var/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/var/list.ts)_ +_See code: [src/commands/env/var/list.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/var/list.ts)_ ## `sf env:var:set` @@ -250,13 +242,12 @@ USAGE OPTIONS -e, --environment=environment (required) environment name - --json format output as json EXAMPLE $ sfdx env:var:set foo=bar --environment=my-environment ``` -_See code: [src/commands/env/var/set.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/var/set.ts)_ +_See code: [src/commands/env/var/set.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/var/set.ts)_ ## `sf env:var:unset` @@ -268,13 +259,12 @@ USAGE OPTIONS -e, --environment=environment (required) environment name - --json format output as json EXAMPLE $ sfdx env:var:unset foo --environment=my-environment ``` -_See code: [src/commands/env/var/unset.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/env/var/unset.ts)_ +_See code: [src/commands/env/var/unset.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/env/var/unset.ts)_ ## `sf generate:function` @@ -287,7 +277,6 @@ USAGE OPTIONS -l, --language=(javascript|typescript|java) (required) language -n, --name=name (required) function name - --json format output as json ALIASES $ sf evergreen:function:init @@ -296,7 +285,7 @@ EXAMPLE $ sfdx evergreen:function:create MyFunction --language=javascript ``` -_See code: [src/commands/generate/function.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/generate/function.ts)_ +_See code: [src/commands/generate/function.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/generate/function.ts)_ ## `sf generate:project` @@ -306,10 +295,9 @@ USAGE OPTIONS -n, --name=name (required) name of the generated project - --json format output as json ``` -_See code: [src/commands/generate/project.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/generate/project.ts)_ +_See code: [src/commands/generate/project.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/generate/project.ts)_ ## `sf login:functions` @@ -323,7 +311,7 @@ EXAMPLE $ sfdx login:functions ``` -_See code: [src/commands/login/functions.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/login/functions.ts)_ +_See code: [src/commands/login/functions.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/login/functions.ts)_ ## `sf project:deploy:functions` @@ -340,11 +328,9 @@ OPTIONS -q, --quiet limit the amount of output displayed from the deploy process --force ignore warnings and overwrite remote repository (not allowed in production) - - --json format output as json ``` -_See code: [src/commands/project/deploy/functions.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/project/deploy/functions.ts)_ +_See code: [src/commands/project/deploy/functions.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/project/deploy/functions.ts)_ ## `sf run:function` @@ -360,7 +346,6 @@ OPTIONS -o, --connected-org=connected-org username or alias for the target org; overrides default target org -p, --payload=payload set the payload of the cloudevent. also accepts @file.txt format -s, --structured set the cloudevent to be emitted as a structured cloudevent (json) - --json format output as json EXAMPLE @@ -370,7 +355,7 @@ EXAMPLE $ sfdx run:function -l http://localhost:8080 -p '{"id": 12345}' --structured ``` -_See code: [src/commands/run/function.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/run/function.ts)_ +_See code: [src/commands/run/function.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/run/function.ts)_ ## `sf run:function:start` @@ -386,7 +371,6 @@ OPTIONS -p, --port=port [default: 8080] port for running the function -v, --verbose output additional logs --clear-cache clear associated cache before executing. - --json format output as json --network=network Connect and build containers to a network. This can be useful to build containers which require a local resource. @@ -400,6 +384,6 @@ EXAMPLE $ sfdx run:function:start --network host --no-pull --clear-cache --debug-port 9000 --port 5000 ``` -_See code: [src/commands/run/function/start.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.5/src/commands/run/function/start.ts)_ +_See code: [src/commands/run/function/start.ts](https://github.com/salesforcecli/plugin-functions/blob/v0.2.6/src/commands/run/function/start.ts)_ diff --git a/package.json b/package.json index 866471e4..edd40361 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-functions", "description": "Functions plugin for the SF CLI", - "version": "0.2.6", + "version": "0.2.7", "author": "heroku-front-end@salesforce.com", "bin": { "functions": "./bin/run" @@ -141,5 +141,12 @@ }, "publishConfig": { "access": "public" + }, + "husky": { + "hooks": { + "commit-msg": "sf-husky-commit-msg", + "pre-commit": "sf-husky-pre-commit", + "pre-push": "sf-husky-pre-push" + } } }