From 0b7ad7a297c68040719f9fc63e06af68ebdb17cd Mon Sep 17 00:00:00 2001 From: NicolasVuillamy Date: Fri, 5 Mar 2021 00:09:51 +0100 Subject: [PATCH] v1.5.0 --- README.md | 92 ++++++++++++++++++++++++++++++++++++++++++---------- package.json | 4 +-- 2 files changed, 77 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 21b7ab920..0c7fa1840 100644 --- a/README.md +++ b/README.md @@ -126,6 +126,7 @@ Example: `SFDX_CLIENT_ID: 3MVG9SOw8KERNN0.1kPOtqFc1ekdNpUho5WvGMn5n5IVMAFbcSvmY3 * [`sfdx hardis:org:purge:flow [-z] [-n ] [-s ] [-f] [-r ] [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisorgpurgeflow--z--n-string--s-string--f--r-string--d--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) * [`sfdx hardis:org:retrieve:sources:dx [-f ] [-t ] [-m ] [-o] [-r ] [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisorgretrievesourcesdx--f-string--t-string--m-string--o--r-string--d--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) * [`sfdx hardis:org:retrieve:sources:metadata [-f ] [-p ] [-r ] [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisorgretrievesourcesmetadata--f-string--p-string--r-string--d--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) +* [`sfdx hardis:org:select [-h] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisorgselect--h--d---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) * [`sfdx hardis:org:test:apex [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisorgtestapex--l-notestrunrunspecifiedtestsrunlocaltestsrunalltestsinorg--d--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) * [`sfdx hardis:project:audit:apiversion [-m ] [-f] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisprojectauditapiversion--m-number--f--d---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) * [`sfdx hardis:project:audit:callincallout [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisprojectauditcallincallout--d---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) @@ -136,6 +137,7 @@ Example: `SFDX_CLIENT_ID: 3MVG9SOw8KERNN0.1kPOtqFc1ekdNpUho5WvGMn5n5IVMAFbcSvmY3 * [`sfdx hardis:scratch:create [-n] [-d] [-v ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisscratchcreate--n--d--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) * [`sfdx hardis:work:new [-d] [-v ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisworknew--d--v-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) * [`sfdx hardis:work:refresh [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisworkrefresh--d--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) +* [`sfdx hardis:work:resetselection [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisworkresetselection--d--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) * [`sfdx hardis:work:save [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisworksave--d--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) ## `sfdx hardis:auth:login [-r ] [-h] [-s] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -163,7 +165,7 @@ EXAMPLE $ sfdx hardis:auth:login ``` -_See code: [lib/commands/hardis/auth/login.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/auth/login.js)_ +_See code: [lib/commands/hardis/auth/login.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/auth/login.js)_ ## `sfdx hardis:org:configure:monitoring [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -194,7 +196,7 @@ EXAMPLE $ sfdx hardis:org:configure:monitoring ``` -_See code: [lib/commands/hardis/org/configure/monitoring.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/org/configure/monitoring.js)_ +_See code: [lib/commands/hardis/org/configure/monitoring.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/org/configure/monitoring.js)_ ## `sfdx hardis:org:purge:flow [-z] [-n ] [-s ] [-f] [-r ] [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -260,7 +262,7 @@ EXAMPLES No record deleted ``` -_See code: [lib/commands/hardis/org/purge/flow.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/org/purge/flow.js)_ +_See code: [lib/commands/hardis/org/purge/flow.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/org/purge/flow.js)_ ## `sfdx hardis:org:retrieve:sources:dx [-f ] [-t ] [-m ] [-o] [-r ] [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -302,7 +304,7 @@ EXAMPLE $ sfdx hardis:org:retrieve:sources:dx ``` -_See code: [lib/commands/hardis/org/retrieve/sources/dx.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/org/retrieve/sources/dx.js)_ +_See code: [lib/commands/hardis/org/retrieve/sources/dx.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/org/retrieve/sources/dx.js)_ ## `sfdx hardis:org:retrieve:sources:metadata [-f ] [-p ] [-r ] [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -336,7 +338,32 @@ EXAMPLE $ sfdx hardis:org:retrieve:sources:metadata ``` -_See code: [lib/commands/hardis/org/retrieve/sources/metadata.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/org/retrieve/sources/metadata.js)_ +_See code: [lib/commands/hardis/org/retrieve/sources/metadata.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/org/retrieve/sources/metadata.js)_ + +## `sfdx hardis:org:select [-h] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` + +Interactive org selection for user + +``` +Interactive org selection for user + +USAGE + $ sfdx hardis:org:select [-h] [-d] [--json] [--loglevel + trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] + +OPTIONS + -d, --debug Activate debug mode (more logs) + -h, --devhub Also connect associated DevHub + --json format output as json + + --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for + this command invocation + +EXAMPLE + $ sfdx hardis:org:select +``` + +_See code: [lib/commands/hardis/org/select.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/org/select.js)_ ## `sfdx hardis:org:test:apex [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -371,7 +398,7 @@ EXAMPLE $ sfdx hardis:org:test:apex ``` -_See code: [lib/commands/hardis/org/test/apex.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/org/test/apex.js)_ +_See code: [lib/commands/hardis/org/test/apex.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/org/test/apex.js)_ ## `sfdx hardis:project:audit:apiversion [-m ] [-f] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -402,7 +429,7 @@ EXAMPLE $ sfdx hardis:project:audit:apiversion ``` -_See code: [lib/commands/hardis/project/audit/apiversion.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/project/audit/apiversion.js)_ +_See code: [lib/commands/hardis/project/audit/apiversion.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/project/audit/apiversion.js)_ ## `sfdx hardis:project:audit:callincallout [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -426,7 +453,7 @@ EXAMPLE $ sfdx hardis:project:audit:callouts ``` -_See code: [lib/commands/hardis/project/audit/callincallout.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/project/audit/callincallout.js)_ +_See code: [lib/commands/hardis/project/audit/callincallout.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/project/audit/callincallout.js)_ ## `sfdx hardis:project:audit:remotesites [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -450,7 +477,7 @@ EXAMPLE $ sfdx hardis:project:audit:remotesites ``` -_See code: [lib/commands/hardis/project/audit/remotesites.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/project/audit/remotesites.js)_ +_See code: [lib/commands/hardis/project/audit/remotesites.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/project/audit/remotesites.js)_ ## `sfdx hardis:project:configure:auth [-b] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -475,7 +502,7 @@ EXAMPLE $ sfdx hardis:project:configure:auth ``` -_See code: [lib/commands/hardis/project/configure/auth.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/project/configure/auth.js)_ +_See code: [lib/commands/hardis/project/configure/auth.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/project/configure/auth.js)_ ## `sfdx hardis:project:deploy:sources:dx [-c] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -514,7 +541,7 @@ EXAMPLE $ sfdx hardis:project:deploy:sources:dx ``` -_See code: [lib/commands/hardis/project/deploy/sources/dx.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/project/deploy/sources/dx.js)_ +_See code: [lib/commands/hardis/project/deploy/sources/dx.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/project/deploy/sources/dx.js)_ ## `sfdx hardis:project:deploy:sources:metadata [-c] [-p ] [-f] [-k ] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -560,7 +587,7 @@ EXAMPLE $ sfdx hardis:project:deploy:sources:metadata ``` -_See code: [lib/commands/hardis/project/deploy/sources/metadata.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/project/deploy/sources/metadata.js)_ +_See code: [lib/commands/hardis/project/deploy/sources/metadata.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/project/deploy/sources/metadata.js)_ ## `sfdx hardis:scratch:create [-n] [-d] [-v ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -594,7 +621,7 @@ EXAMPLE $ sfdx hardis:scratch:create ``` -_See code: [lib/commands/hardis/scratch/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/scratch/create.js)_ +_See code: [lib/commands/hardis/scratch/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/scratch/create.js)_ ## `sfdx hardis:work:new [-d] [-v ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -625,7 +652,7 @@ EXAMPLE $ sfdx hardis:work:task:new ``` -_See code: [lib/commands/hardis/work/new.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/work/new.js)_ +_See code: [lib/commands/hardis/work/new.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/work/new.js)_ ## `sfdx hardis:work:refresh [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -653,10 +680,41 @@ OPTIONS this command invocation EXAMPLE - $ sfdx hardis:work:task:refresh + $ sfdx hardis:work:refresh +``` + +_See code: [lib/commands/hardis/work/refresh.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/work/refresh.js)_ + +## `sfdx hardis:work:resetselection [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` + +Process again the selection of the items that you want to publish to upper level + +``` +Process again the selection of the items that you want to publish to upper level + +USAGE + $ sfdx hardis:work:resetselection [-d] [-u ] [--apiversion ] [--json] [--loglevel + trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] + +OPTIONS + -d, --debug Activate debug mode (more logs) + + -u, --targetusername=targetusername username or alias for the target + org; overrides default target org + + --apiversion=apiversion override the api version used for + api requests made by this command + + --json format output as json + + --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for + this command invocation + +EXAMPLE + $ sfdx hardis:work:resetsave ``` -_See code: [lib/commands/hardis/work/refresh.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/work/refresh.js)_ +_See code: [lib/commands/hardis/work/resetselection.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/work/resetselection.js)_ ## `sfdx hardis:work:save [-d] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` @@ -687,5 +745,5 @@ EXAMPLE $ sfdx hardis:work:task:save ``` -_See code: [lib/commands/hardis/work/save.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.4.1/lib/commands/hardis/work/save.js)_ +_See code: [lib/commands/hardis/work/save.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v1.5.0/lib/commands/hardis/work/save.js)_ diff --git a/package.json b/package.json index a98fb9c52..7bf2727f7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sfdx-hardis", "description": "Hardis-Group Toolbox for Salesforce DX", - "version": "1.4.1", + "version": "1.5.0", "author": "NicolasVuillamy @nvuillam", "bugs": "https://github.com/hardisgroupcom/sfdx-hardis/issues", "dependencies": { @@ -80,7 +80,7 @@ ], "prerun": [ "./lib/hooks/prerun/auth", - "./lib/hooks/prerun/check-dependencies" + "./lib/hooks/prerun/check-dependencies" ], "auth": [ "./lib/hooks/prerun/auth"