@salesforce/plugin-data 0.6.5 → 0.6.9

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,190 +2,136 @@
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
- ### [0.6.5](https://github.com/salesforcecli/plugin-data/compare/v0.6.4...v0.6.5) (2021-11-18)
5
+ ### [0.6.9](https://github.com/salesforcecli/plugin-data/compare/v0.6.8...v0.6.9) (2022-02-07)
6
+
7
+ ### Bug Fixes
8
+
9
+ - fix 3 data bugs ([801a7aa](https://github.com/salesforcecli/plugin-data/commit/801a7aaaae5346c8c6617ba6c8dc5ca297a86f17))
10
+
11
+ ### [0.6.8](https://github.com/salesforcecli/plugin-data/compare/v0.6.7...v0.6.8) (2022-01-03)
12
+
13
+ ### [0.6.7](https://github.com/salesforcecli/plugin-data/compare/v0.6.6...v0.6.7) (2021-12-28)
14
+
15
+ ### [0.6.6](https://github.com/salesforcecli/plugin-data/compare/v0.6.5...v0.6.6) (2021-12-02)
16
+
17
+ ### Features
18
+
19
+ - bump deps ([20f2598](https://github.com/salesforcecli/plugin-data/commit/20f2598606e14b676653f32f3f88569765ab7801))
6
20
 
21
+ ### [0.6.5](https://github.com/salesforcecli/plugin-data/compare/v0.6.4...v0.6.5) (2021-11-18)
7
22
 
8
23
  ### Bug Fixes
9
24
 
10
- * adds note about non-inclusive language ([844f74a](https://github.com/salesforcecli/plugin-data/commit/844f74a5ceddb917491a519a760304fdd0b796f1))
11
- * remove "master-detail" from long desc ([67460fc](https://github.com/salesforcecli/plugin-data/commit/67460fcac2a0e2afb784a0d038760afda2239e96))
25
+ - adds note about non-inclusive language ([844f74a](https://github.com/salesforcecli/plugin-data/commit/844f74a5ceddb917491a519a760304fdd0b796f1))
26
+ - remove "master-detail" from long desc ([67460fc](https://github.com/salesforcecli/plugin-data/commit/67460fcac2a0e2afb784a0d038760afda2239e96))
12
27
 
13
28
  ### [0.6.4](https://github.com/salesforcecli/plugin-data/compare/v0.6.3...v0.6.4) (2021-10-21)
14
29
 
15
-
16
30
  ### Bug Fixes
17
31
 
18
- * downgrade eslint jsdoc dep ([8775d6c](https://github.com/salesforcecli/plugin-data/commit/8775d6cca6b7240b023958e282cfadbe2e16ec6e))
32
+ - downgrade eslint jsdoc dep ([8775d6c](https://github.com/salesforcecli/plugin-data/commit/8775d6cca6b7240b023958e282cfadbe2e16ec6e))
19
33
 
20
34
  ### [0.6.3](https://github.com/salesforcecli/plugin-data/compare/v0.6.2...v0.6.3) (2021-10-12)
21
35
 
22
36
  ### [0.6.2](https://github.com/salesforcecli/plugin-data/compare/v0.6.1...v0.6.2) (2021-10-05)
23
37
 
24
-
25
38
  ### Bug Fixes
26
39
 
27
- * update deps ([c3b57d4](https://github.com/salesforcecli/plugin-data/commit/c3b57d4aae48a40eee90ba3380b4c650fe9df53e))
40
+ - update deps ([c3b57d4](https://github.com/salesforcecli/plugin-data/commit/c3b57d4aae48a40eee90ba3380b4c650fe9df53e))
28
41
 
29
42
  ### 0.6.1 (2021-08-25)
30
43
 
31
-
32
44
  ### Features
33
45
 
34
- * @W-8449669@ migrate force:data:soql:query ([#16](https://github.com/salesforcecli/plugin-data/issues/16)) ([b6820f8](https://github.com/salesforcecli/plugin-data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9))
35
- * added new flag for serial process ([#166](https://github.com/salesforcecli/plugin-data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/plugin-data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
36
- * record commands ([37f5d61](https://github.com/salesforcecli/plugin-data/commit/37f5d61f65055c76aceac85077fd484c810bd49c))
37
-
46
+ - @W-8449669@ migrate force:data:soql:query ([#16](https://github.com/salesforcecli/plugin-data/issues/16)) ([b6820f8](https://github.com/salesforcecli/plugin-data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9))
47
+ - added new flag for serial process ([#166](https://github.com/salesforcecli/plugin-data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/plugin-data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
48
+ - record commands ([37f5d61](https://github.com/salesforcecli/plugin-data/commit/37f5d61f65055c76aceac85077fd484c810bd49c))
38
49
 
39
50
  ### Bug Fixes
40
51
 
41
- * add oclif/dev dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/plugin-data/issues/90)) ([ecbd054](https://github.com/salesforcecli/plugin-data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e))
42
- * commands ignore --usetoolingapi ([#40](https://github.com/salesforcecli/plugin-data/issues/40)) ([d787ebc](https://github.com/salesforcecli/plugin-data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
43
- * correct help for data commands ([#69](https://github.com/salesforcecli/plugin-data/issues/69)) ([80b601b](https://github.com/salesforcecli/plugin-data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
44
- * depend on 0.1.5 ([#132](https://github.com/salesforcecli/plugin-data/issues/132)) ([97c1199](https://github.com/salesforcecli/plugin-data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
45
- * dependency pruning ([#141](https://github.com/salesforcecli/plugin-data/issues/141)) ([7a8212d](https://github.com/salesforcecli/plugin-data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
46
- * force release ([9545abe](https://github.com/salesforcecli/plugin-data/commit/9545abea419807e84bbb758dcb735eb5cb6aa91d))
47
- * parse csv as utf-8 and enable bom parsing ([#31](https://github.com/salesforcecli/plugin-data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/plugin-data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a))
48
- * Unlerna data #(184) ([18fa280](https://github.com/salesforcecli/plugin-data/commit/18fa2809f1337a56364bd713d3336b72d6026637))
49
- * various data:record bugs ([a05ac07](https://github.com/salesforcecli/plugin-data/commit/a05ac07e7beb9d73776908beed085b7644d580fe))
52
+ - add oclif/dev dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/plugin-data/issues/90)) ([ecbd054](https://github.com/salesforcecli/plugin-data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e))
53
+ - commands ignore --usetoolingapi ([#40](https://github.com/salesforcecli/plugin-data/issues/40)) ([d787ebc](https://github.com/salesforcecli/plugin-data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
54
+ - correct help for data commands ([#69](https://github.com/salesforcecli/plugin-data/issues/69)) ([80b601b](https://github.com/salesforcecli/plugin-data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
55
+ - depend on 0.1.5 ([#132](https://github.com/salesforcecli/plugin-data/issues/132)) ([97c1199](https://github.com/salesforcecli/plugin-data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
56
+ - dependency pruning ([#141](https://github.com/salesforcecli/plugin-data/issues/141)) ([7a8212d](https://github.com/salesforcecli/plugin-data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
57
+ - force release ([9545abe](https://github.com/salesforcecli/plugin-data/commit/9545abea419807e84bbb758dcb735eb5cb6aa91d))
58
+ - parse csv as utf-8 and enable bom parsing ([#31](https://github.com/salesforcecli/plugin-data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/plugin-data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a))
59
+ - Unlerna data #(184) ([18fa280](https://github.com/salesforcecli/plugin-data/commit/18fa2809f1337a56364bd713d3336b72d6026637))
60
+ - various data:record bugs ([a05ac07](https://github.com/salesforcecli/plugin-data/commit/a05ac07e7beb9d73776908beed085b7644d580fe))
50
61
 
51
62
  # [0.6.0](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.5.2...@salesforce/plugin-data@0.6.0) (2021-07-26)
52
63
 
53
-
54
64
  ### Features
55
65
 
56
- * added new flag for serial process ([#166](https://github.com/salesforcecli/data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
57
-
58
-
59
-
60
-
66
+ - added new flag for serial process ([#166](https://github.com/salesforcecli/data/issues/166)) ([9c70cbd](https://github.com/salesforcecli/data/commit/9c70cbd78deecf2d99b63b3328fa6475657c49b2))
61
67
 
62
68
  ## [0.5.2](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.5.1...@salesforce/plugin-data@0.5.2) (2021-07-08)
63
69
 
64
70
  **Note:** Version bump only for package @salesforce/plugin-data
65
71
 
66
-
67
-
68
-
69
-
70
72
  ## [0.5.1](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.12...@salesforce/plugin-data@0.5.1) (2021-07-01)
71
73
 
72
74
  **Note:** Version bump only for package @salesforce/plugin-data
73
75
 
74
-
75
-
76
-
77
-
78
76
  ## [0.4.12](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.11...@salesforce/plugin-data@0.4.12) (2021-06-10)
79
77
 
80
-
81
78
  ### Bug Fixes
82
79
 
83
- * dependency pruning ([#141](https://github.com/salesforcecli/data/issues/141)) ([7a8212d](https://github.com/salesforcecli/data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
84
-
85
-
86
-
87
-
80
+ - dependency pruning ([#141](https://github.com/salesforcecli/data/issues/141)) ([7a8212d](https://github.com/salesforcecli/data/commit/7a8212d7d99e1cddc8a9f2fbaaea7abd2fea181f))
88
81
 
89
82
  ## [0.4.11](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.10...@salesforce/plugin-data@0.4.11) (2021-06-04)
90
83
 
91
84
  **Note:** Version bump only for package @salesforce/plugin-data
92
85
 
93
-
94
-
95
-
96
-
97
86
  ## [0.4.10](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.9...@salesforce/plugin-data@0.4.10) (2021-06-04)
98
87
 
99
-
100
88
  ### Bug Fixes
101
89
 
102
- * depend on 0.1.5 ([#132](https://github.com/salesforcecli/data/issues/132)) ([97c1199](https://github.com/salesforcecli/data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
103
-
104
-
105
-
106
-
90
+ - depend on 0.1.5 ([#132](https://github.com/salesforcecli/data/issues/132)) ([97c1199](https://github.com/salesforcecli/data/commit/97c119977b4749e1add714ce2a04ef2940e627f3))
107
91
 
108
92
  ## [0.4.9](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.8...@salesforce/plugin-data@0.4.9) (2021-06-02)
109
93
 
110
94
  **Note:** Version bump only for package @salesforce/plugin-data
111
95
 
112
-
113
-
114
-
115
-
116
96
  ## [0.4.8](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.6...@salesforce/plugin-data@0.4.8) (2021-05-20)
117
97
 
118
-
119
98
  ### Bug Fixes
120
99
 
121
- * force release ([9545abe](https://github.com/salesforcecli/data/commit/9545abea419807e84bbb758dcb735eb5cb6aa91d))
122
-
123
-
124
-
125
-
100
+ - force release ([9545abe](https://github.com/salesforcecli/data/commit/9545abea419807e84bbb758dcb735eb5cb6aa91d))
126
101
 
127
102
  ## [0.4.6](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.5...@salesforce/plugin-data@0.4.6) (2021-04-14)
128
103
 
129
-
130
104
  ### Bug Fixes
131
105
 
132
- * add oclif/dev dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/data/issues/90)) ([ecbd054](https://github.com/salesforcecli/data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e))
133
-
134
-
135
-
136
-
106
+ - add oclif/dev dependency [skip-validate-pr] ([#90](https://github.com/salesforcecli/data/issues/90)) ([ecbd054](https://github.com/salesforcecli/data/commit/ecbd05403cb71988c4110b4e5e0815229c5ed86e))
137
107
 
138
108
  ## [0.4.5](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.3...@salesforce/plugin-data@0.4.5) (2021-04-09)
139
109
 
140
-
141
110
  ### Bug Fixes
142
111
 
143
- * correct help for data commands ([#69](https://github.com/salesforcecli/data/issues/69)) ([80b601b](https://github.com/salesforcecli/data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
144
-
145
-
146
-
147
-
112
+ - correct help for data commands ([#69](https://github.com/salesforcecli/data/issues/69)) ([80b601b](https://github.com/salesforcecli/data/commit/80b601bc0cbd973326afe69ad825530e53d1f5fc))
148
113
 
149
114
  ## [0.4.3](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.2...@salesforce/plugin-data@0.4.3) (2021-02-24)
150
115
 
151
-
152
116
  ### Bug Fixes
153
117
 
154
- * commands ignore --usetoolingapi ([#40](https://github.com/salesforcecli/data/issues/40)) ([d787ebc](https://github.com/salesforcecli/data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
155
-
156
-
157
-
158
-
118
+ - commands ignore --usetoolingapi ([#40](https://github.com/salesforcecli/data/issues/40)) ([d787ebc](https://github.com/salesforcecli/data/commit/d787ebcb297e192938cf1c9fb29c5063366f65ce))
159
119
 
160
120
  ## [0.4.2](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.1...@salesforce/plugin-data@0.4.2) (2021-02-10)
161
121
 
162
122
  **Note:** Version bump only for package @salesforce/plugin-data
163
123
 
164
-
165
-
166
-
167
-
168
124
  ## [0.4.1](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.4.0...@salesforce/plugin-data@0.4.1) (2021-02-02)
169
125
 
170
-
171
126
  ### Bug Fixes
172
127
 
173
- * parse csv as utf-8 and enable bom parsing ([#31](https://github.com/salesforcecli/data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a))
174
-
175
-
176
-
177
-
128
+ - parse csv as utf-8 and enable bom parsing ([#31](https://github.com/salesforcecli/data/issues/31)) ([7ecc0ed](https://github.com/salesforcecli/data/commit/7ecc0ede766270909dbeb0d8da6167efdb3d454a))
178
129
 
179
130
  # [0.4.0](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.5...@salesforce/plugin-data@0.4.0) (2021-02-01)
180
131
 
181
-
182
132
  ### Features
183
133
 
184
- * @W-8449669@ migrate force:data:soql:query ([#16](https://github.com/salesforcecli/data/issues/16)) ([b6820f8](https://github.com/salesforcecli/data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9))
185
-
186
-
187
-
188
-
134
+ - @W-8449669@ migrate force:data:soql:query ([#16](https://github.com/salesforcecli/data/issues/16)) ([b6820f8](https://github.com/salesforcecli/data/commit/b6820f8632876419f5f0d5f74f11651adb02d4b9))
189
135
 
190
136
  ## [0.2.5](https://github.com/salesforcecli/data/compare/@salesforce/plugin-data@0.2.4...@salesforce/plugin-data@0.2.5) (2020-12-15)
191
137
 
package/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2018, Salesforce.com, Inc.
1
+ Copyright (c) 2022, Salesforce.com, Inc.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
package/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  [![NPM](https://img.shields.io/npm/v/@salesforce/plugin-data.svg?label=@salesforce/plugin-data)](https://www.npmjs.com/package/@salesforce/plugin-data) [![CircleCI](https://circleci.com/gh/salesforcecli/plugin-data/tree/main.svg?style=shield)](https://circleci.com/gh/salesforcecli/plugin-data/tree/main) [![Downloads/week](https://img.shields.io/npm/dw/@salesforce/plugin-data.svg)](https://npmjs.org/package/@salesforce/plugin-data) [![License](https://img.shields.io/badge/License-BSD%203--Clause-brightgreen.svg)](https://raw.githubusercontent.com/salesforcecli/plugin-data/main/LICENSE.txt)
2
+
2
3
  # plugin-data
3
4
 
4
5
  `data` commands for Salesforce CLI.
@@ -68,31 +69,25 @@ sfdx plugins
68
69
  # Commands
69
70
 
70
71
  <!-- commands -->
71
- * [`sfdx force:data:bulk:delete -f <filepath> -s <string> [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatabulkdelete--f-filepath--s-string--w-minutes--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
72
- * [`sfdx force:data:bulk:status -i <string> [-b <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatabulkstatus--i-string--b-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
73
- * [`sfdx force:data:bulk:upsert -i <string> -f <filepath> -s <string> [-w <minutes>] [-r] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatabulkupsert--i-string--f-filepath--s-string--w-minutes--r--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
74
- * [`sfdx force:data:record:create -s <string> -v <string> [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatarecordcreate--s-string--v-string--t---perflog---json--u-string---apiversion-string---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
75
- * [`sfdx force:data:record:delete -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatarecorddelete--s-string--i-id---w-string--t---perflog---json--u-string---apiversion-string---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
76
- * [`sfdx force:data:record:get -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatarecordget--s-string--i-id---w-string--t---perflog---json--u-string---apiversion-string---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
77
- * [`sfdx force:data:record:update -s <string> -v <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatarecordupdate--s-string--v-string--i-id---w-string--t---perflog---json--u-string---apiversion-string---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
78
- * [`sfdx force:data:soql:query -q <string> [-t] [-r human|csv|json] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatasoqlquery--q-string--t--r-humancsvjson---perflog---json--u-string---apiversion-string---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
79
- * [`sfdx force:data:tree:export -q <string> [-p] [-x <string>] [-d <directory>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatatreeexport--q-string--p--x-string--d-directory--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
80
- * [`sfdx force:data:tree:import [-f <array> | -p <filepath>] [--confighelp] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatatreeimport--f-array---p-filepath---confighelp--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
72
+
73
+ - [`sfdx force:data:bulk:delete -f <filepath> -s <string> [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatabulkdelete--f-filepath--s-string--w-minutes--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
74
+ - [`sfdx force:data:bulk:status -i <string> [-b <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatabulkstatus--i-string--b-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
75
+ - [`sfdx force:data:bulk:upsert -i <string> -f <filepath> -s <string> [-w <minutes>] [-r] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatabulkupsert--i-string--f-filepath--s-string--w-minutes--r--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
76
+ - [`sfdx force:data:record:create -s <string> -v <string> [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatarecordcreate--s-string--v-string--t---perflog---json--u-string---apiversion-string---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
77
+ - [`sfdx force:data:record:delete -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatarecorddelete--s-string--i-id---w-string--t---perflog---json--u-string---apiversion-string---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
78
+ - [`sfdx force:data:record:get -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatarecordget--s-string--i-id---w-string--t---perflog---json--u-string---apiversion-string---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
79
+ - [`sfdx force:data:record:update -s <string> -v <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatarecordupdate--s-string--v-string--i-id---w-string--t---perflog---json--u-string---apiversion-string---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
80
+ - [`sfdx force:data:soql:query -q <string> [-t] [-r human|csv|json] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatasoqlquery--q-string--t--r-humancsvjson---perflog---json--u-string---apiversion-string---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
81
+ - [`sfdx force:data:tree:export -q <string> [-p] [-x <string>] [-d <directory>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatatreeexport--q-string--p--x-string--d-directory--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
82
+ - [`sfdx force:data:tree:import [-f <array> | -p <filepath>] [--confighelp] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forcedatatreeimport--f-array---p-filepath---confighelp--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
81
83
 
82
84
  ## `sfdx force:data:bulk:delete -f <filepath> -s <string> [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
83
85
 
84
86
  bulk delete records from a csv file
85
87
 
86
88
  ```
87
- bulk delete records from a csv file
88
- The file must be a CSV file with only one column: "Id".
89
- One job can contain many batches, depending on the length of the CSV file.
90
- Returns a job ID and a batch ID. Use these IDs to check job status with data:bulk:status.
91
-
92
-
93
-
94
89
  USAGE
95
- $ sfdx force:data:bulk:delete -f <filepath> -s <string> [-w <minutes>] [-u <string>] [--apiversion <string>] [--json]
90
+ $ sfdx force:data:bulk:delete -f <filepath> -s <string> [-w <minutes>] [-u <string>] [--apiversion <string>] [--json]
96
91
  [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
97
92
 
98
93
  OPTIONS
@@ -128,18 +123,15 @@ EXAMPLES
128
123
  sfdx force:data:bulk:delete -s MyObject__c -f ./path/to/file.csv
129
124
  ```
130
125
 
131
- _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.4/src/commands/force/data/bulk/delete.ts)_
126
+ _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/bulk/delete.ts)_
132
127
 
133
128
  ## `sfdx force:data:bulk:status -i <string> [-b <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
134
129
 
135
130
  view the status of a bulk data load job or batch
136
131
 
137
132
  ```
138
- view the status of a bulk data load job or batch
139
- Run this command using the job ID or batch ID returned from the force:data:bulk:delete or force:data:bulk:upsert commands.
140
-
141
133
  USAGE
142
- $ sfdx force:data:bulk:status -i <string> [-b <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
134
+ $ sfdx force:data:bulk:status -i <string> [-b <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
143
135
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
144
136
 
145
137
  OPTIONS
@@ -162,7 +154,7 @@ OPTIONS
162
154
  this command invocation
163
155
 
164
156
  DESCRIPTION
165
- Run this command using the job ID or batch ID returned from the force:data:bulk:delete or force:data:bulk:upsert
157
+ Run this command using the job ID or batch ID returned from the force:data:bulk:delete or force:data:bulk:upsert
166
158
  commands.
167
159
 
168
160
  EXAMPLES
@@ -170,25 +162,15 @@ EXAMPLES
170
162
  sfdx force:data:bulk:status -i 750xx000000005sAAA -b 751xx000000005nAAA
171
163
  ```
172
164
 
173
- _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.4/src/commands/force/data/bulk/status.ts)_
165
+ _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/bulk/status.ts)_
174
166
 
175
167
  ## `sfdx force:data:bulk:upsert -i <string> -f <filepath> -s <string> [-w <minutes>] [-r] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
176
168
 
177
169
  bulk upsert records from a CSV file
178
170
 
179
171
  ```
180
- bulk upsert records from a CSV file
181
- Inserts or updates records from a CSV file.
182
-
183
- One job can contain many batches, depending on the length of the CSV file.
184
- Returns a job ID and a batch ID. Use these IDs to check job status with data:bulk:status.
185
-
186
- For information about formatting your CSV file, see "Prepare CSV Files" in the Bulk API Developer Guide.
187
-
188
- By default, the job runs the batches in parallel. Specify --serial to run them serially.
189
-
190
172
  USAGE
191
- $ sfdx force:data:bulk:upsert -i <string> -f <filepath> -s <string> [-w <minutes>] [-r] [-u <string>] [--apiversion
173
+ $ sfdx force:data:bulk:upsert -i <string> -f <filepath> -s <string> [-w <minutes>] [-r] [-u <string>] [--apiversion
192
174
  <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
193
175
 
194
176
  OPTIONS
@@ -224,7 +206,7 @@ DESCRIPTION
224
206
  One job can contain many batches, depending on the length of the CSV file.
225
207
  Returns a job ID and a batch ID. Use these IDs to check job status with data:bulk:status.
226
208
 
227
- For information about formatting your CSV file, see "Prepare CSV Files" in the Bulk API Developer Guide.
209
+ For information about formatting your CSV file, see "Prepare CSV Files" in the Bulk API Developer Guide.
228
210
 
229
211
  By default, the job runs the batches in parallel. Specify --serial to run them serially.
230
212
 
@@ -233,22 +215,15 @@ EXAMPLES
233
215
  sfdx force:data:bulk:upsert -s MyObject__c -f ./path/to/file.csv -i Id -w 2
234
216
  ```
235
217
 
236
- _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.4/src/commands/force/data/bulk/upsert.ts)_
218
+ _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/bulk/upsert.ts)_
237
219
 
238
220
  ## `sfdx force:data:record:create -s <string> -v <string> [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
239
221
 
240
222
  creates and inserts a record
241
223
 
242
224
  ```
243
- creates and inserts a record
244
- The format of a field-value pair is <fieldName>=<value>.
245
- Enclose all field-value pairs in one set of double quotation marks, delimited by spaces.
246
- Enclose values that contain spaces in single quotes.
247
-
248
- To get data on API performance metrics, specify both --perflog and --json.
249
-
250
225
  USAGE
251
- $ sfdx force:data:record:create -s <string> -v <string> [-t] [--perflog --json] [-u <string>] [--apiversion <string>]
226
+ $ sfdx force:data:record:create -s <string> -v <string> [-t] [--perflog --json] [-u <string>] [--apiversion <string>]
252
227
  [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
253
228
 
254
229
  OPTIONS
@@ -284,29 +259,21 @@ EXAMPLES
284
259
  sfdx force:data:record:create -s Account -v "Name=Acme"
285
260
  sfdx force:data:record:create -s Account -v "Name='Universal Containers'"
286
261
  sfdx force:data:record:create -s Account -v "Name='Universal Containers' Website=www.example.com"
287
- sfdx force:data:record:create -t -s TraceFlag -v "DebugLevelId=7dl170000008U36AAE
288
- StartDate=2017-12-01T00:26:04.000+0000 ExpirationDate=2017-12-01T00:56:04.000+0000 LogType=CLASS_TRACING
262
+ sfdx force:data:record:create -t -s TraceFlag -v "DebugLevelId=7dl170000008U36AAE
263
+ StartDate=2017-12-01T00:26:04.000+0000 ExpirationDate=2017-12-01T00:56:04.000+0000 LogType=CLASS_TRACING
289
264
  TracedEntityId=01p17000000R6bLAAS"
290
265
  sfdx force:data:record:create -s Account -v "Name=Acme" --perflog --json
291
266
  ```
292
267
 
293
- _See code: [src/commands/force/data/record/create.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.4/src/commands/force/data/record/create.ts)_
268
+ _See code: [src/commands/force/data/record/create.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/record/create.ts)_
294
269
 
295
270
  ## `sfdx force:data:record:delete -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
296
271
 
297
272
  deletes a single record
298
273
 
299
274
  ```
300
- deletes a single record
301
- Specify an sObject type and either an ID or a list of <fieldName>=<value> pairs.
302
- The format of a field-value pair is <fieldName>=<value>.
303
- Enclose all field-value pairs in one set of double quotation marks, delimited by spaces.
304
- Enclose values that contain spaces in single quotes.
305
-
306
- To get data on API performance metrics, specify both --perflog and --json.
307
-
308
275
  USAGE
309
- $ sfdx force:data:record:delete -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>]
276
+ $ sfdx force:data:record:delete -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>]
310
277
  [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
311
278
 
312
279
  OPTIONS
@@ -349,23 +316,15 @@ EXAMPLES
349
316
  sfdx force:data:record:delete -t -s TraceFlag -i 7tf170000009cU6AAI --perflog --json
350
317
  ```
351
318
 
352
- _See code: [src/commands/force/data/record/delete.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.4/src/commands/force/data/record/delete.ts)_
319
+ _See code: [src/commands/force/data/record/delete.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/record/delete.ts)_
353
320
 
354
321
  ## `sfdx force:data:record:get -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
355
322
 
356
323
  displays a single record
357
324
 
358
325
  ```
359
- displays a single record
360
- Specify an sObject type and either an ID or a list of <fieldName>=<value> pairs.
361
- The format of a field-value pair is <fieldName>=<value>.
362
- Enclose all field-value pairs in one set of double quotation marks, delimited by spaces.
363
- Enclose values that contain spaces in single quotes.
364
-
365
- To get data on API performance metrics, specify both --perflog and --json.
366
-
367
326
  USAGE
368
- $ sfdx force:data:record:get -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion
327
+ $ sfdx force:data:record:get -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion
369
328
  <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
370
329
 
371
330
  OPTIONS
@@ -409,22 +368,15 @@ EXAMPLES
409
368
  sfdx force:data:record:get -t -s TraceFlag -i 7tf170000009cUBAAY --perflog --json
410
369
  ```
411
370
 
412
- _See code: [src/commands/force/data/record/get.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.4/src/commands/force/data/record/get.ts)_
371
+ _See code: [src/commands/force/data/record/get.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/record/get.ts)_
413
372
 
414
373
  ## `sfdx force:data:record:update -s <string> -v <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
415
374
 
416
375
  updates a single record
417
376
 
418
377
  ```
419
- updates a single record
420
- The format of a field-value pair is <fieldName>=<value>.
421
- Enclose all field-value pairs in one set of double quotation marks, delimited by spaces.
422
- Enclose values that contain spaces in single quotes.
423
-
424
- To get data on API performance metrics, specify both --perflog and --json.
425
-
426
378
  USAGE
427
- $ sfdx force:data:record:update -s <string> -v <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>]
379
+ $ sfdx force:data:record:update -s <string> -v <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>]
428
380
  [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
429
381
 
430
382
  OPTIONS
@@ -469,22 +421,15 @@ EXAMPLES
469
421
  sfdx force:data:record:update -s Account -i 001D000000Kv3dl -v "Name=NewAcme" --perflog --json
470
422
  ```
471
423
 
472
- _See code: [src/commands/force/data/record/update.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.4/src/commands/force/data/record/update.ts)_
424
+ _See code: [src/commands/force/data/record/update.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/record/update.ts)_
473
425
 
474
426
  ## `sfdx force:data:soql:query -q <string> [-t] [-r human|csv|json] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
475
427
 
476
428
  execute a SOQL query
477
429
 
478
430
  ```
479
- execute a SOQL query
480
- When you execute this command in a project, it executes the query against the data in your default scratch org.
481
-
482
- To get data on API performance metrics, specify both --perflog and --json.
483
-
484
-
485
-
486
431
  USAGE
487
- $ sfdx force:data:soql:query -q <string> [-t] [-r human|csv|json] [--perflog --json] [-u <string>] [--apiversion
432
+ $ sfdx force:data:soql:query -q <string> [-t] [-r human|csv|json] [--perflog --json] [-u <string>] [--apiversion
488
433
  <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
489
434
 
490
435
  OPTIONS
@@ -521,19 +466,15 @@ EXAMPLES
521
466
  sfdx force:data:soql:query -q "SELECT Name FROM ApexTrigger" -t
522
467
  ```
523
468
 
524
- _See code: [src/commands/force/data/soql/query.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.4/src/commands/force/data/soql/query.ts)_
469
+ _See code: [src/commands/force/data/soql/query.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/soql/query.ts)_
525
470
 
526
471
  ## `sfdx force:data:tree:export -q <string> [-p] [-x <string>] [-d <directory>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
527
472
 
528
473
  export data from an org
529
474
 
530
475
  ```
531
- export data from an org
532
- Exports data from an org into sObject tree format for use with the force:data:tree:import command.
533
- The query for export can return a maximum of 2,000 records. For more information, see the REST API Developer Guide: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm
534
-
535
476
  USAGE
536
- $ sfdx force:data:tree:export -q <string> [-p] [-x <string>] [-d <directory>] [-u <string>] [--apiversion <string>]
477
+ $ sfdx force:data:tree:export -q <string> [-p] [-x <string>] [-d <directory>] [-u <string>] [--apiversion <string>]
537
478
  [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
538
479
 
539
480
  OPTIONS
@@ -562,7 +503,7 @@ OPTIONS
562
503
 
563
504
  DESCRIPTION
564
505
  Exports data from an org into sObject tree format for use with the force:data:tree:import command.
565
- The query for export can return a maximum of 2,000 records. For more information, see the REST API Developer Guide:
506
+ The query for export can return a maximum of 2,000 records. For more information, see the REST API Developer Guide:
566
507
  https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm
567
508
 
568
509
  EXAMPLES
@@ -570,22 +511,15 @@ EXAMPLES
570
511
  sfdx force:data:tree:export -q <path to file containing soql query> -x export-demo -d /tmp/sfdx-out -p
571
512
  ```
572
513
 
573
- _See code: [src/commands/force/data/tree/export.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.4/src/commands/force/data/tree/export.ts)_
514
+ _See code: [src/commands/force/data/tree/export.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/tree/export.ts)_
574
515
 
575
516
  ## `sfdx force:data:tree:import [-f <array> | -p <filepath>] [--confighelp] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
576
517
 
577
518
  import data into an org
578
519
 
579
520
  ```
580
- import data into an org
581
- IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.
582
-
583
- Imports data into an org using the SObject Tree Save API. This data can include master-detail relationships.
584
- To generate JSON files for use with force:data:tree:import, run "sfdx force:data:tree:export".
585
- The SObject Tree API supports requests that contain up to 200 records. For more information, see the REST API Developer Guide: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm
586
-
587
521
  USAGE
588
- $ sfdx force:data:tree:import [-f <array> | -p <filepath>] [--confighelp] [-u <string>] [--apiversion <string>]
522
+ $ sfdx force:data:tree:import [-f <array> | -p <filepath>] [--confighelp] [-u <string>] [--apiversion <string>]
589
523
  [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
590
524
 
591
525
  OPTIONS
@@ -614,13 +548,13 @@ OPTIONS
614
548
  this command invocation
615
549
 
616
550
  DESCRIPTION
617
- IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained
551
+ IMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained
618
552
  certain terms to avoid any effect on customer implementations.
619
553
 
620
554
  Imports data into an org using the SObject Tree Save API. This data can include master-detail relationships.
621
555
  To generate JSON files for use with force:data:tree:import, run "sfdx force:data:tree:export".
622
- The SObject Tree API supports requests that contain up to 200 records. For more information, see the REST API
623
- Developer Guide:
556
+ The SObject Tree API supports requests that contain up to 200 records. For more information, see the REST API
557
+ Developer Guide:
624
558
  https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm
625
559
 
626
560
  EXAMPLES
@@ -628,5 +562,6 @@ EXAMPLES
628
562
  sfdx force:data:tree:import -p Account-Contact-plan.json -u me@my.org
629
563
  ```
630
564
 
631
- _See code: [src/commands/force/data/tree/import.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.4/src/commands/force/data/tree/import.ts)_
565
+ _See code: [src/commands/force/data/tree/import.ts](https://github.com/salesforcecli/plugin-data/blob/v0.6.8/src/commands/force/data/tree/import.ts)_
566
+
632
567
  <!-- commandsstop -->
@@ -41,6 +41,7 @@ class Update extends dataCommand_1.DataCommand {
41
41
  if (Reflect.has(error, 'errorCode') && Reflect.has(error, 'fields')) {
42
42
  throw new core_1.SfdxError(messages.getMessage('updateFailureWithFields', [
43
43
  Reflect.get(error, 'errorCode'),
44
+ Reflect.get(error, 'message'),
44
45
  Reflect.get(error, 'fields'),
45
46
  ]));
46
47
  }
@@ -1 +1 @@
1
- {"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../src/commands/force/data/record/update.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,yBAAyB;AAEzB,iDAAyD;AACzD,2CAAuD;AAEvD,yDAAsD;AAEtD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,eAAe,CAAC,CAAC;AACnF,MAAM,cAAc,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAAC;AAEpF,MAAqB,MAAO,SAAQ,yBAAW;IAoCtC,KAAK,CAAC,GAAG;QACd,IAAI,CAAC,uBAAuB,EAAE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rieveColumns(connection: Connection | Tooling, query: string): Promise<Field[]>;
23
+ private recursivelyFindColumns;
23
24
  private searchSubColumns;
24
25
  }
25
26
  export declare class DataSoqlQueryCommand extends DataCommand {
@@ -54,8 +54,11 @@ class SoqlQuery {
54
54
  // eslint-disable-next-line no-underscore-dangle
55
55
  const columnUrl = `${connection._baseUrl()}/query?q=${encodeURIComponent(query)}&columns=true`;
56
56
  const results = (0, ts_types_1.toJsonMap)(await connection.request(columnUrl));
57
+ return this.recursivelyFindColumns((0, ts_types_1.ensureJsonArray)(results.columnMetadata));
58
+ }
59
+ recursivelyFindColumns(data) {
57
60
  const columns = [];
58
- for (let column of (0, ts_types_1.ensureJsonArray)(results.columnMetadata)) {
61
+ for (let column of data) {
59
62
  column = (0, ts_types_1.ensureJsonMap)(column);
60
63
  const name = (0, ts_types_1.ensureString)(column.columnName);
61
64
  if ((0, ts_types_1.isJsonArray)(column.joinColumns) && column.joinColumns.length > 0) {
@@ -65,13 +68,20 @@ class SoqlQuery {
65
68
  name,
66
69
  fields: [],
67
70
  };
68
- for (const subcolumn of column.joinColumns) {
69
- const f = {
70
- fieldType: dataSoqlQueryTypes_1.FieldType.field,
71
- name: (0, ts_types_1.ensureString)((0, ts_types_1.ensureJsonMap)(subcolumn).columnName),
72
- };
73
- if (field.fields)
74
- field.fields.push(f);
71
+ for (let subcolumn of column.joinColumns) {
72
+ subcolumn = (0, ts_types_1.ensureJsonMap)(subcolumn);
73
+ if ((0, ts_types_1.isJsonArray)(column.joinColumns) && column.joinColumns.length > 0) {
74
+ if (field.fields)
75
+ field.fields.push(...this.recursivelyFindColumns([subcolumn]));
76
+ }
77
+ else {
78
+ const f = {
79
+ fieldType: dataSoqlQueryTypes_1.FieldType.field,
80
+ name: (0, ts_types_1.ensureString)((0, ts_types_1.ensureJsonMap)(subcolumn).columnName),
81
+ };
82
+ if (field.fields)
83
+ field.fields.push(f);
84
+ }
75
85
  }
76
86
  columns.push(field);
77
87
  }
@@ -1 +1 @@
1
- {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AAC;KACnD,CAAC;IACF,aAAa,EAAE,eAAK,CAAC,OAAO,CAAC;QAC3B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;KAC5D,CAAC;IACF,YAAY,EAAE,eAAK,CAAC,IAAI,CAAC;QACvB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,yBAAyB,CAAC;QAC3D,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC;QACjC,OAAO,EAAE,OAAO;KACjB,CAAC;IACF,OAAO,EAAE,eAAK,CAAC,OAAO,CAAC;QACrB,WAAW,EAAE,cAAc,CAAC,UAAU,CAAC,oBAAoB,CAAC;QAC5D,SAAS,EAAE,CAAC,MAAM,CAAC;KACpB,CAAC;CACH,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { SfdxCommand } from '@salesforce/command';
2
2
  import { AnyJson, Dictionary } from '@salesforce/ts-types';
3
3
  import { Org } from '@salesforce/core';
4
- import { BaseConnection, ErrorResult, Record, SObject } from 'jsforce';
4
+ import { BaseConnection, ErrorResult, Record as jsforceRecord, SObject } from 'jsforce';
5
5
  export interface Metric {
6
6
  requestPath: string;
7
7
  perfMetrics: AnyJson;
@@ -26,8 +26,8 @@ export declare abstract class DataCommand extends SfdxCommand {
26
26
  */
27
27
  ensureOrg(): Org;
28
28
  getConnection(): BaseConnection;
29
- query(sobject: SObject<unknown>, where: string): Promise<Record<unknown>>;
30
- protected stringToDictionary(str: string): Dictionary<string | boolean>;
29
+ query(sobject: SObject<unknown>, where: string): Promise<jsforceRecord<unknown>>;
30
+ protected stringToDictionary(str: string): Dictionary<string | boolean | Record<string, unknown>>;
31
31
  protected normalize<T>(results: T | T[]): T;
32
32
  protected logNestedObject(obj: never, indentation?: number): void;
33
33
  /**
@@ -143,7 +143,18 @@ class DataCommand extends command_1.SfdxCommand {
143
143
  }
144
144
  else {
145
145
  const key = pair.substr(0, eqPosition);
146
- constructedObject[key] = this.convertToBooleanIfApplicable(pair.substr(eqPosition + 1));
146
+ if (pair.includes('{') && pair.includes('}')) {
147
+ try {
148
+ constructedObject[key] = JSON.parse(pair.substr(eqPosition + 1));
149
+ }
150
+ catch {
151
+ // the data contained { and }, but wasn't valid JSON, default to parsing as-is
152
+ constructedObject[key] = this.convertToBooleanIfApplicable(pair.substr(eqPosition + 1));
153
+ }
154
+ }
155
+ else {
156
+ constructedObject[key] = this.convertToBooleanIfApplicable(pair.substr(eqPosition + 1));
157
+ }
147
158
  }
148
159
  });
149
160
  return constructedObject;
@@ -1 +1 @@
1
- {"version":3,"file":"dataCommand.js","sourceRoot":"","sources":["../src/dataCommand.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,iDAAkD;AAClD,mDAA0E;AAC1E,2CAAgE;AAEhE,6DAA6D;AAC7D,qDAAqD;AACrD,gDAAgD;AAEhD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAAC;AAmB9E,qIAAqI;AACrI,mEAAmE;AACnE,MAAM,qBAAqB,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC;AACxD,OAAO,CAAC,SAAS,CAAC,OAAO,GAAG,UAAU,GAAY,EAAE,GAAG,IAAe;IACpE,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,QAAkB,EAAE,EAAE;QAC3C,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC;QAC7C,IAAI,OAAO,EAAE;YACX,mEAAmE;YACnE,WAAW,CAAC,SAAS,CAAC;gBACpB,WAAW,EAAE,QAAQ,CAAC,GAAG,CAAC,IAAI;gBAC9B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAY;aAC5C,CAAC,CAAC;SACJ;IACH,CAAC,CAAC,CAAC;IACH,OAA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AI,CAAC,WAAW,CAAC,CAAC;YAEhD,IAAI,WAAW,KAAK,GAAG,IAAI,CAAC,aAAa,EAAE;gBACzC,aAAa,GAAG,CAAC,aAAa,CAAC;gBAC/B,SAAS;aACV;iBAAM,IAAI,WAAW,KAAK,GAAG,IAAI,CAAC,aAAa,EAAE;gBAChD,aAAa,GAAG,CAAC,aAAa,CAAC;gBAC/B,SAAS;aACV;YAED,IAAI,CAAC,aAAa,IAAI,CAAC,aAAa,IAAI,WAAW,EAAE;gBACnD,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE;oBAC3B,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;oBAC1C,YAAY,GAAG,EAAE,CAAC;iBACnB;aACF;iBAAM;gBACL,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC;SACF;QAED,4DAA4D;QAC5D,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE;YAC3B,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;SAC3C;QAED,OAAO,aAAa,CAAC;IACvB,CAAC;;AArMH,kCAsMC;AArMgB,mBAAO,GAAa,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { Logger } from '@salesforce/core';
2
2
  import { UX } from '@salesforce/command';
3
3
  import { Optional } from '@salesforce/ts-types';
4
- import { SoqlQueryResult, Field } from './dataSoqlQueryTypes';
4
+ import { Field, SoqlQueryResult } from './dataSoqlQueryTypes';
5
5
  export declare class Reporter {
6
6
  protected ux: UX;
7
7
  protected logger: Logger;
package/lib/reporters.js CHANGED
@@ -39,7 +39,8 @@ class HumanReporter extends QueryReporter {
39
39
  }
40
40
  display() {
41
41
  const { attributeNames, children, aggregates } = this.parseFields();
42
- const totalCount = this.data.result.records.length;
42
+ // in case of count() there are no records, but there is a totalSize
43
+ const totalCount = this.data.result.records.length || this.data.result.totalSize;
43
44
  this.soqlQuery(attributeNames, this.massageRows(this.data.result.records, children, aggregates), totalCount);
44
45
  }
45
46
  parseFields() {
@@ -108,11 +109,29 @@ class HumanReporter extends QueryReporter {
108
109
  }
109
110
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
110
111
  massageRows(queryResults, children, aggregates) {
112
+ // some fields will return a JSON object that isn't accessible via the query (SELECT Metadata FROM RemoteProxy)
113
+ // some will return a JSON that IS accessible via the query (SELECT owner.Profile.Name FROM Lead)
114
+ // querying (SELECT Metadata.isActive FROM RemoteProxy) throws a SOQL validation error, so we have to display the entire Metadata object
115
+ queryResults.map((qr) => {
116
+ const result = qr;
117
+ this.data.columns.forEach((col) => {
118
+ var _a;
119
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
120
+ const entry = Reflect.get(result, col.name);
121
+ if (typeof entry === 'object' && col.fieldType === dataSoqlQueryTypes_1.FieldType.field) {
122
+ Reflect.set(result, col.name, JSON.stringify(entry, null, 2));
123
+ }
124
+ else if (typeof entry === 'object' && ((_a = col.fields) === null || _a === void 0 ? void 0 : _a.length) && entry) {
125
+ col.fields.forEach((field) => {
126
+ Reflect.set(result, `${col.name}.${field.name}`, (0, ts_types_1.get)(result, `${col.name}.records[0].${field.name}`));
127
+ });
128
+ }
129
+ });
130
+ });
111
131
  // There are subqueries or aggregates. Massage the data.
112
132
  let qr;
113
133
  if (children.length > 0 || aggregates.length > 0) {
114
134
  qr = queryResults.reduce((newResults, result) => {
115
- newResults.push(result);
116
135
  // Aggregates are soql functions that aggregate data, like "SELECT avg(total)" and
117
136
  // are returned in the data as exprX. Aggregates can have aliases, like "avg(total) totalAverage"
118
137
  // and are returned in the data as the alias.
@@ -139,15 +158,17 @@ class HumanReporter extends QueryReporter {
139
158
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
140
159
  childRecords.forEach((record) => {
141
160
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
142
- const newRecord = Object.assign({});
143
161
  Object.entries(record).forEach(([key, value]) => {
144
- Reflect.defineProperty(newRecord, `${child.toString()}.${key}`, { value });
162
+ // merge subqueries with the "parent" so they are on the same row
163
+ Reflect.defineProperty(result, `${child.toString()}.${key}`, {
164
+ value: value ? value : chalk.bold('null'),
165
+ });
145
166
  });
146
- newResults.push(newRecord);
147
167
  });
148
168
  }
149
169
  });
150
170
  }
171
+ newResults.push(result);
151
172
  return newResults;
152
173
  }, []);
153
174
  }
@@ -189,6 +210,9 @@ class CsvReporter extends QueryReporter {
189
210
  if ((0, ts_types_1.isString)(value)) {
190
211
  return this.escape(value);
191
212
  }
213
+ else if (typeof value === 'object') {
214
+ return this.escape(JSON.stringify(value));
215
+ }
192
216
  return value;
193
217
  });
194
218
  this.log(values.join(SEPARATOR));
@@ -1 +1 @@
1
- {"version":3,"file":"reporters.js","sourceRoot":"","sources":["../src/reporters.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2BAAyB;AACzB,2CAAoD;AAEpD,+BAA+B;AAC/B,mDAAoF;AACpF,6DAAyE;AAEzE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,YAAY,CAAC,CAAC;AAEhF,MAAa,QAAQ;IAInB,YAAmB,EAAM,EAAE,MAAc;QACvC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IACzC,CAAC;IAEM,GAAG,CAAC,GAAG,IAAc;QAC1B,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;IACvB,CAAC;CACF;AAZD,4BAYC;AAED,MAAa,aAAc,SAAQ,QAAQ;IAIzC,YAAmB,IAAqB,EAAE,OAAgB,EAAE,EAAM,EAAE,MAAc;QAChF,KAAK,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;QAJV,YAAO,GAAY,EAA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AC,MAAM,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF;AAZD,oCAYC;AAED;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,KAAK,EAAE,aAAa;IACpB,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,YAAY;CACnB,CAAC"}
@@ -14,5 +14,5 @@
14
14
  ],
15
15
  "updateSuccess": "Successfully updated record: %s.",
16
16
  "updateFailure": "Failed to update record. %s",
17
- "updateFailureWithFields": "Failed to update record with code %s. Fields: %s"
17
+ "updateFailureWithFields": "Failed to update record with code %s. Message: %s. Fields: %s."
18
18
  }
@@ -1 +1 @@
1
- {"version":"0.6.5","commands":{"force:data:bulk:delete":{"id":"force:data:bulk:delete","description":"bulk delete records from a csv file\nThe file must be a CSV file with only one column: \"Id\".\nOne job can contain many batches, depending on the length of the CSV file.\nReturns a job ID and a batch ID. Use these IDs to check job status with data:bulk:status.\n\n","usage":"<%= command.id %> -f <filepath> -s <string> [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:bulk:delete -s Account -f ./path/to/file.csv","sfdx force:data:bulk:delete -s MyObject__c -f ./path/to/file.csv"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"csvfile":{"name":"csvfile","type":"option","char":"f","description":"the path to the CSV file containing the ids of the records to delete","required":true},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the sObject type of the records you’re deleting","required":true},"wait":{"name":"wait","type":"option","char":"w","description":"the number of minutes to wait for the command to complete before displaying the results"}},"args":[]},"force:data:bulk:status":{"id":"force:data:bulk:status","description":"view the status of a bulk data load job or batch\nRun this command using the job ID or batch ID returned from the force:data:bulk:delete or force:data:bulk:upsert commands.","usage":"<%= command.id %> -i <string> [-b <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:bulk:status -i 750xx000000005sAAA","sfdx force:data:bulk:status -i 750xx000000005sAAA -b 751xx000000005nAAA"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"batchid":{"name":"batchid","type":"option","char":"b","description":"the ID of the batch whose status you want to view"},"jobid":{"name":"jobid","type":"option","char":"i","description":"the ID of the job you want to view or of the job whose batch you want to view","required":true}},"args":[]},"force:data:bulk:upsert":{"id":"force:data:bulk:upsert","description":"bulk upsert records from a CSV file\nInserts or updates records from a CSV file.\n\nOne job can contain many batches, depending on the length of the CSV file.\nReturns a job ID and a batch ID. Use these IDs to check job status with data:bulk:status.\n\nFor information about formatting your CSV file, see \"Prepare CSV Files\" in the Bulk API Developer Guide. \n\nBy default, the job runs the batches in parallel. Specify --serial to run them serially.","usage":"<%= command.id %> -i <string> -f <filepath> -s <string> [-w <minutes>] [-r] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:bulk:upsert -s MyObject__c -f ./path/to/file.csv -i MyField__c","sfdx force:data:bulk:upsert -s MyObject__c -f ./path/to/file.csv -i Id -w 2"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"externalid":{"name":"externalid","type":"option","char":"i","description":"the column name of the external ID","required":true},"csvfile":{"name":"csvfile","type":"option","char":"f","description":"the path to the CSV file that defines the records to upsert","required":true},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the sObject type of the records you want to upsert","required":true},"wait":{"name":"wait","type":"option","char":"w","description":"the number of minutes to wait for the command to complete before displaying the results"},"serial":{"name":"serial","type":"boolean","char":"r","description":"run batches in serial mode","allowNo":false}},"args":[]},"force:data:record:create":{"id":"force:data:record:create","description":"creates and inserts a record\nThe format of a field-value pair is <fieldName>=<value>.\nEnclose all field-value pairs in one set of double quotation marks, delimited by spaces.\nEnclose values that contain spaces in single quotes.\n\nTo get data on API performance metrics, specify both --perflog and --json.","usage":"<%= command.id %> -s <string> -v <string> [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:record:create -s Account -v \"Name=Acme\"","sfdx force:data:record:create -s Account -v \"Name='Universal Containers'\"","sfdx force:data:record:create -s Account -v \"Name='Universal Containers' Website=www.example.com\"","sfdx force:data:record:create -t -s TraceFlag -v \"DebugLevelId=7dl170000008U36AAE StartDate=2017-12-01T00:26:04.000+0000 ExpirationDate=2017-12-01T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\"","sfdx force:data:record:create -s Account -v \"Name=Acme\" --perflog --json"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the type of the record you’re creating","required":true},"values":{"name":"values","type":"option","char":"v","description":"the <fieldName>=<value> pairs you’re creating","required":true},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"create the record with tooling api","allowNo":false},"perflog":{"name":"perflog","type":"boolean","description":"get API performance data","allowNo":false}},"args":[]},"force:data:record:delete":{"id":"force:data:record:delete","description":"deletes a single record\nSpecify an sObject type and either an ID or a list of <fieldName>=<value> pairs.\nThe format of a field-value pair is <fieldName>=<value>.\nEnclose all field-value pairs in one set of double quotation marks, delimited by spaces.\nEnclose values that contain spaces in single quotes.\n\nTo get data on API performance metrics, specify both --perflog and --json.","usage":"<%= command.id %> -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:record:delete -s Account -i 001D000000Kv3dl","sfdx force:data:record:delete -s Account -w \"Name=Acme\"","sfdx force:data:record:delete -s Account -w \"Name='Universal Containers'\"","sfdx force:data:record:delete -s Account -w \"Name='Universal Containers' Phone='(123) 456-7890'\"","sfdx force:data:record:delete -t -s TraceFlag -i 7tf170000009cU6AAI --perflog --json"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the type of the record you’re deleting","required":true},"sobjectid":{"name":"sobjectid","type":"option","char":"i","description":"the ID of the record you’re deleting"},"where":{"name":"where","type":"option","char":"w","description":"a list of <fieldName>=<value> pairs to search for"},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"delete the record with Tooling API","allowNo":false},"perflog":{"name":"perflog","type":"boolean","description":"get API performance data","allowNo":false}},"args":[]},"force:data:record:get":{"id":"force:data:record:get","description":"displays a single record\nSpecify an sObject type and either an ID or a list of <fieldName>=<value> pairs.\nThe format of a field-value pair is <fieldName>=<value>.\nEnclose all field-value pairs in one set of double quotation marks, delimited by spaces.\nEnclose values that contain spaces in single quotes.\n\nTo get data on API performance metrics, specify both --perflog and --json.","usage":"<%= command.id %> -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:record:get -s Account -i 001D000000Kv3dl","sfdx force:data:record:get -s Account -w \"Name=Acme\"","sfdx force:data:record:get -s Account -w \"Name='Universal Containers'\"","sfdx force:data:record:get -s Account -w \"Name='Universal Containers' Phone='(123) 456-7890'\"","sfdx force:data:record:get -t -s TraceFlag -i 7tf170000009cUBAAY --perflog --json"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the type of the record you’re retrieving","required":true},"sobjectid":{"name":"sobjectid","type":"option","char":"i","description":"the ID of the record you’re retrieving"},"where":{"name":"where","type":"option","char":"w","description":"a list of <fieldName>=<value> pairs to search for"},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"retrieve the record with Tooling API","allowNo":false},"perflog":{"name":"perflog","type":"boolean","description":"get API performance data","allowNo":false}},"args":[]},"force:data:record:update":{"id":"force:data:record:update","description":"updates a single record\nThe format of a field-value pair is <fieldName>=<value>.\nEnclose all field-value pairs in one set of double quotation marks, delimited by spaces.\nEnclose values that contain spaces in single quotes.\n\nTo get data on API performance metrics, specify both --perflog and --json.","usage":"<%= command.id %> -s <string> -v <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:record:update -s Account -i 001D000000Kv3dl -v \"Name=NewAcme\"","sfdx force:data:record:update -s Account -w \"Name='Old Acme'\" -v \"Name='New Acme'\"","sfdx force:data:record:update -s Account -i 001D000000Kv3dl -v \"Name='Acme III' Website=www.example.com\"","sfdx force:data:record:update -t -s TraceFlag -i 7tf170000009cUBAAY -v \"ExpirationDate=2017-12-01T00:58:04.000+0000\"","sfdx force:data:record:update -s Account -i 001D000000Kv3dl -v \"Name=NewAcme\" --perflog --json"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the sObject type of the record you’re updating","required":true},"sobjectid":{"name":"sobjectid","type":"option","char":"i","description":"the ID of the record you’re updating"},"where":{"name":"where","type":"option","char":"w","description":"a list of <fieldName>=<value> pairs to search for"},"values":{"name":"values","type":"option","char":"v","description":"the <fieldName>=<value> pairs you’re updating","required":true},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"update the record with Tooling API","allowNo":false},"perflog":{"name":"perflog","type":"boolean","description":"get API performance data","allowNo":false}},"args":[]},"force:data:soql:query":{"id":"force:data:soql:query","description":"execute a SOQL query\nWhen you execute this command in a project, it executes the query against the data in your default scratch org.\n\nTo get data on API performance metrics, specify both --perflog and --json.\n\n","usage":"<%= command.id %> -q <string> [-t] [-r human|csv|json] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:soql:query -q \"SELECT Id, Name, Account.Name FROM Contact\"","sfdx force:data:soql:query -q \"SELECT Id, Name FROM Account WHERE ShippingState IN ('CA', 'NY')\"","sfdx force:data:soql:query -q \"SELECT Id, Name FROM Account WHERE ShippingState IN ('CA', 'NY')\" --perflog --json","sfdx force:data:soql:query -q \"SELECT Name FROM ApexTrigger\" -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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"query":{"name":"query","type":"option","char":"q","description":"SOQL query to execute","required":true},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"execute query with Tooling API","allowNo":false},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"result format emitted to stdout; --json flag overrides this parameter","helpValue":"(human|csv|json)","options":["human","csv","json"],"default":"human"},"perflog":{"name":"perflog","type":"boolean","description":"get API performance data","allowNo":false}},"args":[]},"force:data:tree:export":{"id":"force:data:tree:export","description":"export data from an org\nExports data from an org into sObject tree format for use with the force:data:tree:import command.\nThe query for export can return a maximum of 2,000 records. For more information, see the REST API Developer Guide: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm","usage":"<%= command.id %> -q <string> [-p] [-x <string>] [-d <directory>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:tree:export -q \"SELECT Id, Name, (SELECT Name, Address__c FROM Properties__r) FROM Broker__c\"","sfdx force:data:tree:export -q <path to file containing soql query> -x export-demo -d /tmp/sfdx-out -p"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"query":{"name":"query","type":"option","char":"q","description":"soql query, or filepath of file containing a soql query, to retrieve records","required":true},"plan":{"name":"plan","type":"boolean","char":"p","description":"generate mulitple sobject tree files and a plan definition file for aggregated import","allowNo":false},"prefix":{"name":"prefix","type":"option","char":"x","description":"prefix of generated files"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store files'"}},"args":[]},"force:data:tree:import":{"id":"force:data:tree:import","description":"import data into an org\nIMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.\n\nImports data into an org using the SObject Tree Save API. This data can include master-detail relationships.\nTo generate JSON files for use with force:data:tree:import, run \"sfdx force:data:tree:export\".\nThe SObject Tree API supports requests that contain up to 200 records. For more information, see the REST API Developer Guide: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm","usage":"<%= command.id %> [-f <array> | -p <filepath>] [--confighelp] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:tree:import -f Contact.json,Account.json -u me@my.org","sfdx force:data:tree:import -p Account-Contact-plan.json -u me@my.org"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttreefiles":{"name":"sobjecttreefiles","type":"option","char":"f","description":"comma-delimited, ordered paths of json files containing collection of record trees to insert"},"plan":{"name":"plan","type":"option","char":"p","description":"path to plan to insert multiple data files that have master-detail relationships"},"contenttype":{"name":"contenttype","type":"option","char":"c","description":"if data file extension is not .json, provide content type (applies to all files)","hidden":true},"confighelp":{"name":"confighelp","type":"boolean","description":"display schema information for the --plan configuration file to stdout; if you use this option, all other options except --json are ignored","allowNo":false}},"args":[]}}}
1
+ {"version":"0.6.9","commands":{"force:data:bulk:delete":{"id":"force:data:bulk:delete","description":"bulk delete records from a csv file\nThe file must be a CSV file with only one column: \"Id\".\nOne job can contain many batches, depending on the length of the CSV file.\nReturns a job ID and a batch ID. Use these IDs to check job status with data:bulk:status.\n\n","usage":"<%= command.id %> -f <filepath> -s <string> [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:bulk:delete -s Account -f ./path/to/file.csv","sfdx force:data:bulk:delete -s MyObject__c -f ./path/to/file.csv"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"csvfile":{"name":"csvfile","type":"option","char":"f","description":"the path to the CSV file containing the ids of the records to delete","required":true},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the sObject type of the records you’re deleting","required":true},"wait":{"name":"wait","type":"option","char":"w","description":"the number of minutes to wait for the command to complete before displaying the results"}},"args":[]},"force:data:bulk:status":{"id":"force:data:bulk:status","description":"view the status of a bulk data load job or batch\nRun this command using the job ID or batch ID returned from the force:data:bulk:delete or force:data:bulk:upsert commands.","usage":"<%= command.id %> -i <string> [-b <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:bulk:status -i 750xx000000005sAAA","sfdx force:data:bulk:status -i 750xx000000005sAAA -b 751xx000000005nAAA"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"batchid":{"name":"batchid","type":"option","char":"b","description":"the ID of the batch whose status you want to view"},"jobid":{"name":"jobid","type":"option","char":"i","description":"the ID of the job you want to view or of the job whose batch you want to view","required":true}},"args":[]},"force:data:bulk:upsert":{"id":"force:data:bulk:upsert","description":"bulk upsert records from a CSV file\nInserts or updates records from a CSV file.\n\nOne job can contain many batches, depending on the length of the CSV file.\nReturns a job ID and a batch ID. Use these IDs to check job status with data:bulk:status.\n\nFor information about formatting your CSV file, see \"Prepare CSV Files\" in the Bulk API Developer Guide. \n\nBy default, the job runs the batches in parallel. Specify --serial to run them serially.","usage":"<%= command.id %> -i <string> -f <filepath> -s <string> [-w <minutes>] [-r] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:bulk:upsert -s MyObject__c -f ./path/to/file.csv -i MyField__c","sfdx force:data:bulk:upsert -s MyObject__c -f ./path/to/file.csv -i Id -w 2"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"externalid":{"name":"externalid","type":"option","char":"i","description":"the column name of the external ID","required":true},"csvfile":{"name":"csvfile","type":"option","char":"f","description":"the path to the CSV file that defines the records to upsert","required":true},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the sObject type of the records you want to upsert","required":true},"wait":{"name":"wait","type":"option","char":"w","description":"the number of minutes to wait for the command to complete before displaying the results"},"serial":{"name":"serial","type":"boolean","char":"r","description":"run batches in serial mode","allowNo":false}},"args":[]},"force:data:record:create":{"id":"force:data:record:create","description":"creates and inserts a record\nThe format of a field-value pair is <fieldName>=<value>.\nEnclose all field-value pairs in one set of double quotation marks, delimited by spaces.\nEnclose values that contain spaces in single quotes.\n\nTo get data on API performance metrics, specify both --perflog and --json.","usage":"<%= command.id %> -s <string> -v <string> [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:record:create -s Account -v \"Name=Acme\"","sfdx force:data:record:create -s Account -v \"Name='Universal Containers'\"","sfdx force:data:record:create -s Account -v \"Name='Universal Containers' Website=www.example.com\"","sfdx force:data:record:create -t -s TraceFlag -v \"DebugLevelId=7dl170000008U36AAE StartDate=2017-12-01T00:26:04.000+0000 ExpirationDate=2017-12-01T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\"","sfdx force:data:record:create -s Account -v \"Name=Acme\" --perflog --json"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the type of the record you’re creating","required":true},"values":{"name":"values","type":"option","char":"v","description":"the <fieldName>=<value> pairs you’re creating","required":true},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"create the record with tooling api","allowNo":false},"perflog":{"name":"perflog","type":"boolean","description":"get API performance data","allowNo":false}},"args":[]},"force:data:record:delete":{"id":"force:data:record:delete","description":"deletes a single record\nSpecify an sObject type and either an ID or a list of <fieldName>=<value> pairs.\nThe format of a field-value pair is <fieldName>=<value>.\nEnclose all field-value pairs in one set of double quotation marks, delimited by spaces.\nEnclose values that contain spaces in single quotes.\n\nTo get data on API performance metrics, specify both --perflog and --json.","usage":"<%= command.id %> -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:record:delete -s Account -i 001D000000Kv3dl","sfdx force:data:record:delete -s Account -w \"Name=Acme\"","sfdx force:data:record:delete -s Account -w \"Name='Universal Containers'\"","sfdx force:data:record:delete -s Account -w \"Name='Universal Containers' Phone='(123) 456-7890'\"","sfdx force:data:record:delete -t -s TraceFlag -i 7tf170000009cU6AAI --perflog --json"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the type of the record you’re deleting","required":true},"sobjectid":{"name":"sobjectid","type":"option","char":"i","description":"the ID of the record you’re deleting"},"where":{"name":"where","type":"option","char":"w","description":"a list of <fieldName>=<value> pairs to search for"},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"delete the record with Tooling API","allowNo":false},"perflog":{"name":"perflog","type":"boolean","description":"get API performance data","allowNo":false}},"args":[]},"force:data:record:get":{"id":"force:data:record:get","description":"displays a single record\nSpecify an sObject type and either an ID or a list of <fieldName>=<value> pairs.\nThe format of a field-value pair is <fieldName>=<value>.\nEnclose all field-value pairs in one set of double quotation marks, delimited by spaces.\nEnclose values that contain spaces in single quotes.\n\nTo get data on API performance metrics, specify both --perflog and --json.","usage":"<%= command.id %> -s <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:record:get -s Account -i 001D000000Kv3dl","sfdx force:data:record:get -s Account -w \"Name=Acme\"","sfdx force:data:record:get -s Account -w \"Name='Universal Containers'\"","sfdx force:data:record:get -s Account -w \"Name='Universal Containers' Phone='(123) 456-7890'\"","sfdx force:data:record:get -t -s TraceFlag -i 7tf170000009cUBAAY --perflog --json"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the type of the record you’re retrieving","required":true},"sobjectid":{"name":"sobjectid","type":"option","char":"i","description":"the ID of the record you’re retrieving"},"where":{"name":"where","type":"option","char":"w","description":"a list of <fieldName>=<value> pairs to search for"},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"retrieve the record with Tooling API","allowNo":false},"perflog":{"name":"perflog","type":"boolean","description":"get API performance data","allowNo":false}},"args":[]},"force:data:record:update":{"id":"force:data:record:update","description":"updates a single record\nThe format of a field-value pair is <fieldName>=<value>.\nEnclose all field-value pairs in one set of double quotation marks, delimited by spaces.\nEnclose values that contain spaces in single quotes.\n\nTo get data on API performance metrics, specify both --perflog and --json.","usage":"<%= command.id %> -s <string> -v <string> [-i <id> | -w <string>] [-t] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:record:update -s Account -i 001D000000Kv3dl -v \"Name=NewAcme\"","sfdx force:data:record:update -s Account -w \"Name='Old Acme'\" -v \"Name='New Acme'\"","sfdx force:data:record:update -s Account -i 001D000000Kv3dl -v \"Name='Acme III' Website=www.example.com\"","sfdx force:data:record:update -t -s TraceFlag -i 7tf170000009cUBAAY -v \"ExpirationDate=2017-12-01T00:58:04.000+0000\"","sfdx force:data:record:update -s Account -i 001D000000Kv3dl -v \"Name=NewAcme\" --perflog --json"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttype":{"name":"sobjecttype","type":"option","char":"s","description":"the sObject type of the record you’re updating","required":true},"sobjectid":{"name":"sobjectid","type":"option","char":"i","description":"the ID of the record you’re updating"},"where":{"name":"where","type":"option","char":"w","description":"a list of <fieldName>=<value> pairs to search for"},"values":{"name":"values","type":"option","char":"v","description":"the <fieldName>=<value> pairs you’re updating","required":true},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"update the record with Tooling API","allowNo":false},"perflog":{"name":"perflog","type":"boolean","description":"get API performance data","allowNo":false}},"args":[]},"force:data:soql:query":{"id":"force:data:soql:query","description":"execute a SOQL query\nWhen you execute this command in a project, it executes the query against the data in your default scratch org.\n\nTo get data on API performance metrics, specify both --perflog and --json.\n\n","usage":"<%= command.id %> -q <string> [-t] [-r human|csv|json] [--perflog --json] [-u <string>] [--apiversion <string>] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:soql:query -q \"SELECT Id, Name, Account.Name FROM Contact\"","sfdx force:data:soql:query -q \"SELECT Id, Name FROM Account WHERE ShippingState IN ('CA', 'NY')\"","sfdx force:data:soql:query -q \"SELECT Id, Name FROM Account WHERE ShippingState IN ('CA', 'NY')\" --perflog --json","sfdx force:data:soql:query -q \"SELECT Name FROM ApexTrigger\" -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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"query":{"name":"query","type":"option","char":"q","description":"SOQL query to execute","required":true},"usetoolingapi":{"name":"usetoolingapi","type":"boolean","char":"t","description":"execute query with Tooling API","allowNo":false},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"result format emitted to stdout; --json flag overrides this parameter","helpValue":"(human|csv|json)","options":["human","csv","json"],"default":"human"},"perflog":{"name":"perflog","type":"boolean","description":"get API performance data","allowNo":false}},"args":[]},"force:data:tree:export":{"id":"force:data:tree:export","description":"export data from an org\nExports data from an org into sObject tree format for use with the force:data:tree:import command.\nThe query for export can return a maximum of 2,000 records. For more information, see the REST API Developer Guide: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm","usage":"<%= command.id %> -q <string> [-p] [-x <string>] [-d <directory>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:tree:export -q \"SELECT Id, Name, (SELECT Name, Address__c FROM Properties__r) FROM Broker__c\"","sfdx force:data:tree:export -q <path to file containing soql query> -x export-demo -d /tmp/sfdx-out -p"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"query":{"name":"query","type":"option","char":"q","description":"soql query, or filepath of file containing a soql query, to retrieve records","required":true},"plan":{"name":"plan","type":"boolean","char":"p","description":"generate mulitple sobject tree files and a plan definition file for aggregated import","allowNo":false},"prefix":{"name":"prefix","type":"option","char":"x","description":"prefix of generated files"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store files'"}},"args":[]},"force:data:tree:import":{"id":"force:data:tree:import","description":"import data into an org\nIMPORTANT: Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.\n\nImports data into an org using the SObject Tree Save API. This data can include master-detail relationships.\nTo generate JSON files for use with force:data:tree:import, run \"sfdx force:data:tree:export\".\nThe SObject Tree API supports requests that contain up to 200 records. For more information, see the REST API Developer Guide: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm","usage":"<%= command.id %> [-f <array> | -p <filepath>] [--confighelp] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-data","pluginType":"core","aliases":[],"examples":["sfdx force:data:tree:import -f Contact.json,Account.json -u me@my.org","sfdx force:data:tree:import -p Account-Contact-plan.json -u me@my.org"],"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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"sobjecttreefiles":{"name":"sobjecttreefiles","type":"option","char":"f","description":"comma-delimited, ordered paths of json files containing collection of record trees to insert"},"plan":{"name":"plan","type":"option","char":"p","description":"path to plan to insert multiple data files that have master-detail relationships"},"contenttype":{"name":"contenttype","type":"option","char":"c","description":"if data file extension is not .json, provide content type (applies to all files)","hidden":true},"confighelp":{"name":"confighelp","type":"boolean","description":"display schema information for the --plan configuration file to stdout; if you use this option, all other options except --json are ignored","allowNo":false}},"args":[]}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-data",
3
- "version": "0.6.5",
3
+ "version": "0.6.9",
4
4
  "description": "Plugin for salesforce data commands",
5
5
  "author": "Salesforce",
6
6
  "homepage": "https://github.com/salesforcecli/plugin-data",
@@ -84,8 +84,8 @@
84
84
  },
85
85
  "dependencies": {
86
86
  "@oclif/config": "^1",
87
- "@salesforce/command": "^4.1.3",
88
- "@salesforce/core": "^2.28.0",
87
+ "@salesforce/command": "^4.2.0",
88
+ "@salesforce/core": "^2.33.1",
89
89
  "@salesforce/ts-types": "^1.5.20",
90
90
  "chalk": "^4.1.0",
91
91
  "csv-parse": "^4.16.3",
@@ -94,15 +94,15 @@
94
94
  "devDependencies": {
95
95
  "@oclif/dev-cli": "^1",
96
96
  "@oclif/plugin-command-snapshot": "^2.1.1",
97
- "@salesforce/cli-plugins-testkit": "^1.4.10",
97
+ "@salesforce/cli-plugins-testkit": "^1.4.24",
98
98
  "@salesforce/dev-config": "^2.1.2",
99
- "@salesforce/dev-scripts": "0.9.18",
99
+ "@salesforce/dev-scripts": "1.0.2",
100
100
  "@salesforce/plugin-command-reference": "^1.3.0",
101
101
  "@salesforce/prettier-config": "^0.0.2",
102
102
  "@salesforce/ts-sinon": "^1.3.15",
103
103
  "@types/chai-as-promised": "^7.1.3",
104
104
  "@types/graceful-fs": "^4.1.5",
105
- "@types/jsforce": "^1.9.35",
105
+ "@types/jsforce": "^1.9.38",
106
106
  "@types/mkdirp": "^1.0.1",
107
107
  "@typescript-eslint/eslint-plugin": "^4.33.0",
108
108
  "@typescript-eslint/parser": "^4.33.0",
@@ -115,11 +115,11 @@
115
115
  "eslint-config-salesforce-license": "^0.1.6",
116
116
  "eslint-config-salesforce-typescript": "^0.2.7",
117
117
  "eslint-plugin-header": "^3.1.1",
118
- "eslint-plugin-import": "2.25.2",
118
+ "eslint-plugin-import": "2.25.3",
119
119
  "eslint-plugin-jsdoc": "^35.1.3",
120
120
  "eslint-plugin-prettier": "^3.1.3",
121
121
  "fast-xml-parser": "^3.20.3",
122
- "husky": "^4.3.8",
122
+ "husky": "^7.0.4",
123
123
  "mocha": "^8.4.0",
124
124
  "nyc": "^15.1.0",
125
125
  "prettier": "^2.4.1",
@@ -129,15 +129,8 @@
129
129
  "ts-node": "^10.0.0",
130
130
  "typescript": "^4.1.3"
131
131
  },
132
- "husky": {
133
- "hooks": {
134
- "commit-msg": "sf-husky-commit-msg",
135
- "pre-commit": "sf-husky-pre-commit",
136
- "pre-push": "sf-husky-pre-push"
137
- }
138
- },
139
132
  "sfdx": {
140
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/0.6.5.crt",
141
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/0.6.5.sig"
133
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/0.6.9.crt",
134
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/0.6.9.sig"
142
135
  }
143
136
  }