@salesforce/plugin-orchestrator 1.0.0 → 1.0.7

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.
Files changed (83) hide show
  1. package/LICENSE.txt +200 -6
  2. package/README.md +6 -6
  3. package/lib/commands/orchestrator/{create/app.js → app/create.js} +14 -5
  4. package/lib/commands/orchestrator/app/create.js.map +1 -0
  5. package/lib/commands/orchestrator/{delete/app.js → app/delete.js} +14 -5
  6. package/lib/commands/orchestrator/app/delete.js.map +1 -0
  7. package/lib/commands/orchestrator/{display/app.js → app/display.js} +14 -5
  8. package/lib/commands/orchestrator/app/display.js.map +1 -0
  9. package/lib/commands/orchestrator/{list/app.js → app/list.js} +14 -5
  10. package/lib/commands/orchestrator/app/list.js.map +1 -0
  11. package/lib/commands/orchestrator/{update/app.js → app/update.js} +14 -5
  12. package/lib/commands/orchestrator/app/update.js.map +1 -0
  13. package/lib/commands/orchestrator/template/create.d.ts +1 -1
  14. package/lib/commands/orchestrator/template/create.js +16 -7
  15. package/lib/commands/orchestrator/template/create.js.map +1 -1
  16. package/lib/commands/orchestrator/template/delete.d.ts +1 -1
  17. package/lib/commands/orchestrator/template/delete.js +16 -7
  18. package/lib/commands/orchestrator/template/delete.js.map +1 -1
  19. package/lib/commands/orchestrator/template/display.d.ts +1 -1
  20. package/lib/commands/orchestrator/template/display.js +16 -7
  21. package/lib/commands/orchestrator/template/display.js.map +1 -1
  22. package/lib/commands/orchestrator/template/list.d.ts +2 -1
  23. package/lib/commands/orchestrator/template/list.js +18 -7
  24. package/lib/commands/orchestrator/template/list.js.map +1 -1
  25. package/lib/commands/orchestrator/template/update.d.ts +1 -1
  26. package/lib/commands/orchestrator/template/update.js +16 -7
  27. package/lib/commands/orchestrator/template/update.js.map +1 -1
  28. package/lib/index.js +13 -4
  29. package/lib/index.js.map +1 -1
  30. package/lib/utils/app/appDisplayUtil.js +14 -5
  31. package/lib/utils/app/appDisplayUtil.js.map +1 -1
  32. package/lib/utils/app/appListUtils.js.map +1 -1
  33. package/lib/utils/app/appTypes.js +13 -4
  34. package/lib/utils/app/appTypes.js.map +1 -1
  35. package/lib/utils/app/appframeworkapp.js.map +1 -1
  36. package/lib/utils/display/displayUtil.js +13 -4
  37. package/lib/utils/display/displayUtil.js.map +1 -1
  38. package/lib/utils/request.js.map +1 -1
  39. package/lib/utils/template/appframeworktemplate.js.map +1 -1
  40. package/lib/utils/template/templateDisplayUtil.js +14 -5
  41. package/lib/utils/template/templateDisplayUtil.js.map +1 -1
  42. package/lib/utils/template/templateHighlighter.js +13 -4
  43. package/lib/utils/template/templateHighlighter.js.map +1 -1
  44. package/lib/utils/template/templateListUtils.js.map +1 -1
  45. package/lib/utils/template/templateTypes.js +13 -4
  46. package/lib/utils/template/templateTypes.js.map +1 -1
  47. package/lib/utils/utils.js +13 -4
  48. package/lib/utils/utils.js.map +1 -1
  49. package/messages/appframework.list.template.md +1 -1
  50. package/messages/appframework.template.list.md +1 -1
  51. package/npm-shrinkwrap.json +217 -218
  52. package/oclif.lock +215 -205
  53. package/oclif.manifest.json +238 -851
  54. package/package.json +15 -28
  55. package/LICENSE +0 -28
  56. package/lib/commands/orchestrator/create/app.js.map +0 -1
  57. package/lib/commands/orchestrator/create/template.d.ts +0 -17
  58. package/lib/commands/orchestrator/create/template.js +0 -96
  59. package/lib/commands/orchestrator/create/template.js.map +0 -1
  60. package/lib/commands/orchestrator/decouple/app.d.ts +0 -14
  61. package/lib/commands/orchestrator/decouple/app.js +0 -106
  62. package/lib/commands/orchestrator/decouple/app.js.map +0 -1
  63. package/lib/commands/orchestrator/delete/app.js.map +0 -1
  64. package/lib/commands/orchestrator/delete/template.d.ts +0 -15
  65. package/lib/commands/orchestrator/delete/template.js +0 -108
  66. package/lib/commands/orchestrator/delete/template.js.map +0 -1
  67. package/lib/commands/orchestrator/display/app.js.map +0 -1
  68. package/lib/commands/orchestrator/display/template.d.ts +0 -15
  69. package/lib/commands/orchestrator/display/template.js +0 -105
  70. package/lib/commands/orchestrator/display/template.js.map +0 -1
  71. package/lib/commands/orchestrator/list/app.js.map +0 -1
  72. package/lib/commands/orchestrator/list/template.d.ts +0 -14
  73. package/lib/commands/orchestrator/list/template.js +0 -64
  74. package/lib/commands/orchestrator/list/template.js.map +0 -1
  75. package/lib/commands/orchestrator/update/app.js.map +0 -1
  76. package/lib/commands/orchestrator/update/template.d.ts +0 -17
  77. package/lib/commands/orchestrator/update/template.js +0 -107
  78. package/lib/commands/orchestrator/update/template.js.map +0 -1
  79. /package/lib/commands/orchestrator/{create/app.d.ts → app/create.d.ts} +0 -0
  80. /package/lib/commands/orchestrator/{delete/app.d.ts → app/delete.d.ts} +0 -0
  81. /package/lib/commands/orchestrator/{display/app.d.ts → app/display.d.ts} +0 -0
  82. /package/lib/commands/orchestrator/{list/app.d.ts → app/list.d.ts} +0 -0
  83. /package/lib/commands/orchestrator/{update/app.d.ts → app/update.d.ts} +0 -0
