@salesforce/plugin-limits 3.1.15 → 3.2.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/README.md +87 -2
- package/npm-shrinkwrap.json +2041 -5205
- package/oclif.lock +1159 -3168
- package/oclif.manifest.json +17 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -70,8 +70,93 @@ sfdx plugins
|
|
|
70
70
|
|
|
71
71
|
<!-- commands -->
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
- [`sf org list limits`](#sf-org-list-limits)
|
|
74
|
+
- [`sf org list sobject record-counts`](#sf-org-list-sobject-record-counts)
|
|
74
75
|
|
|
75
|
-
|
|
76
|
+
## `sf org list limits`
|
|
77
|
+
|
|
78
|
+
Display information about limits in your org.
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
USAGE
|
|
82
|
+
$ sf org list limits -o <value> [--json] [--flags-dir <value>] [--api-version <value>]
|
|
83
|
+
|
|
84
|
+
FLAGS
|
|
85
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
86
|
+
configuration variable is already set.
|
|
87
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
88
|
+
|
|
89
|
+
GLOBAL FLAGS
|
|
90
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
91
|
+
--json Format output as json.
|
|
92
|
+
|
|
93
|
+
DESCRIPTION
|
|
94
|
+
Display information about limits in your org.
|
|
95
|
+
|
|
96
|
+
For each limit, this command returns the maximum allocation and the remaining allocation based on usage. See this
|
|
97
|
+
topic for a description of each limit:
|
|
98
|
+
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_limits.htm.
|
|
99
|
+
|
|
100
|
+
ALIASES
|
|
101
|
+
$ sf force limits api display
|
|
102
|
+
$ sf limits api display
|
|
103
|
+
|
|
104
|
+
EXAMPLES
|
|
105
|
+
Display limits in your default org:
|
|
106
|
+
|
|
107
|
+
$ sf org list limits
|
|
108
|
+
|
|
109
|
+
Display limits in the org with alias "my-scratch-org":
|
|
110
|
+
|
|
111
|
+
$ sf org list limits --target-org my-scratch-org
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
_See code: [src/commands/org/list/limits.ts](https://github.com/salesforcecli/plugin-limits/blob/3.2.1/src/commands/org/list/limits.ts)_
|
|
115
|
+
|
|
116
|
+
## `sf org list sobject record-counts`
|
|
117
|
+
|
|
118
|
+
Display record counts for the specified standard or custom objects.
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
USAGE
|
|
122
|
+
$ sf org list sobject record-counts -o <value> [--json] [--flags-dir <value>] [-s <value>] [--api-version <value>]
|
|
123
|
+
|
|
124
|
+
FLAGS
|
|
125
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
126
|
+
configuration variable is already set.
|
|
127
|
+
-s, --sobject=<value>... [default: ] API name of the standard or custom object for which to display record counts.
|
|
128
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
129
|
+
|
|
130
|
+
GLOBAL FLAGS
|
|
131
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
132
|
+
--json Format output as json.
|
|
133
|
+
|
|
134
|
+
DESCRIPTION
|
|
135
|
+
Display record counts for the specified standard or custom objects.
|
|
136
|
+
|
|
137
|
+
Use this command to get an approximate count of the records in standard or custom objects in your org. These record
|
|
138
|
+
counts are the same as the counts listed in the Storage Usage page in the Setup UI. The record counts are approximate
|
|
139
|
+
because they're calculated asynchronously and your org's storage usage isn't updated immediately. To display all
|
|
140
|
+
available record counts, run the command without the --sobject flag.
|
|
141
|
+
|
|
142
|
+
ALIASES
|
|
143
|
+
$ sf force limits recordcounts display
|
|
144
|
+
$ sf limits recordcounts display
|
|
145
|
+
|
|
146
|
+
EXAMPLES
|
|
147
|
+
Display all available record counts in your default org:
|
|
148
|
+
|
|
149
|
+
$ sf org list sobject record-counts
|
|
150
|
+
|
|
151
|
+
Display record counts for the Account, Contact, Lead, and Opportunity objects in your default org:
|
|
152
|
+
|
|
153
|
+
$ sf org list sobject record-counts --sobject Account --sobject Contact --sobject Lead --sobject Opportunity
|
|
154
|
+
|
|
155
|
+
Display record counts for the Account and Lead objects for the org with alias "my-scratch-org":
|
|
156
|
+
|
|
157
|
+
$ sf org list sobject record-counts --sobject Account --sobject Lead --target-org my-scratch-org
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
_See code: [src/commands/org/list/sobject/record-counts.ts](https://github.com/salesforcecli/plugin-limits/blob/3.2.1/src/commands/org/list/sobject/record-counts.ts)_
|
|
76
161
|
|
|
77
162
|
<!-- commandsstop -->
|