From 909d69fd0a5e07b81e2beed174358d94edf4e7c6 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Sun, 1 Oct 2023 08:46:05 +0000 Subject: [PATCH] chore(release): 2.2.6 [skip ci] --- CHANGELOG.md | 6 + README.md | 394 ++++++++++++++++++++++++++++++--------------------- package.json | 2 +- 3 files changed, 242 insertions(+), 160 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 854b6107..72b1ee68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [2.2.6](https://github.com/salesforcecli/plugin-custom-metadata/compare/2.2.5...2.2.6) (2023-10-01) + +### Bug Fixes + +- **deps:** bump @salesforce/core from 5.2.10 to 5.3.1 ([156d8f3](https://github.com/salesforcecli/plugin-custom-metadata/commit/156d8f3de0a27365792e9d88cd902eb1d94e5a4c)) + ## [2.2.5](https://github.com/salesforcecli/plugin-custom-metadata/compare/2.2.4...2.2.5) (2023-09-28) ### Bug Fixes diff --git a/README.md b/README.md index 56906334..117f6f25 100644 --- a/README.md +++ b/README.md @@ -71,259 +71,335 @@ sfdx plugins -- [`sfdx force:cmdt:create -n [-l ] [-p ] [-v PackageProtected|Protected|Public] [-d ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcecmdtcreate--n-string--l-string--p-string--v-packageprotectedprotectedpublic--d-directory---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) -- [`sfdx force:cmdt:field:create -n -f Checkbox|Date|DateTime|Email|Number|Percent|Phone|Picklist|Text|TextArea|LongTextArea|Url [-p ] [-s ] [-l ] [-d ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcecmdtfieldcreate--n-string--f-checkboxdatedatetimeemailnumberpercentphonepicklisttexttextarealongtextareaurl--p-array--s-number--l-string--d-directory---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) -- [`sfdx force:cmdt:generate -n -s [-l ] [-p ] [-v PackageProtected|Protected|Public] [-i] [-d ] [-r ] [-u ] [--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcecmdtgenerate--n-string--s-string--l-string--p-string--v-packageprotectedprotectedpublic--i--d-directory--r-directory--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) -- [`sfdx force:cmdt:record:create [name=value...] -t -n [-l ] [-p ] [-i ] [-d ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcecmdtrecordcreate-namevalue--t-string--n-string--l-string--p-string--i-directory--d-directory---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) -- [`sfdx force:cmdt:record:insert -f -t [-i ] [-d ] [-n ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcecmdtrecordinsert--f-string--t-string--i-directory--d-directory--n-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) +- [`sfdx cmdt:generate:field`](#sfdx-cmdtgeneratefield) +- [`sfdx cmdt:generate:fromorg`](#sfdx-cmdtgeneratefromorg) +- [`sfdx cmdt:generate:object`](#sfdx-cmdtgenerateobject) +- [`sfdx cmdt:generate:record`](#sfdx-cmdtgeneraterecord) +- [`sfdx cmdt:generate:records`](#sfdx-cmdtgeneraterecords) -## `sfdx force:cmdt:create -n [-l ] [-p ] [-v PackageProtected|Protected|Public] [-d ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` +## `sfdx cmdt:generate:field` -creates a new custom metadata type in the current project +Generate a field for a custom metadata type based on the provided field type. ``` USAGE - $ sfdx force:cmdt:create -n [-l ] [-p ] [-v PackageProtected|Protected|Public] [-d - ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] + $ sfdx cmdt:generate:field -n -f + Checkbox|Date|DateTime|Email|Number|Percent|Phone|Picklist|Text|TextArea|LongTextArea|Url [--json] [-p ] [-s + ] [-l ] [-d ] FLAGS - -d, --outputdir= directory to store the newly-created - custom metadata type files - -l, --label= label for the custom metadata type - -n, --typename= (required) unique object name for - the custom metadata type - -p, --plurallabel= plural version of the label value; - if blank, uses label - -v, --visibility=(PackageProtected|Protected|Public) [default: Public] visibility of the - custom metadata type - --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 + -d, --output-directory= Directory to store newly-created field definition files. + -f, --type=