@@ -1,102 +1,6 @@
1
1
  {
2
2
  "commands": {
3
- "orchestrator:decouple:app": {
4
- "aliases": [],
5
- "args": {},
6
- "description": "Decouples an AppFramework app from its template. This allows the app to be modified independently without being affected by template updates. You must specify either the app-id or app-name flag to identify the app to decouple.",
7
- "examples": [
8
- "Decouple an app by ID:\n<%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001",
9
- "Decouple an app by name:\n<%= config.bin %> <%= command.id %> --app-name \"My App\""
10
- ],
11
- "flags": {
12
- "json": {
13
- "description": "Format output as json.",
14
- "helpGroup": "GLOBAL",
15
- "name": "json",
16
- "allowNo": false,
17
- "type": "boolean"
18
- },
19
- "flags-dir": {
20
- "helpGroup": "GLOBAL",
21
- "name": "flags-dir",
22
- "summary": "Import flag values from a directory.",
23
- "hasDynamicHelp": false,
24
- "multiple": false,
25
- "type": "option"
26
- },
27
- "target-org": {
28
- "char": "o",
29
- "description": "Overrides your default org.",
30
- "name": "target-org",
31
- "noCacheDefault": true,
32
- "required": true,
33
- "summary": "Login username or alias for the target org.",
34
- "hasDynamicHelp": true,
35
- "multiple": false,
36
- "type": "option"
37
- },
38
- "api-version": {
39
- "description": "Override the api version used for api requests made by this command.",
40
- "name": "api-version",
41
- "summary": "Override the api version used for api requests made by this command.",
42
- "hasDynamicHelp": false,
43
- "multiple": false,
44
- "type": "option"
45
- },
46
- "app-id": {
47
- "char": "i",
48
- "description": "Specify the ID of the app to decouple. Either this or app-name is required.",
49
- "exclusive": [
50
- "app-name"
51
- ],
52
- "name": "app-id",
53
- "summary": "ID of the app to decouple.",
54
- "hasDynamicHelp": false,
55
- "multiple": false,
56
- "type": "option"
57
- },
58
- "app-name": {
59
- "char": "n",
60
- "description": "Specify the name of the app to decouple. Either this or app-id is required.",
61
- "exclusive": [
62
- "app-id"
63
- ],
64
- "name": "app-name",
65
- "summary": "Name of the app to decouple.",
66
- "hasDynamicHelp": false,
67
- "multiple": false,
68
- "type": "option"
69
- }
70
- },
71
- "hasDynamicHelp": true,
72
- "hiddenAliases": [],
73
- "id": "orchestrator:decouple:app",
74
- "pluginAlias": "@salesforce/plugin-orchestrator",
75
- "pluginName": "@salesforce/plugin-orchestrator",
76
- "pluginType": "core",
77
- "state": "preview",
78
- "strict": true,
79
- "summary": "Decouple an AppFramework app from its template.",
80
- "enableJsonFlag": true,
81
- "isESM": true,
82
- "relativePath": [
83
- "lib",
84
- "commands",
85
- "orchestrator",
86
- "decouple",
87
- "app.js"
88
- ],
89
- "aliasPermutations": [],
90
- "permutations": [
91
- "orchestrator:decouple:app",
92
- "decouple:orchestrator:app",
93
- "decouple:app:orchestrator",
94
- "orchestrator:app:decouple",
95
- "app:orchestrator:decouple",
96
- "app:decouple:orchestrator"
97
- ]
98
- },
99
- "orchestrator:create:app": {
3
+ "orchestrator:app:create": {
100
4
  "aliases": [],
101
5
  "args": {},
102
6
  "description": "Creates a new app from an existing template. The app will be initialized with the configuration defined in the template.",
@@ -223,7 +127,7 @@
223
127
  },
224
128
  "hasDynamicHelp": true,
225
129
  "hiddenAliases": [],
226
- "id": "orchestrator:create:app",
130
+ "id": "orchestrator:app:create",
227
131
  "pluginAlias": "@salesforce/plugin-orchestrator",
228
132
  "pluginName": "@salesforce/plugin-orchestrator",
229
133
  "pluginType": "core",
@@ -236,28 +140,26 @@
236
140
  "lib",
237
141
  "commands",
238
142
  "orchestrator",
239
- "create",
240
- "app.js"
143
+ "app",
144
+ "create.js"
241
145
  ],
242
146
  "aliasPermutations": [],
243
147
  "permutations": [
244
- "orchestrator:create:app",
245
- "create:orchestrator:app",
246
- "create:app:orchestrator",
247
148
  "orchestrator:app:create",
248
149
  "app:orchestrator:create",
249
- "app:create:orchestrator"
150
+ "app:create:orchestrator",
151
+ "orchestrator:create:app",
152
+ "create:orchestrator:app",
153
+ "create:app:orchestrator"
250
154
  ]
251
155
  },
252
- "orchestrator:create:template": {
156
+ "orchestrator:app:delete": {
253
157
  "aliases": [],
254
158
  "args": {},
255
- "description": "Creates a new empty template that can be customized. Templates allow you to define reusable configurations for AppFramework applications.",
159
+ "description": "Deletes an app from AppFramework. Either the app ID or app name must be provided to identify the app.",
256
160
  "examples": [
257
- "<%= config.bin %> <%= command.id %> --target-org myOrg --name \"my_template\"",
258
- "<%= config.bin %> <%= command.id %> --target-org myOrg --name \"sales_template\" --type app --label \"My Custom Template\"",
259
- "<%= config.bin %> <%= command.id %> --target-org myOrg --name \"dashboard_template\" --type dashboard --subtype \"analytics\"",
260
- "<%= config.bin %> <%= command.id %> --target-org myOrg --name \"analytics_template\" --type app --subtype \"tableau\" --label \"Sales Template\" --description \"Template for sales analytics apps\""
161
+ "Delete an app using its ID:\n<%= config.bin %> <%= command.id %> --app-id 01t5e000006lOjDAA2",
162
+ "Delete an app using its name:\n<%= config.bin %> <%= command.id %> --app-name MyAppName"
261
163
  ],
262
164
  "flags": {
263
165
  "json": {
@@ -277,112 +179,91 @@
277
179
  },
278
180
  "target-org": {
279
181
  "char": "o",
280
- "description": "The target org to connect to for creating the template.",
182
+ "description": "Overrides your default org.",
281
183
  "name": "target-org",
282
184
  "noCacheDefault": true,
283
185
  "required": true,
284
- "summary": "Login username or alias for the target org",
186
+ "summary": "Login username or alias for the target org.",
285
187
  "hasDynamicHelp": true,
286
188
  "multiple": false,
287
189
  "type": "option"
288
190
  },
289
191
  "api-version": {
290
- "description": "Override the api version used for api requests to the app framework.",
192
+ "description": "Override the api version used for api requests made by this command.",
291
193
  "name": "api-version",
292
- "summary": "Override the api version used for api requests",
293
- "hasDynamicHelp": false,
294
- "multiple": false,
295
- "type": "option"
296
- },
297
- "name": {
298
- "char": "n",
299
- "description": "A unique identifier for the template. Must be unique within your org.",
300
- "name": "name",
301
- "required": true,
302
- "summary": "Name for the new template (required)",
194
+ "summary": "Override the api version used for api requests made by this command.",
303
195
  "hasDynamicHelp": false,
304
196
  "multiple": false,
305
197
  "type": "option"
306
198
  },
307
- "type": {
308
- "char": "t",
309
- "description": "Specifies the type of template to create. Valid options are: app, component, dashboard, or lens. Defaults to 'app' if not specified.",
310
- "name": "type",
311
- "summary": "Type of template to create",
312
- "default": "app",
313
- "hasDynamicHelp": false,
314
- "multiple": false,
315
- "options": [
316
- "app",
317
- "component",
318
- "dashboard",
319
- "lens"
199
+ "app-id": {
200
+ "char": "i",
201
+ "description": "Specify the ID of the app to delete. Either this or --app-name is required.",
202
+ "exclusive": [
203
+ "app-name"
320
204
  ],
321
- "type": "option"
322
- },
323
- "subtype": {
324
- "char": "s",
325
- "description": "An optional subtype categorization for the template (e.g., 'tableau' for app templates).",
326
- "name": "subtype",
327
- "summary": "Subtype for the template",
205
+ "name": "app-id",
206
+ "summary": "ID of the app to delete.",
328
207
  "hasDynamicHelp": false,
329
208
  "multiple": false,
330
209
  "type": "option"
331
210
  },
332
- "label": {
333
- "char": "l",
334
- "description": "A human-readable label for the template. This is displayed in the Analytics Studio UI.",
335
- "name": "label",
336
- "summary": "Label for the new template",
211
+ "app-name": {
212
+ "char": "n",
213
+ "description": "Specify the name of the app to delete. Either this or --app-id is required.",
214
+ "exclusive": [
215
+ "app-id"
216
+ ],
217
+ "name": "app-name",
218
+ "summary": "Name of the app to delete.",
337
219
  "hasDynamicHelp": false,
338
220
  "multiple": false,
339
221
  "type": "option"
340
222
  },
341
- "description": {
342
- "char": "d",
343
- "description": "A description of what the template does. This is displayed in the Analytics Studio UI.",
344
- "name": "description",
345
- "summary": "Description of the new template",
346
- "hasDynamicHelp": false,
347
- "multiple": false,
348
- "type": "option"
223
+ "no-prompt": {
224
+ "char": "p",
225
+ "description": "Disables the confirmation prompt that normally appears before deleting an app. Use with caution.",
226
+ "name": "no-prompt",
227
+ "summary": "Skip confirmation prompt before deleting.",
228
+ "allowNo": false,
229
+ "type": "boolean"
349
230
  }
350
231
  },
351
232
  "hasDynamicHelp": true,
352
233
  "hiddenAliases": [],
353
- "id": "orchestrator:create:template",
234
+ "id": "orchestrator:app:delete",
354
235
  "pluginAlias": "@salesforce/plugin-orchestrator",
355
236
  "pluginName": "@salesforce/plugin-orchestrator",
356
237
  "pluginType": "core",
357
238
  "state": "preview",
358
239
  "strict": true,
359
- "summary": "Create a new AppFramework template.",
240
+ "summary": "Delete an AppFramework app.",
360
241
  "enableJsonFlag": true,
361
242
  "isESM": true,
362
243
  "relativePath": [
363
244
  "lib",
364
245
  "commands",
365
246
  "orchestrator",
366
- "create",
367
- "template.js"
247
+ "app",
248
+ "delete.js"
368
249
  ],
369
250
  "aliasPermutations": [],
370
251
  "permutations": [
371
- "orchestrator:create:template",
372
- "create:orchestrator:template",
373
- "create:template:orchestrator",
374
- "orchestrator:template:create",
375
- "template:orchestrator:create",
376
- "template:create:orchestrator"
252
+ "orchestrator:app:delete",
253
+ "app:orchestrator:delete",
254
+ "app:delete:orchestrator",
255
+ "orchestrator:delete:app",
256
+ "delete:orchestrator:app",
257
+ "delete:app:orchestrator"
377
258
  ]
378
259
  },
379
- "orchestrator:delete:app": {
260
+ "orchestrator:app:display": {
380
261
  "aliases": [],
381
262
  "args": {},
382
- "description": "Deletes an app from AppFramework. Either the app ID or app name must be provided to identify the app.",
263
+ "description": "Display detailed information about a specific AppFramework app. You must specify either the --app-id or --app-name flag to identify the app.",
383
264
  "examples": [
384
- "Delete an app using its ID:\n<%= config.bin %> <%= command.id %> --app-id 01t5e000006lOjDAA2",
385
- "Delete an app using its name:\n<%= config.bin %> <%= command.id %> --app-name MyAppName"
265
+ "Display app details by ID:\n<%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001",
266
+ "Display app details by name:\n<%= config.bin %> <%= command.id %> --app-name \"My App\""
386
267
  ],
387
268
  "flags": {
388
269
  "json": {
@@ -421,74 +302,64 @@
421
302
  },
422
303
  "app-id": {
423
304
  "char": "i",
424
- "description": "Specify the ID of the app to delete. Either this or --app-name is required.",
305
+ "description": "Specify the ID of the app to display. Either this or --app-name is required.",
425
306
  "exclusive": [
426
307
  "app-name"
427
308
  ],
428
309
  "name": "app-id",
429
- "summary": "ID of the app to delete.",
310
+ "summary": "ID of the app to display.",
430
311
  "hasDynamicHelp": false,
431
312
  "multiple": false,
432
313
  "type": "option"
433
314
  },
434
315
  "app-name": {
435
316
  "char": "n",
436
- "description": "Specify the name of the app to delete. Either this or --app-id is required.",
317
+ "description": "Specify the name of the app to display. Either this or --app-id is required.",
437
318
  "exclusive": [
438
319
  "app-id"
439
320
  ],
440
321
  "name": "app-name",
441
- "summary": "Name of the app to delete.",
322
+ "summary": "Name of the app to display.",
442
323
  "hasDynamicHelp": false,
443
324
  "multiple": false,
444
325
  "type": "option"
445
- },
446
- "no-prompt": {
447
- "char": "p",
448
- "description": "Disables the confirmation prompt that normally appears before deleting an app. Use with caution.",
449
- "name": "no-prompt",
450
- "summary": "Skip confirmation prompt before deleting.",
451
- "allowNo": false,
452
- "type": "boolean"
453
326
  }
454
327
  },
455
328
  "hasDynamicHelp": true,
456
329
  "hiddenAliases": [],
457
- "id": "orchestrator:delete:app",
330
+ "id": "orchestrator:app:display",
458
331
  "pluginAlias": "@salesforce/plugin-orchestrator",
459
332
  "pluginName": "@salesforce/plugin-orchestrator",
460
333
  "pluginType": "core",
461
334
  "state": "preview",
462
335
  "strict": true,
463
- "summary": "Delete an AppFramework app.",
336
+ "summary": "Display details of an AppFramework app.",
464
337
  "enableJsonFlag": true,
465
338
  "isESM": true,
466
339
  "relativePath": [
467
340
  "lib",
468
341
  "commands",
469
342
  "orchestrator",
470
- "delete",
471
- "app.js"
343
+ "app",
344
+ "display.js"
472
345
  ],
473
346
  "aliasPermutations": [],
474
347
  "permutations": [
475
- "orchestrator:delete:app",
476
- "delete:orchestrator:app",
477
- "delete:app:orchestrator",
478
- "orchestrator:app:delete",
479
- "app:orchestrator:delete",
480
- "app:delete:orchestrator"
348
+ "orchestrator:app:display",
349
+ "app:orchestrator:display",
350
+ "app:display:orchestrator",
351
+ "orchestrator:display:app",
352
+ "display:orchestrator:app",
353
+ "display:app:orchestrator"
481
354
  ]
482
355
  },
483
- "orchestrator:delete:template": {
356
+ "orchestrator:app:list": {
484
357
  "aliases": [],
485
358
  "args": {},
486
- "description": "Deletes an existing template. By default, apps created from this template will remain but will no longer be linked to the template. Use --force-delete to delete both the template and all apps created from it. Use --decouple to keep the apps but remove their link to the template.",
359
+ "description": "Lists all AppFramework apps in your org. You can filter the results by template type and other criteria.",
487
360
  "examples": [
488
- "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ",
489
- "<%= config.bin %> <%= command.id %> --template-name \"My Template\"",
490
- "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --force-delete",
491
- "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --no-prompt"
361
+ "List all AppFramework apps in your default org:\n<%= config.bin %> <%= command.id %>",
362
+ "List apps with a specific API version:\n<%= config.bin %> <%= command.id %> --api-version=64.0"
492
363
  ],
493
364
  "flags": {
494
365
  "json": {
@@ -508,91 +379,60 @@
508
379
  },
509
380
  "target-org": {
510
381
  "char": "o",
511
- "description": "The target org to connect to for deleting the template.",
382
+ "description": "Overrides your default org.",
512
383
  "name": "target-org",
513
384
  "noCacheDefault": true,
514
385
  "required": true,
515
- "summary": "Login username or alias for the target org",
386
+ "summary": "Login username or alias for the target org.",
516
387
  "hasDynamicHelp": true,
517
388
  "multiple": false,
518
389
  "type": "option"
519
390
  },
520
391
  "api-version": {
521
- "description": "Override the api version used for api requests to the app framework.",
392
+ "description": "Override the api version used for api requests made by this command.",
522
393
  "name": "api-version",
523
- "summary": "Override the api version used for api requests",
524
- "hasDynamicHelp": false,
525
- "multiple": false,
526
- "type": "option"
527
- },
528
- "template-id": {
529
- "char": "i",
530
- "description": "The unique identifier of the template to delete.",
531
- "exclusive": [
532
- "template-name"
533
- ],
534
- "name": "template-id",
535
- "summary": "ID of the template to delete",
536
- "hasDynamicHelp": false,
537
- "multiple": false,
538
- "type": "option"
539
- },
540
- "template-name": {
541
- "char": "n",
542
- "description": "The name of the template to delete. Use this if you don't know the template ID.",
543
- "exclusive": [
544
- "template-id"
545
- ],
546
- "name": "template-name",
547
- "summary": "Name of the template to delete",
394
+ "summary": "Override the api version used for api requests made by this command.",
548
395
  "hasDynamicHelp": false,
549
396
  "multiple": false,
550
397
  "type": "option"
551
- },
552
- "no-prompt": {
553
- "char": "p",
554
- "description": "Skip the confirmation prompt before deleting the template.",
555
- "name": "no-prompt",
556
- "summary": "Do not prompt for confirmation",
557
- "allowNo": false,
558
- "type": "boolean"
559
398
  }
560
399
  },
561
400
  "hasDynamicHelp": true,
562
401
  "hiddenAliases": [],
563
- "id": "orchestrator:delete:template",
402
+ "id": "orchestrator:app:list",
564
403
  "pluginAlias": "@salesforce/plugin-orchestrator",
565
404
  "pluginName": "@salesforce/plugin-orchestrator",
566
405
  "pluginType": "core",
567
406
  "state": "preview",
568
407
  "strict": true,
569
- "summary": "Delete an AppFramework template.",
408
+ "summary": "List AppFramework apps in your org.",
570
409
  "enableJsonFlag": true,
571
410
  "isESM": true,
572
411
  "relativePath": [
573
412
  "lib",
574
413
  "commands",
575
414
  "orchestrator",
576
- "delete",
577
- "template.js"
415
+ "app",
416
+ "list.js"
578
417
  ],
579
418
  "aliasPermutations": [],
580
419
  "permutations": [
581
- "orchestrator:delete:template",
582
- "delete:orchestrator:template",
583
- "delete:template:orchestrator",
584
- "orchestrator:template:delete",
585
- "template:orchestrator:delete",
586
- "template:delete:orchestrator"
420
+ "orchestrator:app:list",
421
+ "app:orchestrator:list",
422
+ "app:list:orchestrator",
423
+ "orchestrator:list:app",
424
+ "list:orchestrator:app",
425
+ "list:app:orchestrator"
587
426
  ]
588
427
  },
589
- "orchestrator:display:app": {
428
+ "orchestrator:app:update": {
590
429
  "aliases": [],
591
430
  "args": {},
592
- "description": "Display detailed information about a specific AppFramework app. You must specify either the --app-id or --app-name flag to identify the app.",
431
+ "description": "Updates an existing AppFramework app with a new template. You must specify either the app-id or app-name flag to identify the app to update, and either the template-id or template-name flag to identify the template to use for the update.",
593
432
  "examples": [
594
- "Display app details by ID:\n<%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001",
595
- "Display app details by name:\n<%= config.bin %> <%= command.id %> --app-name \"My App\""
433
+ "Update an app by ID with a template ID:\n<%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001 --template-id 00Dxx0000000002",
434
+ "Update an app by name with a template name:\n<%= config.bin %> <%= command.id %> --app-name \"My App\" --template-name \"My Template\"",
435
+ "Update an app with a new label and description:\n<%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001 --template-id 00Dxx0000000002 --label \"New Label\" --description \"New description\""
596
436
  ],
597
437
  "flags": {
598
438
  "json": {
@@ -631,299 +471,125 @@
631
471
  },
632
472
  "app-id": {
633
473
  "char": "i",
634
- "description": "Specify the ID of the app to display. Either this or --app-name is required.",
474
+ "description": "Specify the ID of the app to update. Either this or app-name is required.",
635
475
  "exclusive": [
636
476
  "app-name"
637
477
  ],
638
478
  "name": "app-id",
639
- "summary": "ID of the app to display.",
479
+ "summary": "ID of the app to update.",
640
480
  "hasDynamicHelp": false,
641
481
  "multiple": false,
642
482
  "type": "option"
643
483
  },
644
484
  "app-name": {
645
485
  "char": "n",
646
- "description": "Specify the name of the app to display. Either this or --app-id is required.",
486
+ "description": "Specify the name of the app to update. Either this or app-id is required.",
647
487
  "exclusive": [
648
488
  "app-id"
649
489
  ],
650
490
  "name": "app-name",
651
- "summary": "Name of the app to display.",
652
- "hasDynamicHelp": false,
653
- "multiple": false,
654
- "type": "option"
655
- }
656
- },
657
- "hasDynamicHelp": true,
658
- "hiddenAliases": [],
659
- "id": "orchestrator:display:app",
660
- "pluginAlias": "@salesforce/plugin-orchestrator",
661
- "pluginName": "@salesforce/plugin-orchestrator",
662
- "pluginType": "core",
663
- "state": "preview",
664
- "strict": true,
665
- "summary": "Display details of an AppFramework app.",
666
- "enableJsonFlag": true,
667
- "isESM": true,
668
- "relativePath": [
669
- "lib",
670
- "commands",
671
- "orchestrator",
672
- "display",
673
- "app.js"
674
- ],
675
- "aliasPermutations": [],
676
- "permutations": [
677
- "orchestrator:display:app",
678
- "display:orchestrator:app",
679
- "display:app:orchestrator",
680
- "orchestrator:app:display",
681
- "app:orchestrator:display",
682
- "app:display:orchestrator"
683
- ]
684
- },
685
- "orchestrator:display:template": {
686
- "aliases": [],
687
- "args": {},
688
- "description": "Shows detailed information about a specific AppFramework template including its name, label, ID, type, and other properties.",
689
- "examples": [
690
- "Display a template using its ID:\n<%= config.bin %> <%= command.id %> --template-id 01RM0000000HwBGMA0",
691
- "Display a template using its name:\n<%= config.bin %> <%= command.id %> --template-name MyTemplate"
692
- ],
693
- "flags": {
694
- "json": {
695
- "description": "Format output as json.",
696
- "helpGroup": "GLOBAL",
697
- "name": "json",
698
- "allowNo": false,
699
- "type": "boolean"
700
- },
701
- "flags-dir": {
702
- "helpGroup": "GLOBAL",
703
- "name": "flags-dir",
704
- "summary": "Import flag values from a directory.",
705
- "hasDynamicHelp": false,
706
- "multiple": false,
707
- "type": "option"
708
- },
709
- "target-org": {
710
- "char": "o",
711
- "description": "The target org to connect to for displaying the template.",
712
- "name": "target-org",
713
- "noCacheDefault": true,
714
- "required": true,
715
- "summary": "Login username or alias for the target org",
716
- "hasDynamicHelp": true,
717
- "multiple": false,
718
- "type": "option"
719
- },
720
- "api-version": {
721
- "description": "Override the api version used for api requests to the app framework.",
722
- "name": "api-version",
723
- "summary": "Override the api version used for api requests",
491
+ "summary": "Name of the app to update.",
724
492
  "hasDynamicHelp": false,
725
493
  "multiple": false,
726
494
  "type": "option"
727
495
  },
728
496
  "template-id": {
729
- "char": "i",
730
- "description": "Specify the unique identifier of the template you want to display. Use this flag when you know the template's ID.",
497
+ "char": "t",
498
+ "description": "Specify the ID of the template to use for the update. Either this or template-name is required.",
731
499
  "exclusive": [
732
500
  "template-name"
733
501
  ],
734
502
  "name": "template-id",
735
- "summary": "The ID of the template to display.",
503
+ "summary": "ID of the template to use for the update.",
736
504
  "hasDynamicHelp": false,
737
505
  "multiple": false,
738
506
  "type": "option"
739
507
  },
740
508
  "template-name": {
741
- "char": "n",
742
- "description": "Specify the name of the template you want to display. Use this flag when you know the template's name but not its ID.",
509
+ "char": "m",
510
+ "description": "Specify the name of the template to use for the update. Either this or template-id is required.",
743
511
  "exclusive": [
744
512
  "template-id"
745
513
  ],
746
514
  "name": "template-name",
747
- "summary": "The name of the template to display.",
515
+ "summary": "Name of the template to use for the update.",
748
516
  "hasDynamicHelp": false,
749
517
  "multiple": false,
750
518
  "type": "option"
751
- }
752
- },
753
- "hasDynamicHelp": true,
754
- "hiddenAliases": [],
755
- "id": "orchestrator:display:template",
756
- "pluginAlias": "@salesforce/plugin-orchestrator",
757
- "pluginName": "@salesforce/plugin-orchestrator",
758
- "pluginType": "core",
759
- "state": "preview",
760
- "strict": true,
761
- "summary": "Display details of an AppFramework template.",
762
- "enableJsonFlag": true,
763
- "isESM": true,
764
- "relativePath": [
765
- "lib",
766
- "commands",
767
- "orchestrator",
768
- "display",
769
- "template.js"
770
- ],
771
- "aliasPermutations": [],
772
- "permutations": [
773
- "orchestrator:display:template",
774
- "display:orchestrator:template",
775
- "display:template:orchestrator",
776
- "orchestrator:template:display",
777
- "template:orchestrator:display",
778
- "template:display:orchestrator"
779
- ]
780
- },
781
- "orchestrator:list:app": {
782
- "aliases": [],
783
- "args": {},
784
- "description": "Lists all AppFramework apps in your org. You can filter the results by template type and other criteria.",
785
- "examples": [
786
- "List all AppFramework apps in your default org:\n<%= config.bin %> <%= command.id %>",
787
- "List apps with a specific API version:\n<%= config.bin %> <%= command.id %> --api-version=64.0"
788
- ],
789
- "flags": {
790
- "json": {
791
- "description": "Format output as json.",
792
- "helpGroup": "GLOBAL",
793
- "name": "json",
794
- "allowNo": false,
795
- "type": "boolean"
796
519
  },
797
- "flags-dir": {
798
- "helpGroup": "GLOBAL",
799
- "name": "flags-dir",
800
- "summary": "Import flag values from a directory.",
520
+ "label": {
521
+ "char": "l",
522
+ "description": "Optionally specify a new label for the app.",
523
+ "name": "label",
524
+ "summary": "New label for the app.",
801
525
  "hasDynamicHelp": false,
802
526
  "multiple": false,
803
527
  "type": "option"
804
528
  },
805
- "target-org": {
806
- "char": "o",
807
- "description": "Overrides your default org.",
808
- "name": "target-org",
809
- "noCacheDefault": true,
810
- "required": true,
811
- "summary": "Login username or alias for the target org.",
812
- "hasDynamicHelp": true,
813
- "multiple": false,
814
- "type": "option"
815
- },
816
- "api-version": {
817
- "description": "Override the api version used for api requests made by this command.",
818
- "name": "api-version",
819
- "summary": "Override the api version used for api requests made by this command.",
529
+ "description": {
530
+ "char": "d",
531
+ "description": "Optionally specify a new description for the app.",
532
+ "name": "description",
533
+ "summary": "New description for the app.",
820
534
  "hasDynamicHelp": false,
821
535
  "multiple": false,
822
536
  "type": "option"
823
- }
824
- },
825
- "hasDynamicHelp": true,
826
- "hiddenAliases": [],
827
- "id": "orchestrator:list:app",
828
- "pluginAlias": "@salesforce/plugin-orchestrator",
829
- "pluginName": "@salesforce/plugin-orchestrator",
830
- "pluginType": "core",
831
- "state": "preview",
832
- "strict": true,
833
- "summary": "List AppFramework apps in your org.",
834
- "enableJsonFlag": true,
835
- "isESM": true,
836
- "relativePath": [
837
- "lib",
838
- "commands",
839
- "orchestrator",
840
- "list",
841
- "app.js"
842
- ],
843
- "aliasPermutations": [],
844
- "permutations": [
845
- "orchestrator:list:app",
846
- "list:orchestrator:app",
847
- "list:app:orchestrator",
848
- "orchestrator:app:list",
849
- "app:orchestrator:list",
850
- "app:list:orchestrator"
851
- ]
852
- },
853
- "orchestrator:list:template": {
854
- "aliases": [
855
- "orchestrator template list"
856
- ],
857
- "args": {},
858
- "description": "Lists AppFramework templates available in the target org. Shows template name, label, ID and other information.",
859
- "examples": [
860
- "List all AppFramework templates in your default org:\n<%= config.bin %> <%= command.id %>",
861
- "List templates with a specific API version:\n<%= config.bin %> <%= command.id %> --api-version=64.0"
862
- ],
863
- "flags": {
864
- "json": {
865
- "description": "Format output as json.",
866
- "helpGroup": "GLOBAL",
867
- "name": "json",
868
- "allowNo": false,
869
- "type": "boolean"
870
537
  },
871
- "flags-dir": {
872
- "helpGroup": "GLOBAL",
873
- "name": "flags-dir",
874
- "summary": "Import flag values from a directory.",
538
+ "runtime-method": {
539
+ "char": "r",
540
+ "description": "Optionally specify a runtime method (sync or async) for the app.",
541
+ "name": "runtime-method",
542
+ "summary": "Runtime method for the app.",
875
543
  "hasDynamicHelp": false,
876
544
  "multiple": false,
545
+ "options": [
546
+ "sync",
547
+ "async"
548
+ ],
877
549
  "type": "option"
878
550
  },
879
- "target-org": {
880
- "char": "o",
881
- "description": "The target org to connect to for listing templates.",
882
- "name": "target-org",
883
- "noCacheDefault": true,
884
- "required": true,
885
- "summary": "Login username or alias for the target org",
886
- "hasDynamicHelp": true,
887
- "multiple": false,
888
- "type": "option"
889
- },
890
- "api-version": {
891
- "description": "Override the api version used for api requests to the app framework.",
892
- "name": "api-version",
893
- "summary": "Override the api version used for api requests",
551
+ "log-level": {
552
+ "char": "g",
553
+ "description": "Optionally specify a log level (debug, info, warn, error) for the app.",
554
+ "name": "log-level",
555
+ "summary": "Log level for the app.",
894
556
  "hasDynamicHelp": false,
895
557
  "multiple": false,
558
+ "options": [
559
+ "debug",
560
+ "info",
561
+ "warn",
562
+ "error"
563
+ ],
896
564
  "type": "option"
897
565
  }
898
566
  },
899
567
  "hasDynamicHelp": true,
900
568
  "hiddenAliases": [],
901
- "id": "orchestrator:list:template",
569
+ "id": "orchestrator:app:update",
902
570
  "pluginAlias": "@salesforce/plugin-orchestrator",
903
571
  "pluginName": "@salesforce/plugin-orchestrator",
904
572
  "pluginType": "core",
905
573
  "state": "preview",
906
574
  "strict": true,
907
- "summary": "List all available AppFramework templates in the target org.",
575
+ "summary": "Update an AppFramework app with a new template.",
908
576
  "enableJsonFlag": true,
909
577
  "isESM": true,
910
578
  "relativePath": [
911
579
  "lib",
912
580
  "commands",
913
581
  "orchestrator",
914
- "list",
915
- "template.js"
916
- ],
917
- "aliasPermutations": [
918
- "orchestrator template list"
582
+ "app",
583
+ "update.js"
919
584
  ],
585
+ "aliasPermutations": [],
920
586
  "permutations": [
921
- "orchestrator:list:template",
922
- "list:orchestrator:template",
923
- "list:template:orchestrator",
924
- "orchestrator:template:list",
925
- "template:orchestrator:list",
926
- "template:list:orchestrator"
587
+ "orchestrator:app:update",
588
+ "app:orchestrator:update",
589
+ "app:update:orchestrator",
590
+ "orchestrator:update:app",
591
+ "update:orchestrator:app",
592
+ "update:app:orchestrator"
927
593
  ]
928
594
  },
929
595
  "orchestrator:template:create": {
@@ -1057,211 +723,11 @@
1057
723
  "aliases": [],
1058
724
  "args": {},
1059
725
  "description": "Deletes an existing template. By default, apps created from this template will remain but will no longer be linked to the template. Use --force-delete to delete both the template and all apps created from it. Use --decouple to keep the apps but remove their link to the template.",
1060
- "examples": [
1061
- "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ",
1062
- "<%= config.bin %> <%= command.id %> --template-name \"My Template\"",
1063
- "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --force-delete",
1064
- "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --no-prompt"
1065
- ],
1066
- "flags": {
1067
- "json": {
1068
- "description": "Format output as json.",
1069
- "helpGroup": "GLOBAL",
1070
- "name": "json",
1071
- "allowNo": false,
1072
- "type": "boolean"
1073
- },
1074
- "flags-dir": {
1075
- "helpGroup": "GLOBAL",
1076
- "name": "flags-dir",
1077
- "summary": "Import flag values from a directory.",
1078
- "hasDynamicHelp": false,
1079
- "multiple": false,
1080
- "type": "option"
1081
- },
1082
- "target-org": {
1083
- "char": "o",
1084
- "description": "The target org to connect to for deleting the template.",
1085
- "name": "target-org",
1086
- "noCacheDefault": true,
1087
- "required": true,
1088
- "summary": "Login username or alias for the target org",
1089
- "hasDynamicHelp": true,
1090
- "multiple": false,
1091
- "type": "option"
1092
- },
1093
- "api-version": {
1094
- "description": "Override the api version used for api requests to the app framework.",
1095
- "name": "api-version",
1096
- "summary": "Override the api version used for api requests",
1097
- "hasDynamicHelp": false,
1098
- "multiple": false,
1099
- "type": "option"
1100
- },
1101
- "template-id": {
1102
- "char": "i",
1103
- "description": "The unique identifier of the template to delete.",
1104
- "exclusive": [
1105
- "template-name"
1106
- ],
1107
- "name": "template-id",
1108
- "summary": "ID of the template to delete",
1109
- "hasDynamicHelp": false,
1110
- "multiple": false,
1111
- "type": "option"
1112
- },
1113
- "template-name": {
1114
- "char": "n",
1115
- "description": "The name of the template to delete. Use this if you don't know the template ID.",
1116
- "exclusive": [
1117
- "template-id"
1118
- ],
1119
- "name": "template-name",
1120
- "summary": "Name of the template to delete",
1121
- "hasDynamicHelp": false,
1122
- "multiple": false,
1123
- "type": "option"
1124
- },
1125
- "no-prompt": {
1126
- "char": "p",
1127
- "description": "Skip the confirmation prompt before deleting the template.",
1128
- "name": "no-prompt",
1129
- "summary": "Do not prompt for confirmation",
1130
- "allowNo": false,
1131
- "type": "boolean"
1132
- }
1133
- },
1134
- "hasDynamicHelp": true,
1135
- "hiddenAliases": [],
1136
- "id": "orchestrator:template:delete",
1137
- "pluginAlias": "@salesforce/plugin-orchestrator",
1138
- "pluginName": "@salesforce/plugin-orchestrator",
1139
- "pluginType": "core",
1140
- "state": "preview",
1141
- "strict": true,
1142
- "summary": "Delete an AppFramework template.",
1143
- "enableJsonFlag": true,
1144
- "isESM": true,
1145
- "relativePath": [
1146
- "lib",
1147
- "commands",
1148
- "orchestrator",
1149
- "template",
1150
- "delete.js"
1151
- ],
1152
- "aliasPermutations": [],
1153
- "permutations": [
1154
- "orchestrator:template:delete",
1155
- "template:orchestrator:delete",
1156
- "template:delete:orchestrator",
1157
- "orchestrator:delete:template",
1158
- "delete:orchestrator:template",
1159
- "delete:template:orchestrator"
1160
- ]
1161
- },
1162
- "orchestrator:template:display": {
1163
- "aliases": [],
1164
- "args": {},
1165
- "description": "Shows detailed information about a specific AppFramework template including its name, label, ID, type, and other properties.",
1166
- "examples": [
1167
- "Display a template using its ID:\n<%= config.bin %> <%= command.id %> --template-id 01RM0000000HwBGMA0",
1168
- "Display a template using its name:\n<%= config.bin %> <%= command.id %> --template-name MyTemplate"
1169
- ],
1170
- "flags": {
1171
- "json": {
1172
- "description": "Format output as json.",
1173
- "helpGroup": "GLOBAL",
1174
- "name": "json",
1175
- "allowNo": false,
1176
- "type": "boolean"
1177
- },
1178
- "flags-dir": {
1179
- "helpGroup": "GLOBAL",
1180
- "name": "flags-dir",
1181
- "summary": "Import flag values from a directory.",
1182
- "hasDynamicHelp": false,
1183
- "multiple": false,
1184
- "type": "option"
1185
- },
1186
- "target-org": {
1187
- "char": "o",
1188
- "description": "The target org to connect to for displaying the template.",
1189
- "name": "target-org",
1190
- "noCacheDefault": true,
1191
- "required": true,
1192
- "summary": "Login username or alias for the target org",
1193
- "hasDynamicHelp": true,
1194
- "multiple": false,
1195
- "type": "option"
1196
- },
1197
- "api-version": {
1198
- "description": "Override the api version used for api requests to the app framework.",
1199
- "name": "api-version",
1200
- "summary": "Override the api version used for api requests",
1201
- "hasDynamicHelp": false,
1202
- "multiple": false,
1203
- "type": "option"
1204
- },
1205
- "template-id": {
1206
- "char": "i",
1207
- "description": "Specify the unique identifier of the template you want to display. Use this flag when you know the template's ID.",
1208
- "exclusive": [
1209
- "template-name"
1210
- ],
1211
- "name": "template-id",
1212
- "summary": "The ID of the template to display.",
1213
- "hasDynamicHelp": false,
1214
- "multiple": false,
1215
- "type": "option"
1216
- },
1217
- "template-name": {
1218
- "char": "n",
1219
- "description": "Specify the name of the template you want to display. Use this flag when you know the template's name but not its ID.",
1220
- "exclusive": [
1221
- "template-id"
1222
- ],
1223
- "name": "template-name",
1224
- "summary": "The name of the template to display.",
1225
- "hasDynamicHelp": false,
1226
- "multiple": false,
1227
- "type": "option"
1228
- }
1229
- },
1230
- "hasDynamicHelp": true,
1231
- "hiddenAliases": [],
1232
- "id": "orchestrator:template:display",
1233
- "pluginAlias": "@salesforce/plugin-orchestrator",
1234
- "pluginName": "@salesforce/plugin-orchestrator",
1235
- "pluginType": "core",
1236
- "state": "preview",
1237
- "strict": true,
1238
- "summary": "Display details of an AppFramework template.",
1239
- "enableJsonFlag": true,
1240
- "isESM": true,
1241
- "relativePath": [
1242
- "lib",
1243
- "commands",
1244
- "orchestrator",
1245
- "template",
1246
- "display.js"
1247
- ],
1248
- "aliasPermutations": [],
1249
- "permutations": [
1250
- "orchestrator:template:display",
1251
- "template:orchestrator:display",
1252
- "template:display:orchestrator",
1253
- "orchestrator:display:template",
1254
- "display:orchestrator:template",
1255
- "display:template:orchestrator"
1256
- ]
1257
- },
1258
- "orchestrator:template:list": {
1259
- "aliases": [],
1260
- "args": {},
1261
- "description": "Lists AppFramework templates available in the target org. Shows template name, label, ID and other information.",
1262
- "examples": [
1263
- "List all AppFramework templates in your default org:\n<%= config.bin %> <%= command.id %>",
1264
- "List templates with a specific API version:\n<%= config.bin %> <%= command.id %> --api-version=64.0"
726
+ "examples": [
727
+ "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ",
728
+ "<%= config.bin %> <%= command.id %> --template-name \"My Template\"",
729
+ "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --force-delete",
730
+ "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --no-prompt"
1265
731
  ],
1266
732
  "flags": {
1267
733
  "json": {
@@ -1281,7 +747,7 @@
1281
747
  },
1282
748
  "target-org": {
1283
749
  "char": "o",
1284
- "description": "The target org to connect to for listing templates.",
750
+ "description": "The target org to connect to for deleting the template.",
1285
751
  "name": "target-org",
1286
752
  "noCacheDefault": true,
1287
753
  "required": true,
@@ -1297,17 +763,49 @@
1297
763
  "hasDynamicHelp": false,
1298
764
  "multiple": false,
1299
765
  "type": "option"
766
+ },
767
+ "template-id": {
768
+ "char": "i",
769
+ "description": "The unique identifier of the template to delete.",
770
+ "exclusive": [
771
+ "template-name"
772
+ ],
773
+ "name": "template-id",
774
+ "summary": "ID of the template to delete",
775
+ "hasDynamicHelp": false,
776
+ "multiple": false,
777
+ "type": "option"
778
+ },
779
+ "template-name": {
780
+ "char": "n",
781
+ "description": "The name of the template to delete. Use this if you don't know the template ID.",
782
+ "exclusive": [
783
+ "template-id"
784
+ ],
785
+ "name": "template-name",
786
+ "summary": "Name of the template to delete",
787
+ "hasDynamicHelp": false,
788
+ "multiple": false,
789
+ "type": "option"
790
+ },
791
+ "no-prompt": {
792
+ "char": "p",
793
+ "description": "Skip the confirmation prompt before deleting the template.",
794
+ "name": "no-prompt",
795
+ "summary": "Do not prompt for confirmation",
796
+ "allowNo": false,
797
+ "type": "boolean"
1300
798
  }
1301
799
  },
1302
800
  "hasDynamicHelp": true,
1303
801
  "hiddenAliases": [],
1304
- "id": "orchestrator:template:list",
802
+ "id": "orchestrator:template:delete",
1305
803
  "pluginAlias": "@salesforce/plugin-orchestrator",
1306
804
  "pluginName": "@salesforce/plugin-orchestrator",
1307
805
  "pluginType": "core",
1308
806
  "state": "preview",
1309
807
  "strict": true,
1310
- "summary": "List all available AppFramework templates in the target org.",
808
+ "summary": "Delete an AppFramework template.",
1311
809
  "enableJsonFlag": true,
1312
810
  "isESM": true,
1313
811
  "relativePath": [
@@ -1315,27 +813,25 @@
1315
813
  "commands",
1316
814
  "orchestrator",
1317
815
  "template",
1318
- "list.js"
816
+ "delete.js"
1319
817
  ],
1320
818
  "aliasPermutations": [],
1321
819
  "permutations": [
1322
- "orchestrator:template:list",
1323
- "template:orchestrator:list",
1324
- "template:list:orchestrator",
1325
- "orchestrator:list:template",
1326
- "list:orchestrator:template",
1327
- "list:template:orchestrator"
820
+ "orchestrator:template:delete",
821
+ "template:orchestrator:delete",
822
+ "template:delete:orchestrator",
823
+ "orchestrator:delete:template",
824
+ "delete:orchestrator:template",
825
+ "delete:template:orchestrator"
1328
826
  ]
1329
827
  },
1330
- "orchestrator:template:update": {
828
+ "orchestrator:template:display": {
1331
829
  "aliases": [],
1332
830
  "args": {},
1333
- "description": "Updates an existing template. This allows you to refresh a template after making changes to its source app.",
831
+ "description": "Shows detailed information about a specific AppFramework template including its name, label, ID, type, and other properties.",
1334
832
  "examples": [
1335
- "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ",
1336
- "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --label \"New Display Label\"",
1337
- "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --description \"Updated template description\"",
1338
- "<%= config.bin %> <%= command.id %> --template-id 0XtB000000001aXYAQ --label \"New Label\" --description \"New description\" --asset-version 3"
833
+ "Display a template using its ID:\n<%= config.bin %> <%= command.id %> --template-id 01RM0000000HwBGMA0",
834
+ "Display a template using its name:\n<%= config.bin %> <%= command.id %> --template-name MyTemplate"
1339
835
  ],
1340
836
  "flags": {
1341
837
  "json": {
@@ -1355,7 +851,7 @@
1355
851
  },
1356
852
  "target-org": {
1357
853
  "char": "o",
1358
- "description": "The target org to connect to for updating the template.",
854
+ "description": "The target org to connect to for displaying the template.",
1359
855
  "name": "target-org",
1360
856
  "noCacheDefault": true,
1361
857
  "required": true,
@@ -1374,42 +870,24 @@
1374
870
  },
1375
871
  "template-id": {
1376
872
  "char": "i",
1377
- "description": "The unique identifier of the template to update.",
873
+ "description": "Specify the unique identifier of the template you want to display. Use this flag when you know the template's ID.",
1378
874
  "exclusive": [
1379
875
  "template-name"
1380
876
  ],
1381
877
  "name": "template-id",
1382
- "summary": "ID of the template to update",
878
+ "summary": "The ID of the template to display.",
1383
879
  "hasDynamicHelp": false,
1384
880
  "multiple": false,
1385
881
  "type": "option"
1386
882
  },
1387
883
  "template-name": {
1388
884
  "char": "n",
1389
- "description": "The name of the template to update. Use this if you don't know the template ID.",
885
+ "description": "Specify the name of the template you want to display. Use this flag when you know the template's name but not its ID.",
1390
886
  "exclusive": [
1391
887
  "template-id"
1392
888
  ],
1393
889
  "name": "template-name",
1394
- "summary": "Name of the template to update",
1395
- "hasDynamicHelp": false,
1396
- "multiple": false,
1397
- "type": "option"
1398
- },
1399
- "label": {
1400
- "char": "l",
1401
- "description": "A new display label for the template. This is the name that will be shown to users in the UI. Note that this only changes the display label, not the template's unique name which cannot be changed after creation.",
1402
- "name": "label",
1403
- "summary": "New label for the template",
1404
- "hasDynamicHelp": false,
1405
- "multiple": false,
1406
- "type": "option"
1407
- },
1408
- "description": {
1409
- "char": "d",
1410
- "description": "A new description for the template. This provides additional information about the template's purpose and contents.",
1411
- "name": "description",
1412
- "summary": "New description for the template",
890
+ "summary": "The name of the template to display.",
1413
891
  "hasDynamicHelp": false,
1414
892
  "multiple": false,
1415
893
  "type": "option"
@@ -1417,13 +895,13 @@
1417
895
  },
1418
896
  "hasDynamicHelp": true,
1419
897
  "hiddenAliases": [],
1420
- "id": "orchestrator:template:update",
898
+ "id": "orchestrator:template:display",
1421
899
  "pluginAlias": "@salesforce/plugin-orchestrator",
1422
900
  "pluginName": "@salesforce/plugin-orchestrator",
1423
901
  "pluginType": "core",
1424
902
  "state": "preview",
1425
903
  "strict": true,
1426
- "summary": "Update an existing AppFramework template.",
904
+ "summary": "Display details of an AppFramework template.",
1427
905
  "enableJsonFlag": true,
1428
906
  "isESM": true,
1429
907
  "relativePath": [
@@ -1431,26 +909,27 @@
1431
909
  "commands",
1432
910
  "orchestrator",
1433
911
  "template",
1434
- "update.js"
912
+ "display.js"
1435
913
  ],
1436
914
  "aliasPermutations": [],
1437
915
  "permutations": [
1438
- "orchestrator:template:update",
1439
- "template:orchestrator:update",
1440
- "template:update:orchestrator",
1441
- "orchestrator:update:template",
1442
- "update:orchestrator:template",
1443
- "update:template:orchestrator"
916
+ "orchestrator:template:display",
917
+ "template:orchestrator:display",
918
+ "template:display:orchestrator",
919
+ "orchestrator:display:template",
920
+ "display:orchestrator:template",
921
+ "display:template:orchestrator"
1444
922
  ]
1445
923
  },
1446
- "orchestrator:update:app": {
1447
- "aliases": [],
924
+ "orchestrator:template:list": {
925
+ "aliases": [
926
+ "orchestrator template list"
927
+ ],
1448
928
  "args": {},
1449
- "description": "Updates an existing AppFramework app with a new template. You must specify either the app-id or app-name flag to identify the app to update, and either the template-id or template-name flag to identify the template to use for the update.",
929
+ "description": "Lists AppFramework templates available in the target org. Shows template name, label, ID and other information.",
1450
930
  "examples": [
1451
- "Update an app by ID with a template ID:\n<%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001 --template-id 00Dxx0000000002",
1452
- "Update an app by name with a template name:\n<%= config.bin %> <%= command.id %> --app-name \"My App\" --template-name \"My Template\"",
1453
- "Update an app with a new label and description:\n<%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001 --template-id 00Dxx0000000002 --label \"New Label\" --description \"New description\""
931
+ "List all AppFramework templates in your default org:\n<%= config.bin %> <%= command.id %>",
932
+ "List templates with a specific API version:\n<%= config.bin %> <%= command.id %> --api-version=64.0"
1454
933
  ],
1455
934
  "flags": {
1456
935
  "json": {
@@ -1470,147 +949,55 @@
1470
949
  },
1471
950
  "target-org": {
1472
951
  "char": "o",
1473
- "description": "Overrides your default org.",
952
+ "description": "The target org to connect to for listing templates.",
1474
953
  "name": "target-org",
1475
954
  "noCacheDefault": true,
1476
955
  "required": true,
1477
- "summary": "Login username or alias for the target org.",
956
+ "summary": "Login username or alias for the target org",
1478
957
  "hasDynamicHelp": true,
1479
958
  "multiple": false,
1480
959
  "type": "option"
1481
960
  },
1482
961
  "api-version": {
1483
- "description": "Override the api version used for api requests made by this command.",
962
+ "description": "Override the api version used for api requests to the app framework.",
1484
963
  "name": "api-version",
1485
- "summary": "Override the api version used for api requests made by this command.",
1486
- "hasDynamicHelp": false,
1487
- "multiple": false,
1488
- "type": "option"
1489
- },
1490
- "app-id": {
1491
- "char": "i",
1492
- "description": "Specify the ID of the app to update. Either this or app-name is required.",
1493
- "exclusive": [
1494
- "app-name"
1495
- ],
1496
- "name": "app-id",
1497
- "summary": "ID of the app to update.",
1498
- "hasDynamicHelp": false,
1499
- "multiple": false,
1500
- "type": "option"
1501
- },
1502
- "app-name": {
1503
- "char": "n",
1504
- "description": "Specify the name of the app to update. Either this or app-id is required.",
1505
- "exclusive": [
1506
- "app-id"
1507
- ],
1508
- "name": "app-name",
1509
- "summary": "Name of the app to update.",
1510
- "hasDynamicHelp": false,
1511
- "multiple": false,
1512
- "type": "option"
1513
- },
1514
- "template-id": {
1515
- "char": "t",
1516
- "description": "Specify the ID of the template to use for the update. Either this or template-name is required.",
1517
- "exclusive": [
1518
- "template-name"
1519
- ],
1520
- "name": "template-id",
1521
- "summary": "ID of the template to use for the update.",
1522
- "hasDynamicHelp": false,
1523
- "multiple": false,
1524
- "type": "option"
1525
- },
1526
- "template-name": {
1527
- "char": "m",
1528
- "description": "Specify the name of the template to use for the update. Either this or template-id is required.",
1529
- "exclusive": [
1530
- "template-id"
1531
- ],
1532
- "name": "template-name",
1533
- "summary": "Name of the template to use for the update.",
1534
- "hasDynamicHelp": false,
1535
- "multiple": false,
1536
- "type": "option"
1537
- },
1538
- "label": {
1539
- "char": "l",
1540
- "description": "Optionally specify a new label for the app.",
1541
- "name": "label",
1542
- "summary": "New label for the app.",
1543
- "hasDynamicHelp": false,
1544
- "multiple": false,
1545
- "type": "option"
1546
- },
1547
- "description": {
1548
- "char": "d",
1549
- "description": "Optionally specify a new description for the app.",
1550
- "name": "description",
1551
- "summary": "New description for the app.",
1552
- "hasDynamicHelp": false,
1553
- "multiple": false,
1554
- "type": "option"
1555
- },
1556
- "runtime-method": {
1557
- "char": "r",
1558
- "description": "Optionally specify a runtime method (sync or async) for the app.",
1559
- "name": "runtime-method",
1560
- "summary": "Runtime method for the app.",
1561
- "hasDynamicHelp": false,
1562
- "multiple": false,
1563
- "options": [
1564
- "sync",
1565
- "async"
1566
- ],
1567
- "type": "option"
1568
- },
1569
- "log-level": {
1570
- "char": "g",
1571
- "description": "Optionally specify a log level (debug, info, warn, error) for the app.",
1572
- "name": "log-level",
1573
- "summary": "Log level for the app.",
964
+ "summary": "Override the api version used for api requests",
1574
965
  "hasDynamicHelp": false,
1575
966
  "multiple": false,
1576
- "options": [
1577
- "debug",
1578
- "info",
1579
- "warn",
1580
- "error"
1581
- ],
1582
967
  "type": "option"
1583
968
  }
1584
969
  },
1585
970
  "hasDynamicHelp": true,
1586
971
  "hiddenAliases": [],
1587
- "id": "orchestrator:update:app",
972
+ "id": "orchestrator:template:list",
1588
973
  "pluginAlias": "@salesforce/plugin-orchestrator",
1589
974
  "pluginName": "@salesforce/plugin-orchestrator",
1590
975
  "pluginType": "core",
1591
976
  "state": "preview",
1592
977
  "strict": true,
1593
- "summary": "Update an AppFramework app with a new template.",
978
+ "summary": "List all available AppFramework templates in the target org.",
1594
979
  "enableJsonFlag": true,
1595
980
  "isESM": true,
1596
981
  "relativePath": [
1597
982
  "lib",
1598
983
  "commands",
1599
984
  "orchestrator",
1600
- "update",
1601
- "app.js"
985
+ "template",
986
+ "list.js"
987
+ ],
988
+ "aliasPermutations": [
989
+ "orchestrator template list"
1602
990
  ],
1603
- "aliasPermutations": [],
1604
991
  "permutations": [
1605
- "orchestrator:update:app",
1606
- "update:orchestrator:app",
1607
- "update:app:orchestrator",
1608
- "orchestrator:app:update",
1609
- "app:orchestrator:update",
1610
- "app:update:orchestrator"
992
+ "orchestrator:template:list",
993
+ "template:orchestrator:list",
994
+ "template:list:orchestrator",
995
+ "orchestrator:list:template",
996
+ "list:orchestrator:template",
997
+ "list:template:orchestrator"
1611
998
  ]
1612
999
  },
1613
- "orchestrator:update:template": {
1000
+ "orchestrator:template:update": {
1614
1001
  "aliases": [],
1615
1002
  "args": {},
1616
1003
  "description": "Updates an existing template. This allows you to refresh a template after making changes to its source app.",
@@ -1700,7 +1087,7 @@
1700
1087
  },
1701
1088
  "hasDynamicHelp": true,
1702
1089
  "hiddenAliases": [],
1703
- "id": "orchestrator:update:template",
1090
+ "id": "orchestrator:template:update",
1704
1091
  "pluginAlias": "@salesforce/plugin-orchestrator",
1705
1092
  "pluginName": "@salesforce/plugin-orchestrator",
1706
1093
  "pluginType": "core",
@@ -1713,19 +1100,19 @@
1713
1100
  "lib",
1714
1101
  "commands",
1715
1102
  "orchestrator",
1716
- "update",
1717
- "template.js"
1103
+ "template",
1104
+ "update.js"
1718
1105
  ],
1719
1106
  "aliasPermutations": [],
1720
1107
  "permutations": [
1721
- "orchestrator:update:template",
1722
- "update:orchestrator:template",
1723
- "update:template:orchestrator",
1724
1108
  "orchestrator:template:update",
1725
1109
  "template:orchestrator:update",
1726
- "template:update:orchestrator"
1110
+ "template:update:orchestrator",
1111
+ "orchestrator:update:template",
1112
+ "update:orchestrator:template",
1113
+ "update:template:orchestrator"
1727
1114
  ]
1728
1115
  }
1729
1116
  },
1730
- "version": "1.0.0"
1117
+ "version": "1.0.7"
1731
1118
  }