Skip to content

Commit

Permalink
chore(release): 2.3.27 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-cli-bot committed Sep 24, 2023
1 parent c595157 commit 565f61a
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 40 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [2.3.27](https://github.com/salesforcecli/plugin-schema/compare/2.3.26...2.3.27) (2023-09-24)

### Bug Fixes

- **deps:** bump @salesforce/sf-plugins-core from 3.1.22 to 3.1.23 ([7bf2d12](https://github.com/salesforcecli/plugin-schema/commit/7bf2d12a640a0d7c0b0c974e207bc847f014e7c6))

## [2.3.26](https://github.com/salesforcecli/plugin-schema/compare/2.3.25...2.3.26) (2023-09-17)

### Bug Fixes
Expand Down
93 changes: 54 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,74 +70,89 @@ sfdx plugins

<!-- commands -->

- [`sfdx force:schema:sobject:describe -s <string> [-t] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceschemasobjectdescribe--s-string--t--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
- [`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]`](#sfdx-forceschemasobjectlist--c-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
- [`sfdx sobject:describe`](#sfdx-sobjectdescribe)
- [`sfdx sobject:list`](#sfdx-sobjectlist)

## `sfdx force:schema:sobject:describe -s <string> [-t] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
## `sfdx sobject:describe`

displays the metadata for a standard or custom object
Display the metadata for a standard or custom object or a Tooling API object.

```
USAGE
$ sfdx force:schema:sobject:describe -s <string> [-t] [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
$ sfdx sobject:describe -o <value> -s <value> [--json] [--api-version <value>] [-t]
FLAGS
-s, --sobjecttype=<value> (required) the API name of the
object to describe
-t, --usetoolingapi execute with Tooling API
-u, --targetusername=<value> username or alias for the target
org; overrides default target org
--apiversion=<value> 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
-o, --target-org=<value> (required) Username or alias of the target org.
-s, --sobject=<value> (required) API name of the object to describe.
-t, --use-tooling-api Use Tooling API to display metadata for Tooling API objects.
--api-version=<value> Override the api version used for api requests made by this command
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
displays the metadata for a standard or custom object
Display the metadata for a standard or custom object or a Tooling API object.
The metadata is displayed in JSON format. See this topic for a description of each property: https://developer.salesfo
rce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_describesobjects_describesobjectresult.htm.
This command displays metadata for Salesforce objects by default. Use the --use-tooling-api flag to view metadata for
a Tooling API object.
ALIASES
$ sfdx force:schema:sobject:describe
EXAMPLES
$ sfdx force:schema:sobject:describe -s Account
Display the metadata of the "Account" standard object in your default org:
$ sfdx sobject:describe --sobject Account
Display the metadata of the "MyObject__c" custom object in the org with alias "my-scratch-org":
$ sfdx force:schema:sobject:describe -s MyObject__c
$ sfdx sobject:describe --sobject MyObject__c --target-org my-scratch-org
$ sfdx force:schema:sobject:describe -s ApexClass -t
Display the metadata of the ApexCodeCoverage Tooling API object in your default org:
$ sfdx sobject:describe --sobject ApexCodeCoverage --use-tooling-api
```

_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)_
_See code: [src/commands/sobject/describe.ts](https://github.com/salesforcecli/plugin-schema/blob/2.3.27/src/commands/sobject/describe.ts)_

## `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]`
## `sfdx sobject:list`

list all objects of a specified category
List all Salesforce objects of a specified category.

```
USAGE
$ 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]
$ sfdx sobject:list -o <value> [--json] [--api-version <value>] [-s <value>]
FLAGS
-c, --sobjecttypecategory=<value> [default: ALL] the type of objects
to list (all|custom|standard)
-u, --targetusername=<value> username or alias for the target
org; overrides default target org
--apiversion=<value> 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
-o, --target-org=<value> (required) Username or alias of the target org.
-s, --sobject=<value> [default: ALL] Category of objects to list.
--api-version=<value> Override the api version used for api requests made by this command
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
list all objects of a specified category
List all Salesforce objects of a specified category.
You can list the standard objects, custom objects, or all. The lists include only Salesforce objects, not Tooling API
objects.
ALIASES
$ sfdx force:schema:sobject:list
EXAMPLES
$ sfdx force:schema:sobject:list -c all
List all objects in your default org:
$ sfdx sobject:list --sobject all
$ sfdx force:schema:sobject:list -c custom
List only custom objects in the org with alias "my-scratch-org":
$ sfdx force:schema:sobject:list -c standard
$ sfdx sobject:list --sobject custom --target-org my-scratch-org
```

_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)_
_See code: [src/commands/sobject/list.ts](https://github.com/salesforcecli/plugin-schema/blob/2.3.27/src/commands/sobject/list.ts)_

<!-- commandsstop -->
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/plugin-schema",
"description": "Commands to interact with salesforce sobject schemas",
"version": "2.3.26",
"version": "2.3.27",
"author": "Salesforce",
"main": "lib/index.js",
"bugs": "https://github.com/forcedotcom/cli/issues",
Expand Down

0 comments on commit 565f61a

Please sign in to comment.