@salesforce/plugin-schema 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  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.
4
4
 
5
+ ### [2.1.1](https://github.com/salesforcecli/plugin-schema/compare/v2.1.0...v2.1.1) (2022-05-20)
6
+
7
+ ### Bug Fixes
8
+
9
+ - add prompt to examples ([335b171](https://github.com/salesforcecli/plugin-schema/commit/335b1715514397c9f6082365f6b10845448f6016))
10
+ - add prompt to examples ([e5956d1](https://github.com/salesforcecli/plugin-schema/commit/e5956d10b80bae20a5a39b9d840dddb875d2aa78))
11
+
5
12
  ## [2.1.0](https://github.com/salesforcecli/plugin-schema/compare/v2.0.0...v2.1.0) (2022-05-04)
6
13
 
7
14
  ### Features
package/README.md CHANGED
@@ -105,7 +105,7 @@ EXAMPLES
105
105
  $ sfdx force:schema:sobject:describe -s ApexClass -t
106
106
  ```
107
107
 
108
- _See code: [src/commands/force/schema/sobject/describe.ts](https://github.com/salesforcecli/plugin-schema/blob/v2.0.0/src/commands/force/schema/sobject/describe.ts)_
108
+ _See code: [src/commands/force/schema/sobject/describe.ts](https://github.com/salesforcecli/plugin-schema/blob/v2.1.0/src/commands/force/schema/sobject/describe.ts)_
109
109
 
110
110
  ## `sfdx force:schema:sobject:list [-c <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
111
111
 
@@ -138,6 +138,6 @@ EXAMPLES
138
138
  $ sfdx force:schema:sobject:list -c standard
139
139
  ```
140
140
 
141
- _See code: [src/commands/force/schema/sobject/list.ts](https://github.com/salesforcecli/plugin-schema/blob/v2.0.0/src/commands/force/schema/sobject/list.ts)_
141
+ _See code: [src/commands/force/schema/sobject/list.ts](https://github.com/salesforcecli/plugin-schema/blob/v2.1.0/src/commands/force/schema/sobject/list.ts)_
142
142
 
143
143
  <!-- commandsstop -->
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "description": "displays the metadata for a standard or custom object",
3
3
  "examples": [
4
- "sfdx force:schema:sobject:describe -s Account",
5
- "sfdx force:schema:sobject:describe -s MyObject__c",
6
- "sfdx force:schema:sobject:describe -s ApexClass -t"
4
+ "$ sfdx force:schema:sobject:describe -s Account",
5
+ "$ sfdx force:schema:sobject:describe -s MyObject__c",
6
+ "$ sfdx force:schema:sobject:describe -s ApexClass -t"
7
7
  ],
8
8
  "flags": {
9
9
  "objectType": "the API name of the object to describe",
@@ -5,9 +5,9 @@
5
5
  "invalidTypeError": "\"Type\" flag can be set only to <all|custom|standard>."
6
6
  },
7
7
  "examples": [
8
- "sfdx force:schema:sobject:list -c all",
9
- "sfdx force:schema:sobject:list -c custom",
10
- "sfdx force:schema:sobject:list -c standard"
8
+ "$ sfdx force:schema:sobject:list -c all",
9
+ "$ sfdx force:schema:sobject:list -c custom",
10
+ "$ sfdx force:schema:sobject:list -c standard"
11
11
  ],
12
12
  "noTypeFound": "No %s objects found."
13
13
  }
@@ -1 +1 @@
1
- {"version":"2.1.0","commands":{"force:schema:sobject:describe":{"id":"force:schema:sobject:describe","description":"displays the metadata for a standard or custom object","strict":true,"usage":"<%= command.id %> -s <string> [-t] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-schema","pluginAlias":"@salesforce/plugin-schema","pluginType":"core","aliases":[],"examples":["sfdx force:schema:sobject:describe -s Account","sfdx force:schema:sobject:describe -s MyObject__c","sfdx force:schema:sobject:describe -s ApexClass -t"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the API name of the object to describe","required":true,"multiple":false},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"execute with Tooling API","allowNo":false}},"args":[],"flagsConfig":{"sobjecttype":{"kind":"string","char":"s","required":true,"description":"the API name of the object to describe","input":[],"multiple":false,"type":"option"},"usetoolingapi":{"kind":"boolean","char":"t","description":"execute with Tooling API","allowNo":false,"type":"boolean"}},"requiresUsername":true},"force:schema:sobject:list":{"id":"force:schema:sobject:list","description":"list all objects of a specified category","strict":true,"usage":"<%= command.id %> [-c <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-schema","pluginAlias":"@salesforce/plugin-schema","pluginType":"core","aliases":[],"examples":["sfdx force:schema:sobject:list -c all","sfdx force:schema:sobject:list -c custom","sfdx force:schema:sobject:list -c standard"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"sobjecttypecategory":{"name":"sobjecttypecategory","type":"option","char":"c","description":"the type of objects to list (all|custom|standard)","multiple":false,"default":"ALL"}},"args":[],"flagsConfig":{"sobjecttypecategory":{"kind":"string","char":"c","default":"ALL","description":"the type of objects to list (all|custom|standard)","input":[],"multiple":false,"type":"option"}},"requiresUsername":true}}}
1
+ {"version":"2.1.1","commands":{"force:schema:sobject:describe":{"id":"force:schema:sobject:describe","description":"displays the metadata for a standard or custom object","strict":true,"usage":"<%= command.id %> -s <string> [-t] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-schema","pluginAlias":"@salesforce/plugin-schema","pluginType":"core","aliases":[],"examples":["$ sfdx force:schema:sobject:describe -s Account","$ sfdx force:schema:sobject:describe -s MyObject__c","$ sfdx force:schema:sobject:describe -s ApexClass -t"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the API name of the object to describe","required":true,"multiple":false},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"execute with Tooling API","allowNo":false}},"args":[],"flagsConfig":{"sobjecttype":{"kind":"string","char":"s","required":true,"description":"the API name of the object to describe","input":[],"multiple":false,"type":"option"},"usetoolingapi":{"kind":"boolean","char":"t","description":"execute with Tooling API","allowNo":false,"type":"boolean"}},"requiresUsername":true},"force:schema:sobject:list":{"id":"force:schema:sobject:list","description":"list all objects of a specified category","strict":true,"usage":"<%= command.id %> [-c <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-schema","pluginAlias":"@salesforce/plugin-schema","pluginType":"core","aliases":[],"examples":["$ sfdx force:schema:sobject:list -c all","$ sfdx force:schema:sobject:list -c custom","$ sfdx force:schema:sobject:list -c standard"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"sobjecttypecategory":{"name":"sobjecttypecategory","type":"option","char":"c","description":"the type of objects to list (all|custom|standard)","multiple":false,"default":"ALL"}},"args":[],"flagsConfig":{"sobjecttypecategory":{"kind":"string","char":"c","default":"ALL","description":"the type of objects to list (all|custom|standard)","input":[],"multiple":false,"type":"option"}},"requiresUsername":true}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-schema",
3
3
  "description": "Commands to interact with salesforce sobject schemas",
4
- "version": "2.1.0",
4
+ "version": "2.1.1",
5
5
  "author": "Salesforce",
6
6
  "main": "lib/index.js",
7
7
  "bugs": "https://github.com/forcedotcom/cli/issues",
@@ -116,7 +116,7 @@
116
116
  "access": "public"
117
117
  },
118
118
  "sfdx": {
119
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.1.0.crt",
120
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.1.0.sig"
119
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.1.1.crt",
120
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.1.1.sig"
121
121
  }
122
122
  }