@@ -100,9 +100,9 @@ For more template examples: https://github.com/k-capehart/kc-sf-plugin/tree/main
100
100
## List of Commands
101
101
102
102
<!-- commands -->
103
-
104
- - [ ` sf kc diff ` ] ( #sf-kc-diff )
105
- - [ ` sf kc trigger-framework ` ] ( #sf-kc-trigger-framework )
103
+ * [ ` sf kc diff ` ] ( #sf-kc-diff )
104
+ * [ ` sf kc trigger-framework ` ] ( #sf-kc-trigger-framework )
105
+ * [ ` sf kc update-api ` ] ( #sf-kc-update-api )
106
106
107
107
## ` sf kc diff `
108
108
@@ -145,7 +145,7 @@ FLAG DESCRIPTIONS
145
145
Ignore files by placing them in your .forceignore and using this flag.
146
146
```
147
147
148
- _ See code: [ src/commands/kc/diff.ts] ( https://github.com/k-capehart/kc-sf-plugin/blob/1.4.10 /src/commands/kc/diff.ts ) _
148
+ _ See code: [ src/commands/kc/diff.ts] ( https://github.com/k-capehart/kc-sf-plugin/blob/1.4.11 /src/commands/kc/diff.ts ) _
149
149
150
150
## ` sf kc trigger-framework `
151
151
@@ -186,8 +186,43 @@ EXAMPLES
186
186
$ sf kc trigger-framework --custom-template templates/ --sobject Account
187
187
```
188
188
189
- _ See code: [ src/commands/kc/trigger-framework.ts] ( https://github.com/k-capehart/kc-sf-plugin/blob/1.4.10/src/commands/kc/trigger-framework.ts ) _
189
+ _ See code: [ src/commands/kc/trigger-framework.ts] ( https://github.com/k-capehart/kc-sf-plugin/blob/1.4.11/src/commands/kc/trigger-framework.ts ) _
190
+
191
+ ## ` sf kc update-api `
192
+
193
+ Update the API version of Apex classes, triggers, and flows.
194
+
195
+ ```
196
+ USAGE
197
+ $ sf kc update-api -t classes|triggers|flows... -v <value> [--json] [--flags-dir <value>] [-d <value>]
198
+
199
+ FLAGS
200
+ -d, --target-dir=<value> [default: force-app/main/default] The target directory for your salesforce project.
201
+ -t, --type=<option>... (required) The component type whose API version should be updated.
202
+ <options: classes|triggers|flows>
203
+ -v, --api-version=<value> (required) The minimum required API version that components should satisfy.
204
+
205
+ GLOBAL FLAGS
206
+ --flags-dir=<value> Import flag values from a directory.
207
+ --json Format output as json.
208
+
209
+ DESCRIPTION
210
+ Update the API version of Apex classes, triggers, and flows.
211
+
212
+ Parse through a SFDX project and update the API version for Apex classes, triggers and flows to a specified version.
213
+ The API version must be a valid version that is not deprecated.
214
+
215
+ EXAMPLES
216
+ Update all apex classes and triggers to be at least version 61.0.
217
+ - sf kc update-api --type classes --type triggers --api-version 61.0
218
+
219
+ FLAG DESCRIPTIONS
220
+ -v, --api-version=<value> The minimum required API version that components should satisfy.
221
+
222
+ Override the api version used for api requests made by this command
223
+ ```
190
224
225
+ _ See code: [ src/commands/kc/update-api.ts] ( https://github.com/k-capehart/kc-sf-plugin/blob/1.4.11/src/commands/kc/update-api.ts ) _
191
226
<!-- commandsstop -->
192
227
193
228
## Build
0 commit comments