@salesforce/cli 2.146.2 → 2.147.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +191 -191
- package/dist/cli.js +13 -4
- package/dist/flags.js +13 -4
- package/dist/help/sfCommandHelp.js +13 -4
- package/dist/help/sfHelp.js +13 -4
- package/dist/hooks/incomplete.js +13 -4
- package/dist/hooks/pluginsPreinstall.js +13 -4
- package/dist/hooks/prerun.js +13 -4
- package/dist/logger.js +13 -4
- package/dist/util/env.js +13 -4
- package/npm-shrinkwrap.json +3428 -2353
- package/oclif.lock +2072 -1771
- package/oclif.manifest.json +616 -607
- package/package.json +35 -32
package/oclif.manifest.json
CHANGED
|
@@ -372,6 +372,15 @@
|
|
|
372
372
|
"multiple": true,
|
|
373
373
|
"type": "option"
|
|
374
374
|
},
|
|
375
|
+
"target-org": {
|
|
376
|
+
"char": "o",
|
|
377
|
+
"description": "Specify the username or alias of a Salesforce org when using engines that require remote connectivity, such as ApexGuru. The org must be authenticated with the Salesforce CLI.",
|
|
378
|
+
"name": "target-org",
|
|
379
|
+
"summary": "Target org username or alias for remote analysis engines.",
|
|
380
|
+
"hasDynamicHelp": false,
|
|
381
|
+
"multiple": false,
|
|
382
|
+
"type": "option"
|
|
383
|
+
},
|
|
375
384
|
"rule-selector": {
|
|
376
385
|
"char": "r",
|
|
377
386
|
"description": "Use the `--rule-selector` flag to select the list of rules to run based on specific criteria. For example, you can select by engine, such as the rules associated with the \"retire-js\" or \"eslint\" engine. Or select by the severity of the rules, such as high or moderate. You can also select rules using tag values or rule names. Every rule has a name, which is unique within the scope of an engine. Most rules have tags, although it's not required. An example of a tag is \"Recommended\".\n\nYou can further filter the list by combining different criteria using colons to represent logical AND, commas to represent logical OR, and parentheses to create groupings. For example, `--rule-selector \"pmd:(Performance,Security):2\"` runs rules associated only with the \"pmd\" engine that have the Security or Performance tags and a high severity (2). You may also specify the flag multiple times to OR multiple selectors together. For example, `--rule-selector Performance,Security` is equivalent to `--rule-selector Performance --rule-selector Security`. Note that if you use parentheses in your selector, the selector should be wrapped in double-quotes.\n\nRun `<%= config.bin %> code-analyzer rules --rule-selector all` to see the possible values for engine name, rule name, tags, and severity levels that you can use with this flag.",
|
|
@@ -857,7 +866,7 @@
|
|
|
857
866
|
},
|
|
858
867
|
"loglevel": {
|
|
859
868
|
"deprecated": {
|
|
860
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `
|
|
869
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SF_LOG_LEVEL` environment variable."
|
|
861
870
|
},
|
|
862
871
|
"hidden": true,
|
|
863
872
|
"name": "loglevel",
|
|
@@ -1070,7 +1079,7 @@
|
|
|
1070
1079
|
},
|
|
1071
1080
|
"loglevel": {
|
|
1072
1081
|
"deprecated": {
|
|
1073
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `
|
|
1082
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SF_LOG_LEVEL` environment variable."
|
|
1074
1083
|
},
|
|
1075
1084
|
"hidden": true,
|
|
1076
1085
|
"name": "loglevel",
|
|
@@ -1237,7 +1246,7 @@
|
|
|
1237
1246
|
},
|
|
1238
1247
|
"loglevel": {
|
|
1239
1248
|
"deprecated": {
|
|
1240
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `
|
|
1249
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SF_LOG_LEVEL` environment variable."
|
|
1241
1250
|
},
|
|
1242
1251
|
"hidden": true,
|
|
1243
1252
|
"name": "loglevel",
|
|
@@ -1374,7 +1383,7 @@
|
|
|
1374
1383
|
},
|
|
1375
1384
|
"loglevel": {
|
|
1376
1385
|
"deprecated": {
|
|
1377
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `
|
|
1386
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SF_LOG_LEVEL` environment variable."
|
|
1378
1387
|
},
|
|
1379
1388
|
"hidden": true,
|
|
1380
1389
|
"name": "loglevel",
|
|
@@ -1544,7 +1553,7 @@
|
|
|
1544
1553
|
},
|
|
1545
1554
|
"loglevel": {
|
|
1546
1555
|
"deprecated": {
|
|
1547
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `
|
|
1556
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SF_LOG_LEVEL` environment variable."
|
|
1548
1557
|
},
|
|
1549
1558
|
"hidden": true,
|
|
1550
1559
|
"name": "loglevel",
|
|
@@ -2425,236 +2434,6 @@
|
|
|
2425
2434
|
"promote.js"
|
|
2426
2435
|
]
|
|
2427
2436
|
},
|
|
2428
|
-
"devops:project:create": {
|
|
2429
|
-
"aliases": [],
|
|
2430
|
-
"args": {},
|
|
2431
|
-
"description": "Creates a new DevOps Center project with the specified name and optional description.",
|
|
2432
|
-
"examples": [
|
|
2433
|
-
"Create a new DevOps Center project in the specified org.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"MyApp Release\"",
|
|
2434
|
-
"Create a project with a name and description.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Platform Update\" --description \"Platform services update\""
|
|
2435
|
-
],
|
|
2436
|
-
"flags": {
|
|
2437
|
-
"json": {
|
|
2438
|
-
"description": "Format output as json.",
|
|
2439
|
-
"helpGroup": "GLOBAL",
|
|
2440
|
-
"name": "json",
|
|
2441
|
-
"allowNo": false,
|
|
2442
|
-
"type": "boolean"
|
|
2443
|
-
},
|
|
2444
|
-
"flags-dir": {
|
|
2445
|
-
"helpGroup": "GLOBAL",
|
|
2446
|
-
"name": "flags-dir",
|
|
2447
|
-
"summary": "Import flag values from a directory.",
|
|
2448
|
-
"hasDynamicHelp": false,
|
|
2449
|
-
"multiple": false,
|
|
2450
|
-
"type": "option"
|
|
2451
|
-
},
|
|
2452
|
-
"target-org": {
|
|
2453
|
-
"char": "o",
|
|
2454
|
-
"name": "target-org",
|
|
2455
|
-
"noCacheDefault": true,
|
|
2456
|
-
"required": true,
|
|
2457
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2458
|
-
"hasDynamicHelp": true,
|
|
2459
|
-
"multiple": false,
|
|
2460
|
-
"type": "option"
|
|
2461
|
-
},
|
|
2462
|
-
"api-version": {
|
|
2463
|
-
"description": "Override the api version used for api requests made by this command",
|
|
2464
|
-
"name": "api-version",
|
|
2465
|
-
"hasDynamicHelp": false,
|
|
2466
|
-
"multiple": false,
|
|
2467
|
-
"type": "option"
|
|
2468
|
-
},
|
|
2469
|
-
"name": {
|
|
2470
|
-
"char": "n",
|
|
2471
|
-
"name": "name",
|
|
2472
|
-
"required": true,
|
|
2473
|
-
"summary": "Name of the new DevOps Center project.",
|
|
2474
|
-
"hasDynamicHelp": false,
|
|
2475
|
-
"multiple": false,
|
|
2476
|
-
"type": "option"
|
|
2477
|
-
},
|
|
2478
|
-
"description": {
|
|
2479
|
-
"char": "d",
|
|
2480
|
-
"name": "description",
|
|
2481
|
-
"summary": "Description of the new project; if not specified, the description is blank.",
|
|
2482
|
-
"hasDynamicHelp": false,
|
|
2483
|
-
"multiple": false,
|
|
2484
|
-
"type": "option"
|
|
2485
|
-
}
|
|
2486
|
-
},
|
|
2487
|
-
"hasDynamicHelp": true,
|
|
2488
|
-
"hiddenAliases": [],
|
|
2489
|
-
"id": "devops:project:create",
|
|
2490
|
-
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2491
|
-
"pluginName": "@salesforce/plugin-devops-center",
|
|
2492
|
-
"pluginType": "jit",
|
|
2493
|
-
"strict": true,
|
|
2494
|
-
"summary": "Create a DevOps Center project in a DevOps Center org.",
|
|
2495
|
-
"enableJsonFlag": true,
|
|
2496
|
-
"isESM": true,
|
|
2497
|
-
"relativePath": [
|
|
2498
|
-
"lib",
|
|
2499
|
-
"commands",
|
|
2500
|
-
"devops",
|
|
2501
|
-
"project",
|
|
2502
|
-
"create.js"
|
|
2503
|
-
]
|
|
2504
|
-
},
|
|
2505
|
-
"devops:project:list": {
|
|
2506
|
-
"aliases": [],
|
|
2507
|
-
"args": {},
|
|
2508
|
-
"description": "This command queries the DevopsProject standard object and returns the project Id, Name, and Description for each project found.",
|
|
2509
|
-
"examples": [
|
|
2510
|
-
"List all DevOps Center projects in an org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org",
|
|
2511
|
-
"List projects using an org's username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com"
|
|
2512
|
-
],
|
|
2513
|
-
"flags": {
|
|
2514
|
-
"json": {
|
|
2515
|
-
"description": "Format output as json.",
|
|
2516
|
-
"helpGroup": "GLOBAL",
|
|
2517
|
-
"name": "json",
|
|
2518
|
-
"allowNo": false,
|
|
2519
|
-
"type": "boolean"
|
|
2520
|
-
},
|
|
2521
|
-
"flags-dir": {
|
|
2522
|
-
"helpGroup": "GLOBAL",
|
|
2523
|
-
"name": "flags-dir",
|
|
2524
|
-
"summary": "Import flag values from a directory.",
|
|
2525
|
-
"hasDynamicHelp": false,
|
|
2526
|
-
"multiple": false,
|
|
2527
|
-
"type": "option"
|
|
2528
|
-
},
|
|
2529
|
-
"target-org": {
|
|
2530
|
-
"char": "o",
|
|
2531
|
-
"name": "target-org",
|
|
2532
|
-
"noCacheDefault": true,
|
|
2533
|
-
"required": true,
|
|
2534
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2535
|
-
"hasDynamicHelp": true,
|
|
2536
|
-
"multiple": false,
|
|
2537
|
-
"type": "option"
|
|
2538
|
-
},
|
|
2539
|
-
"api-version": {
|
|
2540
|
-
"description": "Override the api version used for api requests made by this command",
|
|
2541
|
-
"name": "api-version",
|
|
2542
|
-
"hasDynamicHelp": false,
|
|
2543
|
-
"multiple": false,
|
|
2544
|
-
"type": "option"
|
|
2545
|
-
}
|
|
2546
|
-
},
|
|
2547
|
-
"hasDynamicHelp": true,
|
|
2548
|
-
"hiddenAliases": [],
|
|
2549
|
-
"id": "devops:project:list",
|
|
2550
|
-
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2551
|
-
"pluginName": "@salesforce/plugin-devops-center",
|
|
2552
|
-
"pluginType": "jit",
|
|
2553
|
-
"strict": true,
|
|
2554
|
-
"summary": "List all DevOps Center projects in a Salesforce org.",
|
|
2555
|
-
"enableJsonFlag": true,
|
|
2556
|
-
"isESM": true,
|
|
2557
|
-
"relativePath": [
|
|
2558
|
-
"lib",
|
|
2559
|
-
"commands",
|
|
2560
|
-
"devops",
|
|
2561
|
-
"project",
|
|
2562
|
-
"list.js"
|
|
2563
|
-
]
|
|
2564
|
-
},
|
|
2565
|
-
"devops:project:update": {
|
|
2566
|
-
"aliases": [],
|
|
2567
|
-
"args": {},
|
|
2568
|
-
"description": "Update the name, description, or active status of a DevOps Center project. At least one of --name, --description, or --is-active must be provided.",
|
|
2569
|
-
"examples": [
|
|
2570
|
-
"Rename a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"MyApp Release v2\"",
|
|
2571
|
-
"Update the description of a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --description \"Updated release description\"",
|
|
2572
|
-
"Deactivate a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --no-is-active",
|
|
2573
|
-
"Update all fields at once:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"Archived App\" --description \"Archived\" --no-is-active"
|
|
2574
|
-
],
|
|
2575
|
-
"flags": {
|
|
2576
|
-
"json": {
|
|
2577
|
-
"description": "Format output as json.",
|
|
2578
|
-
"helpGroup": "GLOBAL",
|
|
2579
|
-
"name": "json",
|
|
2580
|
-
"allowNo": false,
|
|
2581
|
-
"type": "boolean"
|
|
2582
|
-
},
|
|
2583
|
-
"flags-dir": {
|
|
2584
|
-
"helpGroup": "GLOBAL",
|
|
2585
|
-
"name": "flags-dir",
|
|
2586
|
-
"summary": "Import flag values from a directory.",
|
|
2587
|
-
"hasDynamicHelp": false,
|
|
2588
|
-
"multiple": false,
|
|
2589
|
-
"type": "option"
|
|
2590
|
-
},
|
|
2591
|
-
"target-org": {
|
|
2592
|
-
"char": "o",
|
|
2593
|
-
"name": "target-org",
|
|
2594
|
-
"noCacheDefault": true,
|
|
2595
|
-
"required": true,
|
|
2596
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2597
|
-
"hasDynamicHelp": true,
|
|
2598
|
-
"multiple": false,
|
|
2599
|
-
"type": "option"
|
|
2600
|
-
},
|
|
2601
|
-
"api-version": {
|
|
2602
|
-
"description": "Override the api version used for api requests made by this command",
|
|
2603
|
-
"name": "api-version",
|
|
2604
|
-
"hasDynamicHelp": false,
|
|
2605
|
-
"multiple": false,
|
|
2606
|
-
"type": "option"
|
|
2607
|
-
},
|
|
2608
|
-
"project-id": {
|
|
2609
|
-
"char": "i",
|
|
2610
|
-
"name": "project-id",
|
|
2611
|
-
"required": true,
|
|
2612
|
-
"summary": "ID of the DevOps Center project to update.",
|
|
2613
|
-
"hasDynamicHelp": false,
|
|
2614
|
-
"multiple": false,
|
|
2615
|
-
"type": "option"
|
|
2616
|
-
},
|
|
2617
|
-
"name": {
|
|
2618
|
-
"char": "n",
|
|
2619
|
-
"name": "name",
|
|
2620
|
-
"summary": "New name for the project.",
|
|
2621
|
-
"hasDynamicHelp": false,
|
|
2622
|
-
"multiple": false,
|
|
2623
|
-
"type": "option"
|
|
2624
|
-
},
|
|
2625
|
-
"description": {
|
|
2626
|
-
"char": "d",
|
|
2627
|
-
"name": "description",
|
|
2628
|
-
"summary": "New description for the project.",
|
|
2629
|
-
"hasDynamicHelp": false,
|
|
2630
|
-
"multiple": false,
|
|
2631
|
-
"type": "option"
|
|
2632
|
-
},
|
|
2633
|
-
"is-active": {
|
|
2634
|
-
"name": "is-active",
|
|
2635
|
-
"summary": "Set the project active status. Use --is-active to activate or --no-is-active to deactivate.",
|
|
2636
|
-
"allowNo": true,
|
|
2637
|
-
"type": "boolean"
|
|
2638
|
-
}
|
|
2639
|
-
},
|
|
2640
|
-
"hasDynamicHelp": true,
|
|
2641
|
-
"hiddenAliases": [],
|
|
2642
|
-
"id": "devops:project:update",
|
|
2643
|
-
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2644
|
-
"pluginName": "@salesforce/plugin-devops-center",
|
|
2645
|
-
"pluginType": "jit",
|
|
2646
|
-
"strict": true,
|
|
2647
|
-
"summary": "Update a DevOps Center project.",
|
|
2648
|
-
"enableJsonFlag": true,
|
|
2649
|
-
"isESM": true,
|
|
2650
|
-
"relativePath": [
|
|
2651
|
-
"lib",
|
|
2652
|
-
"commands",
|
|
2653
|
-
"devops",
|
|
2654
|
-
"project",
|
|
2655
|
-
"update.js"
|
|
2656
|
-
]
|
|
2657
|
-
},
|
|
2658
2437
|
"devops:pipeline:create": {
|
|
2659
2438
|
"aliases": [],
|
|
2660
2439
|
"args": {},
|
|
@@ -2992,14 +2771,13 @@
|
|
|
2992
2771
|
"update.js"
|
|
2993
2772
|
]
|
|
2994
2773
|
},
|
|
2995
|
-
"devops:
|
|
2774
|
+
"devops:project:create": {
|
|
2996
2775
|
"aliases": [],
|
|
2997
2776
|
"args": {},
|
|
2998
|
-
"description": "
|
|
2777
|
+
"description": "Creates a new DevOps Center project with the specified name and optional description.",
|
|
2999
2778
|
"examples": [
|
|
3000
|
-
"
|
|
3001
|
-
"
|
|
3002
|
-
"Complete a promotion with full deploy and a specific test level.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001 --deploy-all --test-level RunLocalTests"
|
|
2779
|
+
"Create a new DevOps Center project in the specified org.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"MyApp Release\"",
|
|
2780
|
+
"Create a project with a name and description.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Platform Update\" --description \"Platform services update\""
|
|
3003
2781
|
],
|
|
3004
2782
|
"flags": {
|
|
3005
2783
|
"json": {
|
|
@@ -3034,11 +2812,242 @@
|
|
|
3034
2812
|
"multiple": false,
|
|
3035
2813
|
"type": "option"
|
|
3036
2814
|
},
|
|
3037
|
-
"
|
|
3038
|
-
"char": "
|
|
3039
|
-
"name": "
|
|
3040
|
-
"required": true,
|
|
3041
|
-
"summary": "
|
|
2815
|
+
"name": {
|
|
2816
|
+
"char": "n",
|
|
2817
|
+
"name": "name",
|
|
2818
|
+
"required": true,
|
|
2819
|
+
"summary": "Name of the new DevOps Center project.",
|
|
2820
|
+
"hasDynamicHelp": false,
|
|
2821
|
+
"multiple": false,
|
|
2822
|
+
"type": "option"
|
|
2823
|
+
},
|
|
2824
|
+
"description": {
|
|
2825
|
+
"char": "d",
|
|
2826
|
+
"name": "description",
|
|
2827
|
+
"summary": "Description of the new project; if not specified, the description is blank.",
|
|
2828
|
+
"hasDynamicHelp": false,
|
|
2829
|
+
"multiple": false,
|
|
2830
|
+
"type": "option"
|
|
2831
|
+
}
|
|
2832
|
+
},
|
|
2833
|
+
"hasDynamicHelp": true,
|
|
2834
|
+
"hiddenAliases": [],
|
|
2835
|
+
"id": "devops:project:create",
|
|
2836
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2837
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
2838
|
+
"pluginType": "jit",
|
|
2839
|
+
"strict": true,
|
|
2840
|
+
"summary": "Create a DevOps Center project in a DevOps Center org.",
|
|
2841
|
+
"enableJsonFlag": true,
|
|
2842
|
+
"isESM": true,
|
|
2843
|
+
"relativePath": [
|
|
2844
|
+
"lib",
|
|
2845
|
+
"commands",
|
|
2846
|
+
"devops",
|
|
2847
|
+
"project",
|
|
2848
|
+
"create.js"
|
|
2849
|
+
]
|
|
2850
|
+
},
|
|
2851
|
+
"devops:project:list": {
|
|
2852
|
+
"aliases": [],
|
|
2853
|
+
"args": {},
|
|
2854
|
+
"description": "This command queries the DevopsProject standard object and returns the project Id, Name, and Description for each project found.",
|
|
2855
|
+
"examples": [
|
|
2856
|
+
"List all DevOps Center projects in an org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org",
|
|
2857
|
+
"List projects using an org's username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com"
|
|
2858
|
+
],
|
|
2859
|
+
"flags": {
|
|
2860
|
+
"json": {
|
|
2861
|
+
"description": "Format output as json.",
|
|
2862
|
+
"helpGroup": "GLOBAL",
|
|
2863
|
+
"name": "json",
|
|
2864
|
+
"allowNo": false,
|
|
2865
|
+
"type": "boolean"
|
|
2866
|
+
},
|
|
2867
|
+
"flags-dir": {
|
|
2868
|
+
"helpGroup": "GLOBAL",
|
|
2869
|
+
"name": "flags-dir",
|
|
2870
|
+
"summary": "Import flag values from a directory.",
|
|
2871
|
+
"hasDynamicHelp": false,
|
|
2872
|
+
"multiple": false,
|
|
2873
|
+
"type": "option"
|
|
2874
|
+
},
|
|
2875
|
+
"target-org": {
|
|
2876
|
+
"char": "o",
|
|
2877
|
+
"name": "target-org",
|
|
2878
|
+
"noCacheDefault": true,
|
|
2879
|
+
"required": true,
|
|
2880
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2881
|
+
"hasDynamicHelp": true,
|
|
2882
|
+
"multiple": false,
|
|
2883
|
+
"type": "option"
|
|
2884
|
+
},
|
|
2885
|
+
"api-version": {
|
|
2886
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2887
|
+
"name": "api-version",
|
|
2888
|
+
"hasDynamicHelp": false,
|
|
2889
|
+
"multiple": false,
|
|
2890
|
+
"type": "option"
|
|
2891
|
+
}
|
|
2892
|
+
},
|
|
2893
|
+
"hasDynamicHelp": true,
|
|
2894
|
+
"hiddenAliases": [],
|
|
2895
|
+
"id": "devops:project:list",
|
|
2896
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2897
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
2898
|
+
"pluginType": "jit",
|
|
2899
|
+
"strict": true,
|
|
2900
|
+
"summary": "List all DevOps Center projects in a Salesforce org.",
|
|
2901
|
+
"enableJsonFlag": true,
|
|
2902
|
+
"isESM": true,
|
|
2903
|
+
"relativePath": [
|
|
2904
|
+
"lib",
|
|
2905
|
+
"commands",
|
|
2906
|
+
"devops",
|
|
2907
|
+
"project",
|
|
2908
|
+
"list.js"
|
|
2909
|
+
]
|
|
2910
|
+
},
|
|
2911
|
+
"devops:project:update": {
|
|
2912
|
+
"aliases": [],
|
|
2913
|
+
"args": {},
|
|
2914
|
+
"description": "Update the name, description, or active status of a DevOps Center project. At least one of --name, --description, or --is-active must be provided.",
|
|
2915
|
+
"examples": [
|
|
2916
|
+
"Rename a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"MyApp Release v2\"",
|
|
2917
|
+
"Update the description of a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --description \"Updated release description\"",
|
|
2918
|
+
"Deactivate a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --no-is-active",
|
|
2919
|
+
"Update all fields at once:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"Archived App\" --description \"Archived\" --no-is-active"
|
|
2920
|
+
],
|
|
2921
|
+
"flags": {
|
|
2922
|
+
"json": {
|
|
2923
|
+
"description": "Format output as json.",
|
|
2924
|
+
"helpGroup": "GLOBAL",
|
|
2925
|
+
"name": "json",
|
|
2926
|
+
"allowNo": false,
|
|
2927
|
+
"type": "boolean"
|
|
2928
|
+
},
|
|
2929
|
+
"flags-dir": {
|
|
2930
|
+
"helpGroup": "GLOBAL",
|
|
2931
|
+
"name": "flags-dir",
|
|
2932
|
+
"summary": "Import flag values from a directory.",
|
|
2933
|
+
"hasDynamicHelp": false,
|
|
2934
|
+
"multiple": false,
|
|
2935
|
+
"type": "option"
|
|
2936
|
+
},
|
|
2937
|
+
"target-org": {
|
|
2938
|
+
"char": "o",
|
|
2939
|
+
"name": "target-org",
|
|
2940
|
+
"noCacheDefault": true,
|
|
2941
|
+
"required": true,
|
|
2942
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2943
|
+
"hasDynamicHelp": true,
|
|
2944
|
+
"multiple": false,
|
|
2945
|
+
"type": "option"
|
|
2946
|
+
},
|
|
2947
|
+
"api-version": {
|
|
2948
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2949
|
+
"name": "api-version",
|
|
2950
|
+
"hasDynamicHelp": false,
|
|
2951
|
+
"multiple": false,
|
|
2952
|
+
"type": "option"
|
|
2953
|
+
},
|
|
2954
|
+
"project-id": {
|
|
2955
|
+
"char": "i",
|
|
2956
|
+
"name": "project-id",
|
|
2957
|
+
"required": true,
|
|
2958
|
+
"summary": "ID of the DevOps Center project to update.",
|
|
2959
|
+
"hasDynamicHelp": false,
|
|
2960
|
+
"multiple": false,
|
|
2961
|
+
"type": "option"
|
|
2962
|
+
},
|
|
2963
|
+
"name": {
|
|
2964
|
+
"char": "n",
|
|
2965
|
+
"name": "name",
|
|
2966
|
+
"summary": "New name for the project.",
|
|
2967
|
+
"hasDynamicHelp": false,
|
|
2968
|
+
"multiple": false,
|
|
2969
|
+
"type": "option"
|
|
2970
|
+
},
|
|
2971
|
+
"description": {
|
|
2972
|
+
"char": "d",
|
|
2973
|
+
"name": "description",
|
|
2974
|
+
"summary": "New description for the project.",
|
|
2975
|
+
"hasDynamicHelp": false,
|
|
2976
|
+
"multiple": false,
|
|
2977
|
+
"type": "option"
|
|
2978
|
+
},
|
|
2979
|
+
"is-active": {
|
|
2980
|
+
"name": "is-active",
|
|
2981
|
+
"summary": "Set the project active status. Use --is-active to activate or --no-is-active to deactivate.",
|
|
2982
|
+
"allowNo": true,
|
|
2983
|
+
"type": "boolean"
|
|
2984
|
+
}
|
|
2985
|
+
},
|
|
2986
|
+
"hasDynamicHelp": true,
|
|
2987
|
+
"hiddenAliases": [],
|
|
2988
|
+
"id": "devops:project:update",
|
|
2989
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2990
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
2991
|
+
"pluginType": "jit",
|
|
2992
|
+
"strict": true,
|
|
2993
|
+
"summary": "Update a DevOps Center project.",
|
|
2994
|
+
"enableJsonFlag": true,
|
|
2995
|
+
"isESM": true,
|
|
2996
|
+
"relativePath": [
|
|
2997
|
+
"lib",
|
|
2998
|
+
"commands",
|
|
2999
|
+
"devops",
|
|
3000
|
+
"project",
|
|
3001
|
+
"update.js"
|
|
3002
|
+
]
|
|
3003
|
+
},
|
|
3004
|
+
"devops:promotion:complete": {
|
|
3005
|
+
"aliases": [],
|
|
3006
|
+
"args": {},
|
|
3007
|
+
"description": "Deploys work items that were merged into the pipeline branch outside of DevOps Center (externally merged) into the target stage org and updates DevOps Center records. Equivalent to the \"Complete Promotion\" action in the DevOps Center UI when a stage is out of sync.\n\nIf no undeployed work items are found for the stage, the command exits successfully with no action taken.",
|
|
3008
|
+
"examples": [
|
|
3009
|
+
"Complete a promotion for an out-of-sync pipeline stage.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001",
|
|
3010
|
+
"Complete a promotion for a specific work item (e.g. first stage of a pipeline).\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001 --work-item-id 1fk000000000001",
|
|
3011
|
+
"Complete a promotion with full deploy and a specific test level.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001 --deploy-all --test-level RunLocalTests"
|
|
3012
|
+
],
|
|
3013
|
+
"flags": {
|
|
3014
|
+
"json": {
|
|
3015
|
+
"description": "Format output as json.",
|
|
3016
|
+
"helpGroup": "GLOBAL",
|
|
3017
|
+
"name": "json",
|
|
3018
|
+
"allowNo": false,
|
|
3019
|
+
"type": "boolean"
|
|
3020
|
+
},
|
|
3021
|
+
"flags-dir": {
|
|
3022
|
+
"helpGroup": "GLOBAL",
|
|
3023
|
+
"name": "flags-dir",
|
|
3024
|
+
"summary": "Import flag values from a directory.",
|
|
3025
|
+
"hasDynamicHelp": false,
|
|
3026
|
+
"multiple": false,
|
|
3027
|
+
"type": "option"
|
|
3028
|
+
},
|
|
3029
|
+
"target-org": {
|
|
3030
|
+
"char": "o",
|
|
3031
|
+
"name": "target-org",
|
|
3032
|
+
"noCacheDefault": true,
|
|
3033
|
+
"required": true,
|
|
3034
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3035
|
+
"hasDynamicHelp": true,
|
|
3036
|
+
"multiple": false,
|
|
3037
|
+
"type": "option"
|
|
3038
|
+
},
|
|
3039
|
+
"api-version": {
|
|
3040
|
+
"description": "Override the api version used for api requests made by this command",
|
|
3041
|
+
"name": "api-version",
|
|
3042
|
+
"hasDynamicHelp": false,
|
|
3043
|
+
"multiple": false,
|
|
3044
|
+
"type": "option"
|
|
3045
|
+
},
|
|
3046
|
+
"target-stage-id": {
|
|
3047
|
+
"char": "t",
|
|
3048
|
+
"name": "target-stage-id",
|
|
3049
|
+
"required": true,
|
|
3050
|
+
"summary": "ID of the out-of-sync pipeline stage to deploy to.",
|
|
3042
3051
|
"hasDynamicHelp": false,
|
|
3043
3052
|
"multiple": false,
|
|
3044
3053
|
"type": "option"
|
|
@@ -3981,13 +3990,12 @@
|
|
|
3981
3990
|
"delete.js"
|
|
3982
3991
|
]
|
|
3983
3992
|
},
|
|
3984
|
-
"devops:stage:
|
|
3993
|
+
"devops:stage:environment:add": {
|
|
3985
3994
|
"aliases": [],
|
|
3986
3995
|
"args": {},
|
|
3987
|
-
"description": "
|
|
3996
|
+
"description": "This command triggers an OAuth flow to authenticate the environment. A browser window opens automatically for you to log in.",
|
|
3988
3997
|
"examples": [
|
|
3989
|
-
"Add
|
|
3990
|
-
"Create and add a branch to a pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000002 --branch-name integration --create-vcs-branch"
|
|
3998
|
+
"Add a production environment to a stage using its ID:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --stage-id 0Xp000000000001 --environment-name Production_Org --org-type Production"
|
|
3991
3999
|
],
|
|
3992
4000
|
"flags": {
|
|
3993
4001
|
"json": {
|
|
@@ -4033,35 +4041,47 @@
|
|
|
4033
4041
|
"stage-id": {
|
|
4034
4042
|
"name": "stage-id",
|
|
4035
4043
|
"required": true,
|
|
4036
|
-
"summary": "ID of the pipeline stage
|
|
4044
|
+
"summary": "ID of the pipeline stage.",
|
|
4037
4045
|
"hasDynamicHelp": false,
|
|
4038
4046
|
"multiple": false,
|
|
4039
4047
|
"type": "option"
|
|
4040
4048
|
},
|
|
4041
|
-
"
|
|
4042
|
-
"char": "
|
|
4043
|
-
"name": "
|
|
4049
|
+
"environment-name": {
|
|
4050
|
+
"char": "e",
|
|
4051
|
+
"name": "environment-name",
|
|
4044
4052
|
"required": true,
|
|
4045
|
-
"summary": "Name of the
|
|
4053
|
+
"summary": "Name of the environment.",
|
|
4046
4054
|
"hasDynamicHelp": false,
|
|
4047
4055
|
"multiple": false,
|
|
4048
4056
|
"type": "option"
|
|
4049
4057
|
},
|
|
4050
|
-
"
|
|
4051
|
-
"name": "
|
|
4052
|
-
"
|
|
4058
|
+
"org-type": {
|
|
4059
|
+
"name": "org-type",
|
|
4060
|
+
"required": true,
|
|
4061
|
+
"summary": "Type of the Salesforce org. Valid values: Production, Sandbox.",
|
|
4062
|
+
"hasDynamicHelp": false,
|
|
4063
|
+
"multiple": false,
|
|
4064
|
+
"options": [
|
|
4065
|
+
"Production",
|
|
4066
|
+
"Sandbox"
|
|
4067
|
+
],
|
|
4068
|
+
"type": "option"
|
|
4069
|
+
},
|
|
4070
|
+
"no-browser": {
|
|
4071
|
+
"name": "no-browser",
|
|
4072
|
+
"summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
|
|
4053
4073
|
"allowNo": false,
|
|
4054
4074
|
"type": "boolean"
|
|
4055
4075
|
}
|
|
4056
4076
|
},
|
|
4057
4077
|
"hasDynamicHelp": true,
|
|
4058
4078
|
"hiddenAliases": [],
|
|
4059
|
-
"id": "devops:stage:
|
|
4079
|
+
"id": "devops:stage:environment:add",
|
|
4060
4080
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
4061
4081
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
4062
4082
|
"pluginType": "jit",
|
|
4063
4083
|
"strict": true,
|
|
4064
|
-
"summary": "Add a
|
|
4084
|
+
"summary": "Add a Salesforce environment to a pipeline stage.",
|
|
4065
4085
|
"enableJsonFlag": true,
|
|
4066
4086
|
"isESM": true,
|
|
4067
4087
|
"relativePath": [
|
|
@@ -4069,16 +4089,16 @@
|
|
|
4069
4089
|
"commands",
|
|
4070
4090
|
"devops",
|
|
4071
4091
|
"stage",
|
|
4072
|
-
"
|
|
4092
|
+
"environment",
|
|
4073
4093
|
"add.js"
|
|
4074
4094
|
]
|
|
4075
4095
|
},
|
|
4076
|
-
"devops:stage:environment:
|
|
4096
|
+
"devops:stage:environment:delete": {
|
|
4077
4097
|
"aliases": [],
|
|
4078
4098
|
"args": {},
|
|
4079
|
-
"description": "
|
|
4099
|
+
"description": "Removes the specified environment from the pipeline stage. The environment must belong to an inactive pipeline.",
|
|
4080
4100
|
"examples": [
|
|
4081
|
-
"
|
|
4101
|
+
"Delete an environment:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --environment-id 0Xe000000000001"
|
|
4082
4102
|
],
|
|
4083
4103
|
"flags": {
|
|
4084
4104
|
"json": {
|
|
@@ -4116,55 +4136,29 @@
|
|
|
4116
4136
|
"pipeline-id": {
|
|
4117
4137
|
"name": "pipeline-id",
|
|
4118
4138
|
"required": true,
|
|
4119
|
-
"summary": "ID of the pipeline
|
|
4120
|
-
"hasDynamicHelp": false,
|
|
4121
|
-
"multiple": false,
|
|
4122
|
-
"type": "option"
|
|
4123
|
-
},
|
|
4124
|
-
"stage-id": {
|
|
4125
|
-
"name": "stage-id",
|
|
4126
|
-
"required": true,
|
|
4127
|
-
"summary": "ID of the pipeline stage.",
|
|
4139
|
+
"summary": "ID of the pipeline. Used to verify the pipeline is inactive before deleting.",
|
|
4128
4140
|
"hasDynamicHelp": false,
|
|
4129
4141
|
"multiple": false,
|
|
4130
4142
|
"type": "option"
|
|
4131
4143
|
},
|
|
4132
|
-
"environment-
|
|
4144
|
+
"environment-id": {
|
|
4133
4145
|
"char": "e",
|
|
4134
|
-
"name": "environment-
|
|
4135
|
-
"required": true,
|
|
4136
|
-
"summary": "Name of the environment.",
|
|
4137
|
-
"hasDynamicHelp": false,
|
|
4138
|
-
"multiple": false,
|
|
4139
|
-
"type": "option"
|
|
4140
|
-
},
|
|
4141
|
-
"org-type": {
|
|
4142
|
-
"name": "org-type",
|
|
4146
|
+
"name": "environment-id",
|
|
4143
4147
|
"required": true,
|
|
4144
|
-
"summary": "
|
|
4148
|
+
"summary": "ID of the environment to delete.",
|
|
4145
4149
|
"hasDynamicHelp": false,
|
|
4146
4150
|
"multiple": false,
|
|
4147
|
-
"options": [
|
|
4148
|
-
"Production",
|
|
4149
|
-
"Sandbox"
|
|
4150
|
-
],
|
|
4151
4151
|
"type": "option"
|
|
4152
|
-
},
|
|
4153
|
-
"no-browser": {
|
|
4154
|
-
"name": "no-browser",
|
|
4155
|
-
"summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
|
|
4156
|
-
"allowNo": false,
|
|
4157
|
-
"type": "boolean"
|
|
4158
4152
|
}
|
|
4159
4153
|
},
|
|
4160
4154
|
"hasDynamicHelp": true,
|
|
4161
4155
|
"hiddenAliases": [],
|
|
4162
|
-
"id": "devops:stage:environment:
|
|
4156
|
+
"id": "devops:stage:environment:delete",
|
|
4163
4157
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
4164
4158
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
4165
4159
|
"pluginType": "jit",
|
|
4166
4160
|
"strict": true,
|
|
4167
|
-
"summary": "
|
|
4161
|
+
"summary": "Delete an environment from a DevOps Center pipeline stage.",
|
|
4168
4162
|
"enableJsonFlag": true,
|
|
4169
4163
|
"isESM": true,
|
|
4170
4164
|
"relativePath": [
|
|
@@ -4173,15 +4167,16 @@
|
|
|
4173
4167
|
"devops",
|
|
4174
4168
|
"stage",
|
|
4175
4169
|
"environment",
|
|
4176
|
-
"
|
|
4170
|
+
"delete.js"
|
|
4177
4171
|
]
|
|
4178
4172
|
},
|
|
4179
|
-
"devops:stage:
|
|
4173
|
+
"devops:stage:branch:add": {
|
|
4180
4174
|
"aliases": [],
|
|
4181
4175
|
"args": {},
|
|
4182
|
-
"description": "
|
|
4176
|
+
"description": "By default, the branch must exist in the repository. Use --create-vcs-branch to create a branch if it doesn't exist.\nEach pipeline stage supports only one branch. Adding a branch replaces any existing branch linked to the pipeline stage.",
|
|
4183
4177
|
"examples": [
|
|
4184
|
-
"
|
|
4178
|
+
"Add an existing branch to a stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000001 --branch-name main",
|
|
4179
|
+
"Create and add a branch to a pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000002 --branch-name integration --create-vcs-branch"
|
|
4185
4180
|
],
|
|
4186
4181
|
"flags": {
|
|
4187
4182
|
"json": {
|
|
@@ -4219,29 +4214,43 @@
|
|
|
4219
4214
|
"pipeline-id": {
|
|
4220
4215
|
"name": "pipeline-id",
|
|
4221
4216
|
"required": true,
|
|
4222
|
-
"summary": "ID of the pipeline
|
|
4217
|
+
"summary": "ID of the pipeline that contains the stage.",
|
|
4223
4218
|
"hasDynamicHelp": false,
|
|
4224
4219
|
"multiple": false,
|
|
4225
4220
|
"type": "option"
|
|
4226
4221
|
},
|
|
4227
|
-
"
|
|
4228
|
-
"
|
|
4229
|
-
"name": "environment-id",
|
|
4222
|
+
"stage-id": {
|
|
4223
|
+
"name": "stage-id",
|
|
4230
4224
|
"required": true,
|
|
4231
|
-
"summary": "ID of the
|
|
4225
|
+
"summary": "ID of the pipeline stage to associate the branch with.",
|
|
4226
|
+
"hasDynamicHelp": false,
|
|
4227
|
+
"multiple": false,
|
|
4228
|
+
"type": "option"
|
|
4229
|
+
},
|
|
4230
|
+
"branch-name": {
|
|
4231
|
+
"char": "b",
|
|
4232
|
+
"name": "branch-name",
|
|
4233
|
+
"required": true,
|
|
4234
|
+
"summary": "Name of the repository branch to assign to the stage.",
|
|
4232
4235
|
"hasDynamicHelp": false,
|
|
4233
4236
|
"multiple": false,
|
|
4234
4237
|
"type": "option"
|
|
4238
|
+
},
|
|
4239
|
+
"create-vcs-branch": {
|
|
4240
|
+
"name": "create-vcs-branch",
|
|
4241
|
+
"summary": "Create the branch in the remote repository if it doesn't already exist.",
|
|
4242
|
+
"allowNo": false,
|
|
4243
|
+
"type": "boolean"
|
|
4235
4244
|
}
|
|
4236
4245
|
},
|
|
4237
4246
|
"hasDynamicHelp": true,
|
|
4238
4247
|
"hiddenAliases": [],
|
|
4239
|
-
"id": "devops:stage:
|
|
4248
|
+
"id": "devops:stage:branch:add",
|
|
4240
4249
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
4241
4250
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
4242
4251
|
"pluginType": "jit",
|
|
4243
4252
|
"strict": true,
|
|
4244
|
-
"summary": "
|
|
4253
|
+
"summary": "Add a source code repository branch to a pipeline stage.",
|
|
4245
4254
|
"enableJsonFlag": true,
|
|
4246
4255
|
"isESM": true,
|
|
4247
4256
|
"relativePath": [
|
|
@@ -4249,8 +4258,8 @@
|
|
|
4249
4258
|
"commands",
|
|
4250
4259
|
"devops",
|
|
4251
4260
|
"stage",
|
|
4252
|
-
"
|
|
4253
|
-
"
|
|
4261
|
+
"branch",
|
|
4262
|
+
"add.js"
|
|
4254
4263
|
]
|
|
4255
4264
|
},
|
|
4256
4265
|
"project:deploy:pipeline:quick": {
|
|
@@ -4829,15 +4838,16 @@
|
|
|
4829
4838
|
"validate.js"
|
|
4830
4839
|
]
|
|
4831
4840
|
},
|
|
4832
|
-
"flow:
|
|
4841
|
+
"flow:run:test": {
|
|
4833
4842
|
"aliases": [],
|
|
4834
4843
|
"args": {},
|
|
4835
|
-
"description": "
|
|
4844
|
+
"description": "Specify which tests to run by using the --class-names flag followed by the names of the flows you want to test. For example, if you save a flow with the name Flow1, then use: --class-names Flow1.\n\nTo see code coverage results, use the --code-coverage flag with --result-format. The output displays a high-level summary of the test run and the code coverage values for classes in your org. If you specify human-readable result format, use the --detailed-coverage flag to see detailed coverage results for each test method run.\n\nBy default, \"flow run test\" runs asynchronously and immediately returns a test run ID. If you use the -–synchronous flag, you can use the --wait flag to specify the number of minutes to wait; if the tests finish in that timeframe, the command displays the results. If the tests haven't finished by the end of the wait time, the command displays a test run ID. Use the \"flow get test --test-run-id\" command to get the results.\n\nTo run both Flow and Apex tests together, run the \"sf logic run test\" CLI command, which has similar flags as this command, but expands the --tests flag to also include Apex tests.\n\nYou must have the \"View All Data\" org system permission to use this command. The permission is disabled by default and can be enabled only by a system administrator.",
|
|
4836
4845
|
"examples": [
|
|
4837
|
-
"
|
|
4838
|
-
"
|
|
4839
|
-
"
|
|
4840
|
-
"
|
|
4846
|
+
"Run all local tests in your default org:\n<%= config.bin %> <%= command.id %> --test-level RunLocalTests",
|
|
4847
|
+
"Run all the Flow1 and Flow2 flow tests in the org with alias “scratchOrg”:\n<%= config.bin %> <%= command.id %> --target-org scratchOrg --class-names Flow1 --class-names Flow2",
|
|
4848
|
+
"Run specific Flow1 and Flow2 flow tests in your default org:\n<%= config.bin %> <%= command.id %> --tests Flow1.Test1 --tests Flow2.Test2 --test-level RunSpecifiedTests",
|
|
4849
|
+
"Run all tests synchronously in your default org; the command waits to display the test results until all tests finish:\n<%= config.bin %> <%= command.id %> –synchronous",
|
|
4850
|
+
"Run all local tests in the org with the username “me@my.org”; save the output to the specified directory:\n<%= config.bin %> <%= command.id %> --test-level RunLocalTests --output-dir /Users/susan/temp/cliOutput --target-org me@my.org"
|
|
4841
4851
|
],
|
|
4842
4852
|
"flags": {
|
|
4843
4853
|
"json": {
|
|
@@ -4872,21 +4882,26 @@
|
|
|
4872
4882
|
"multiple": false,
|
|
4873
4883
|
"type": "option"
|
|
4874
4884
|
},
|
|
4875
|
-
"
|
|
4876
|
-
"char": "
|
|
4877
|
-
"name": "
|
|
4878
|
-
"summary": "
|
|
4885
|
+
"result-format": {
|
|
4886
|
+
"char": "r",
|
|
4887
|
+
"name": "result-format",
|
|
4888
|
+
"summary": "Format of the test results.",
|
|
4889
|
+
"default": "human",
|
|
4879
4890
|
"hasDynamicHelp": false,
|
|
4880
4891
|
"multiple": false,
|
|
4892
|
+
"options": [
|
|
4893
|
+
"human",
|
|
4894
|
+
"tap",
|
|
4895
|
+
"junit",
|
|
4896
|
+
"json"
|
|
4897
|
+
],
|
|
4881
4898
|
"type": "option"
|
|
4882
4899
|
},
|
|
4883
|
-
"
|
|
4884
|
-
"
|
|
4885
|
-
"
|
|
4886
|
-
"
|
|
4887
|
-
"
|
|
4888
|
-
"multiple": false,
|
|
4889
|
-
"type": "option"
|
|
4900
|
+
"concise": {
|
|
4901
|
+
"name": "concise",
|
|
4902
|
+
"summary": "Display only failed test results; works with human-readable output only.",
|
|
4903
|
+
"allowNo": false,
|
|
4904
|
+
"type": "boolean"
|
|
4890
4905
|
},
|
|
4891
4906
|
"output-dir": {
|
|
4892
4907
|
"char": "d",
|
|
@@ -4895,38 +4910,109 @@
|
|
|
4895
4910
|
"hasDynamicHelp": false,
|
|
4896
4911
|
"multiple": false,
|
|
4897
4912
|
"type": "option"
|
|
4913
|
+
},
|
|
4914
|
+
"code-coverage": {
|
|
4915
|
+
"char": "c",
|
|
4916
|
+
"name": "code-coverage",
|
|
4917
|
+
"summary": "Retrieve code coverage results.",
|
|
4918
|
+
"allowNo": false,
|
|
4919
|
+
"type": "boolean"
|
|
4920
|
+
},
|
|
4921
|
+
"synchronous": {
|
|
4922
|
+
"char": "y",
|
|
4923
|
+
"name": "synchronous",
|
|
4924
|
+
"summary": "Run flow tests for one flow synchronously; if not specified, tests are run asynchronously.",
|
|
4925
|
+
"allowNo": false,
|
|
4926
|
+
"type": "boolean"
|
|
4927
|
+
},
|
|
4928
|
+
"test-level": {
|
|
4929
|
+
"char": "l",
|
|
4930
|
+
"description": "Here's what the levels mean:\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages.\n- RunAllTestsInOrg — All tests are run. The tests include all tests in your org, including tests of managed packages.\n- RunSpecifiedTests - Only the tests that you specify with the --tests flag are run.",
|
|
4931
|
+
"name": "test-level",
|
|
4932
|
+
"summary": "Level of tests to run; default is RunLocalTests.",
|
|
4933
|
+
"hasDynamicHelp": false,
|
|
4934
|
+
"multiple": false,
|
|
4935
|
+
"options": [
|
|
4936
|
+
"RunLocalTests",
|
|
4937
|
+
"RunAllTestsInOrg",
|
|
4938
|
+
"RunSpecifiedTests"
|
|
4939
|
+
],
|
|
4940
|
+
"type": "option"
|
|
4941
|
+
},
|
|
4942
|
+
"class-names": {
|
|
4943
|
+
"aliases": [
|
|
4944
|
+
"classnames"
|
|
4945
|
+
],
|
|
4946
|
+
"char": "n",
|
|
4947
|
+
"description": "Default is all flow tests. If you select --class-names, you can't specify --tests.",
|
|
4948
|
+
"exclusive": [
|
|
4949
|
+
"suite-names",
|
|
4950
|
+
"tests"
|
|
4951
|
+
],
|
|
4952
|
+
"name": "class-names",
|
|
4953
|
+
"summary": "Flow names that contain flow tests to run.",
|
|
4954
|
+
"hasDynamicHelp": false,
|
|
4955
|
+
"multiple": true,
|
|
4956
|
+
"type": "option"
|
|
4957
|
+
},
|
|
4958
|
+
"suite-names": {
|
|
4959
|
+
"aliases": [
|
|
4960
|
+
"suitenames"
|
|
4961
|
+
],
|
|
4962
|
+
"char": "s",
|
|
4963
|
+
"description": "Not available for flow tests.",
|
|
4964
|
+
"exclusive": [
|
|
4965
|
+
"class-names",
|
|
4966
|
+
"tests"
|
|
4967
|
+
],
|
|
4968
|
+
"name": "suite-names",
|
|
4969
|
+
"summary": "Not available for flow tests.",
|
|
4970
|
+
"hasDynamicHelp": false,
|
|
4971
|
+
"multiple": true,
|
|
4972
|
+
"type": "option"
|
|
4973
|
+
},
|
|
4974
|
+
"tests": {
|
|
4975
|
+
"char": "t",
|
|
4976
|
+
"description": "Default is all flow tests. If you specify --tests, you can't specify --class-names.",
|
|
4977
|
+
"exclusive": [
|
|
4978
|
+
"class-names",
|
|
4979
|
+
"suite-names"
|
|
4980
|
+
],
|
|
4981
|
+
"name": "tests",
|
|
4982
|
+
"summary": "Flow test names to run.",
|
|
4983
|
+
"hasDynamicHelp": false,
|
|
4984
|
+
"multiple": true,
|
|
4985
|
+
"type": "option"
|
|
4898
4986
|
}
|
|
4899
4987
|
},
|
|
4900
4988
|
"hasDynamicHelp": true,
|
|
4901
|
-
"hidden": true,
|
|
4902
4989
|
"hiddenAliases": [],
|
|
4903
|
-
"id": "flow:
|
|
4990
|
+
"id": "flow:run:test",
|
|
4904
4991
|
"pluginAlias": "@salesforce/plugin-flow",
|
|
4905
4992
|
"pluginName": "@salesforce/plugin-flow",
|
|
4906
4993
|
"pluginType": "jit",
|
|
4907
|
-
"state": "preview",
|
|
4908
4994
|
"strict": true,
|
|
4909
|
-
"summary": "
|
|
4995
|
+
"summary": "Invoke flow tests in an org.",
|
|
4910
4996
|
"enableJsonFlag": true,
|
|
4911
4997
|
"isESM": true,
|
|
4912
4998
|
"relativePath": [
|
|
4913
4999
|
"lib",
|
|
4914
5000
|
"commands",
|
|
4915
5001
|
"flow",
|
|
4916
|
-
"
|
|
4917
|
-
"
|
|
5002
|
+
"run",
|
|
5003
|
+
"test.js"
|
|
4918
5004
|
],
|
|
4919
5005
|
"aliasPermutations": [],
|
|
4920
5006
|
"permutations": [
|
|
4921
|
-
"flow:
|
|
4922
|
-
"
|
|
4923
|
-
"
|
|
4924
|
-
"flow:
|
|
4925
|
-
"
|
|
4926
|
-
"
|
|
5007
|
+
"flow:run:test",
|
|
5008
|
+
"run:flow:test",
|
|
5009
|
+
"run:test:flow",
|
|
5010
|
+
"flow:test:run",
|
|
5011
|
+
"test:flow:run",
|
|
5012
|
+
"test:run:flow"
|
|
4927
5013
|
]
|
|
4928
5014
|
},
|
|
4929
|
-
"flow:get:
|
|
5015
|
+
"flow:get:log": {
|
|
4930
5016
|
"aliases": [],
|
|
4931
5017
|
"args": {},
|
|
4932
5018
|
"description": "Provide a flow test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"sf flow run test\" command.\n\nTo see code coverage results, use the --code-coverage flag with --result-format. The output displays a high-level summary of the test run and the code coverage values for flow tests in your org. If you specify human-readable result format, use the --detailed-coverage flag to see detailed coverage results for each test method run.",
|
|
@@ -4969,30 +5055,21 @@
|
|
|
4969
5055
|
"multiple": false,
|
|
4970
5056
|
"type": "option"
|
|
4971
5057
|
},
|
|
4972
|
-
"
|
|
5058
|
+
"log-id": {
|
|
4973
5059
|
"char": "i",
|
|
4974
|
-
"name": "
|
|
4975
|
-
"
|
|
4976
|
-
"summary": "ID of the test run.",
|
|
5060
|
+
"name": "log-id",
|
|
5061
|
+
"summary": "ID of the specific log to display.",
|
|
4977
5062
|
"hasDynamicHelp": false,
|
|
4978
5063
|
"multiple": false,
|
|
4979
5064
|
"type": "option"
|
|
4980
5065
|
},
|
|
4981
|
-
"
|
|
4982
|
-
"char": "
|
|
4983
|
-
"name": "
|
|
4984
|
-
"summary": "
|
|
4985
|
-
"
|
|
4986
|
-
"
|
|
4987
|
-
|
|
4988
|
-
"detailed-coverage": {
|
|
4989
|
-
"dependsOn": [
|
|
4990
|
-
"code-coverage"
|
|
4991
|
-
],
|
|
4992
|
-
"name": "detailed-coverage",
|
|
4993
|
-
"summary": "Not available for flow tests.",
|
|
4994
|
-
"allowNo": false,
|
|
4995
|
-
"type": "boolean"
|
|
5066
|
+
"number": {
|
|
5067
|
+
"char": "n",
|
|
5068
|
+
"name": "number",
|
|
5069
|
+
"summary": "Number of the most recent logs to display.",
|
|
5070
|
+
"hasDynamicHelp": false,
|
|
5071
|
+
"multiple": false,
|
|
5072
|
+
"type": "option"
|
|
4996
5073
|
},
|
|
4997
5074
|
"output-dir": {
|
|
4998
5075
|
"char": "d",
|
|
@@ -5001,35 +5078,16 @@
|
|
|
5001
5078
|
"hasDynamicHelp": false,
|
|
5002
5079
|
"multiple": false,
|
|
5003
5080
|
"type": "option"
|
|
5004
|
-
},
|
|
5005
|
-
"result-format": {
|
|
5006
|
-
"char": "r",
|
|
5007
|
-
"name": "result-format",
|
|
5008
|
-
"summary": "Format of the test results.",
|
|
5009
|
-
"default": "human",
|
|
5010
|
-
"hasDynamicHelp": false,
|
|
5011
|
-
"multiple": false,
|
|
5012
|
-
"options": [
|
|
5013
|
-
"human",
|
|
5014
|
-
"tap",
|
|
5015
|
-
"junit",
|
|
5016
|
-
"json"
|
|
5017
|
-
],
|
|
5018
|
-
"type": "option"
|
|
5019
|
-
},
|
|
5020
|
-
"concise": {
|
|
5021
|
-
"name": "concise",
|
|
5022
|
-
"summary": "Display only failed test results; works with human-readable output only.",
|
|
5023
|
-
"allowNo": false,
|
|
5024
|
-
"type": "boolean"
|
|
5025
5081
|
}
|
|
5026
5082
|
},
|
|
5027
5083
|
"hasDynamicHelp": true,
|
|
5084
|
+
"hidden": true,
|
|
5028
5085
|
"hiddenAliases": [],
|
|
5029
|
-
"id": "flow:get:
|
|
5086
|
+
"id": "flow:get:log",
|
|
5030
5087
|
"pluginAlias": "@salesforce/plugin-flow",
|
|
5031
5088
|
"pluginName": "@salesforce/plugin-flow",
|
|
5032
5089
|
"pluginType": "jit",
|
|
5090
|
+
"state": "preview",
|
|
5033
5091
|
"strict": true,
|
|
5034
5092
|
"summary": "Display test results for a specific asynchronous test run.",
|
|
5035
5093
|
"enableJsonFlag": true,
|
|
@@ -5039,28 +5097,27 @@
|
|
|
5039
5097
|
"commands",
|
|
5040
5098
|
"flow",
|
|
5041
5099
|
"get",
|
|
5042
|
-
"
|
|
5100
|
+
"log.js"
|
|
5043
5101
|
],
|
|
5044
5102
|
"aliasPermutations": [],
|
|
5045
5103
|
"permutations": [
|
|
5046
|
-
"flow:get:
|
|
5047
|
-
"get:flow:
|
|
5048
|
-
"get:
|
|
5049
|
-
"flow:
|
|
5050
|
-
"
|
|
5051
|
-
"
|
|
5104
|
+
"flow:get:log",
|
|
5105
|
+
"get:flow:log",
|
|
5106
|
+
"get:log:flow",
|
|
5107
|
+
"flow:log:get",
|
|
5108
|
+
"log:flow:get",
|
|
5109
|
+
"log:get:flow"
|
|
5052
5110
|
]
|
|
5053
5111
|
},
|
|
5054
|
-
"flow:
|
|
5112
|
+
"flow:get:test": {
|
|
5055
5113
|
"aliases": [],
|
|
5056
5114
|
"args": {},
|
|
5057
|
-
"description": "
|
|
5115
|
+
"description": "Provide a flow test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"sf flow run test\" command.\n\nTo see code coverage results, use the --code-coverage flag with --result-format. The output displays a high-level summary of the test run and the code coverage values for flow tests in your org. If you specify human-readable result format, use the --detailed-coverage flag to see detailed coverage results for each test method run.",
|
|
5058
5116
|
"examples": [
|
|
5059
|
-
"
|
|
5060
|
-
"
|
|
5061
|
-
"
|
|
5062
|
-
"
|
|
5063
|
-
"Run all local tests in the org with the username “me@my.org”; save the output to the specified directory:\n<%= config.bin %> <%= command.id %> --test-level RunLocalTests --output-dir /Users/susan/temp/cliOutput --target-org me@my.org"
|
|
5117
|
+
"Display flow test results for your default org using a test run ID:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id>",
|
|
5118
|
+
"Similar to previous example, but output the result in JUnit format:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --result-format junit",
|
|
5119
|
+
"Also retrieve code coverage results and output in JSON format:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --code-coverage --json",
|
|
5120
|
+
"Specify a directory in which to save the test results from the org with the “me@my.org” username (rather than your default org):\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --code-coverage --output-dir <path to outputdir> --target-org me@my.org'"
|
|
5064
5121
|
],
|
|
5065
5122
|
"flags": {
|
|
5066
5123
|
"json": {
|
|
@@ -5095,31 +5152,11 @@
|
|
|
5095
5152
|
"multiple": false,
|
|
5096
5153
|
"type": "option"
|
|
5097
5154
|
},
|
|
5098
|
-
"
|
|
5099
|
-
"char": "
|
|
5100
|
-
"name": "
|
|
5101
|
-
"
|
|
5102
|
-
"
|
|
5103
|
-
"hasDynamicHelp": false,
|
|
5104
|
-
"multiple": false,
|
|
5105
|
-
"options": [
|
|
5106
|
-
"human",
|
|
5107
|
-
"tap",
|
|
5108
|
-
"junit",
|
|
5109
|
-
"json"
|
|
5110
|
-
],
|
|
5111
|
-
"type": "option"
|
|
5112
|
-
},
|
|
5113
|
-
"concise": {
|
|
5114
|
-
"name": "concise",
|
|
5115
|
-
"summary": "Display only failed test results; works with human-readable output only.",
|
|
5116
|
-
"allowNo": false,
|
|
5117
|
-
"type": "boolean"
|
|
5118
|
-
},
|
|
5119
|
-
"output-dir": {
|
|
5120
|
-
"char": "d",
|
|
5121
|
-
"name": "output-dir",
|
|
5122
|
-
"summary": "Directory in which to store test result files.",
|
|
5155
|
+
"test-run-id": {
|
|
5156
|
+
"char": "i",
|
|
5157
|
+
"name": "test-run-id",
|
|
5158
|
+
"required": true,
|
|
5159
|
+
"summary": "ID of the test run.",
|
|
5123
5160
|
"hasDynamicHelp": false,
|
|
5124
5161
|
"multiple": false,
|
|
5125
5162
|
"type": "option"
|
|
@@ -5131,98 +5168,70 @@
|
|
|
5131
5168
|
"allowNo": false,
|
|
5132
5169
|
"type": "boolean"
|
|
5133
5170
|
},
|
|
5134
|
-
"
|
|
5135
|
-
"
|
|
5136
|
-
|
|
5137
|
-
|
|
5171
|
+
"detailed-coverage": {
|
|
5172
|
+
"dependsOn": [
|
|
5173
|
+
"code-coverage"
|
|
5174
|
+
],
|
|
5175
|
+
"name": "detailed-coverage",
|
|
5176
|
+
"summary": "Not available for flow tests.",
|
|
5138
5177
|
"allowNo": false,
|
|
5139
5178
|
"type": "boolean"
|
|
5140
5179
|
},
|
|
5141
|
-
"
|
|
5142
|
-
"char": "
|
|
5143
|
-
"
|
|
5144
|
-
"
|
|
5145
|
-
"summary": "Level of tests to run; default is RunLocalTests.",
|
|
5180
|
+
"output-dir": {
|
|
5181
|
+
"char": "d",
|
|
5182
|
+
"name": "output-dir",
|
|
5183
|
+
"summary": "Directory in which to store test result files.",
|
|
5146
5184
|
"hasDynamicHelp": false,
|
|
5147
5185
|
"multiple": false,
|
|
5148
|
-
"options": [
|
|
5149
|
-
"RunLocalTests",
|
|
5150
|
-
"RunAllTestsInOrg",
|
|
5151
|
-
"RunSpecifiedTests"
|
|
5152
|
-
],
|
|
5153
5186
|
"type": "option"
|
|
5154
5187
|
},
|
|
5155
|
-
"
|
|
5156
|
-
"
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
"
|
|
5160
|
-
"description": "Default is all flow tests. If you select --class-names, you can't specify --tests.",
|
|
5161
|
-
"exclusive": [
|
|
5162
|
-
"suite-names",
|
|
5163
|
-
"tests"
|
|
5164
|
-
],
|
|
5165
|
-
"name": "class-names",
|
|
5166
|
-
"summary": "Flow names that contain flow tests to run.",
|
|
5188
|
+
"result-format": {
|
|
5189
|
+
"char": "r",
|
|
5190
|
+
"name": "result-format",
|
|
5191
|
+
"summary": "Format of the test results.",
|
|
5192
|
+
"default": "human",
|
|
5167
5193
|
"hasDynamicHelp": false,
|
|
5168
|
-
"multiple":
|
|
5169
|
-
"
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
"
|
|
5174
|
-
],
|
|
5175
|
-
"char": "s",
|
|
5176
|
-
"description": "Not available for flow tests.",
|
|
5177
|
-
"exclusive": [
|
|
5178
|
-
"class-names",
|
|
5179
|
-
"tests"
|
|
5194
|
+
"multiple": false,
|
|
5195
|
+
"options": [
|
|
5196
|
+
"human",
|
|
5197
|
+
"tap",
|
|
5198
|
+
"junit",
|
|
5199
|
+
"json"
|
|
5180
5200
|
],
|
|
5181
|
-
"name": "suite-names",
|
|
5182
|
-
"summary": "Not available for flow tests.",
|
|
5183
|
-
"hasDynamicHelp": false,
|
|
5184
|
-
"multiple": true,
|
|
5185
5201
|
"type": "option"
|
|
5186
5202
|
},
|
|
5187
|
-
"
|
|
5188
|
-
"
|
|
5189
|
-
"
|
|
5190
|
-
"
|
|
5191
|
-
|
|
5192
|
-
"suite-names"
|
|
5193
|
-
],
|
|
5194
|
-
"name": "tests",
|
|
5195
|
-
"summary": "Flow test names to run.",
|
|
5196
|
-
"hasDynamicHelp": false,
|
|
5197
|
-
"multiple": true,
|
|
5198
|
-
"type": "option"
|
|
5203
|
+
"concise": {
|
|
5204
|
+
"name": "concise",
|
|
5205
|
+
"summary": "Display only failed test results; works with human-readable output only.",
|
|
5206
|
+
"allowNo": false,
|
|
5207
|
+
"type": "boolean"
|
|
5199
5208
|
}
|
|
5200
5209
|
},
|
|
5201
5210
|
"hasDynamicHelp": true,
|
|
5202
5211
|
"hiddenAliases": [],
|
|
5203
|
-
"id": "flow:
|
|
5212
|
+
"id": "flow:get:test",
|
|
5204
5213
|
"pluginAlias": "@salesforce/plugin-flow",
|
|
5205
5214
|
"pluginName": "@salesforce/plugin-flow",
|
|
5206
5215
|
"pluginType": "jit",
|
|
5207
5216
|
"strict": true,
|
|
5208
|
-
"summary": "
|
|
5217
|
+
"summary": "Display test results for a specific asynchronous test run.",
|
|
5209
5218
|
"enableJsonFlag": true,
|
|
5210
5219
|
"isESM": true,
|
|
5211
5220
|
"relativePath": [
|
|
5212
5221
|
"lib",
|
|
5213
5222
|
"commands",
|
|
5214
5223
|
"flow",
|
|
5215
|
-
"
|
|
5224
|
+
"get",
|
|
5216
5225
|
"test.js"
|
|
5217
5226
|
],
|
|
5218
5227
|
"aliasPermutations": [],
|
|
5219
5228
|
"permutations": [
|
|
5220
|
-
"flow:
|
|
5221
|
-
"
|
|
5222
|
-
"
|
|
5223
|
-
"flow:test:
|
|
5224
|
-
"test:flow:
|
|
5225
|
-
"test:
|
|
5229
|
+
"flow:get:test",
|
|
5230
|
+
"get:flow:test",
|
|
5231
|
+
"get:test:flow",
|
|
5232
|
+
"flow:test:get",
|
|
5233
|
+
"test:flow:get",
|
|
5234
|
+
"test:get:flow"
|
|
5226
5235
|
]
|
|
5227
5236
|
},
|
|
5228
5237
|
"lightning:dev:app": {
|
|
@@ -5995,6 +6004,131 @@
|
|
|
5995
6004
|
"snapshot:delete:org"
|
|
5996
6005
|
]
|
|
5997
6006
|
},
|
|
6007
|
+
"org:get:snapshot": {
|
|
6008
|
+
"aliases": [
|
|
6009
|
+
"force:org:snapshot:get"
|
|
6010
|
+
],
|
|
6011
|
+
"args": {},
|
|
6012
|
+
"deprecateAliases": true,
|
|
6013
|
+
"description": "Snapshot creation can take a while. Use this command with the snapshot name or ID to check its creation status. After the status changes to Active, you can use the snapshot to create scratch orgs.\n\nTo create a snapshot, use the \"<%= config.bin %> org create snapshot\" command. To retrieve a list of all snapshots, use \"<%= config.bin %> org list snapshot\".",
|
|
6014
|
+
"examples": [
|
|
6015
|
+
"Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
|
|
6016
|
+
"Get snapshot details using its name from a Dev Hub org with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --snapshot Dependencies --target-dev-hub SnapshotDevHub"
|
|
6017
|
+
],
|
|
6018
|
+
"flags": {
|
|
6019
|
+
"json": {
|
|
6020
|
+
"description": "Format output as json.",
|
|
6021
|
+
"helpGroup": "GLOBAL",
|
|
6022
|
+
"name": "json",
|
|
6023
|
+
"allowNo": false,
|
|
6024
|
+
"type": "boolean"
|
|
6025
|
+
},
|
|
6026
|
+
"flags-dir": {
|
|
6027
|
+
"helpGroup": "GLOBAL",
|
|
6028
|
+
"name": "flags-dir",
|
|
6029
|
+
"summary": "Import flag values from a directory.",
|
|
6030
|
+
"hasDynamicHelp": false,
|
|
6031
|
+
"multiple": false,
|
|
6032
|
+
"type": "option"
|
|
6033
|
+
},
|
|
6034
|
+
"target-dev-hub": {
|
|
6035
|
+
"aliases": [
|
|
6036
|
+
"targetdevhubusername"
|
|
6037
|
+
],
|
|
6038
|
+
"char": "v",
|
|
6039
|
+
"deprecateAliases": true,
|
|
6040
|
+
"name": "target-dev-hub",
|
|
6041
|
+
"noCacheDefault": true,
|
|
6042
|
+
"required": true,
|
|
6043
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
6044
|
+
"hasDynamicHelp": true,
|
|
6045
|
+
"multiple": false,
|
|
6046
|
+
"type": "option"
|
|
6047
|
+
},
|
|
6048
|
+
"api-version": {
|
|
6049
|
+
"aliases": [
|
|
6050
|
+
"apiversion"
|
|
6051
|
+
],
|
|
6052
|
+
"deprecateAliases": true,
|
|
6053
|
+
"description": "Override the api version used for api requests made by this command",
|
|
6054
|
+
"name": "api-version",
|
|
6055
|
+
"hasDynamicHelp": false,
|
|
6056
|
+
"multiple": false,
|
|
6057
|
+
"type": "option"
|
|
6058
|
+
},
|
|
6059
|
+
"loglevel": {
|
|
6060
|
+
"deprecated": {
|
|
6061
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SF_LOG_LEVEL` environment variable."
|
|
6062
|
+
},
|
|
6063
|
+
"hidden": true,
|
|
6064
|
+
"name": "loglevel",
|
|
6065
|
+
"hasDynamicHelp": false,
|
|
6066
|
+
"multiple": false,
|
|
6067
|
+
"type": "option"
|
|
6068
|
+
},
|
|
6069
|
+
"snapshot": {
|
|
6070
|
+
"char": "s",
|
|
6071
|
+
"description": "The IDs of scratch org snapshots start with 0Oo.",
|
|
6072
|
+
"name": "snapshot",
|
|
6073
|
+
"required": true,
|
|
6074
|
+
"summary": "Name or ID of snapshot to retrieve.",
|
|
6075
|
+
"hasDynamicHelp": false,
|
|
6076
|
+
"multiple": false,
|
|
6077
|
+
"type": "option"
|
|
6078
|
+
}
|
|
6079
|
+
},
|
|
6080
|
+
"hasDynamicHelp": true,
|
|
6081
|
+
"hiddenAliases": [],
|
|
6082
|
+
"id": "org:get:snapshot",
|
|
6083
|
+
"pluginAlias": "@salesforce/plugin-signups",
|
|
6084
|
+
"pluginName": "@salesforce/plugin-signups",
|
|
6085
|
+
"pluginType": "jit",
|
|
6086
|
+
"strict": true,
|
|
6087
|
+
"summary": "Get details about a scratch org snapshot.",
|
|
6088
|
+
"enableJsonFlag": true,
|
|
6089
|
+
"isESM": true,
|
|
6090
|
+
"relativePath": [
|
|
6091
|
+
"lib",
|
|
6092
|
+
"commands",
|
|
6093
|
+
"org",
|
|
6094
|
+
"get",
|
|
6095
|
+
"snapshot.js"
|
|
6096
|
+
],
|
|
6097
|
+
"aliasPermutations": [
|
|
6098
|
+
"force:org:snapshot:get",
|
|
6099
|
+
"org:force:snapshot:get",
|
|
6100
|
+
"org:snapshot:force:get",
|
|
6101
|
+
"org:snapshot:get:force",
|
|
6102
|
+
"force:snapshot:org:get",
|
|
6103
|
+
"snapshot:force:org:get",
|
|
6104
|
+
"snapshot:org:force:get",
|
|
6105
|
+
"snapshot:org:get:force",
|
|
6106
|
+
"force:snapshot:get:org",
|
|
6107
|
+
"snapshot:force:get:org",
|
|
6108
|
+
"snapshot:get:force:org",
|
|
6109
|
+
"snapshot:get:org:force",
|
|
6110
|
+
"force:org:get:snapshot",
|
|
6111
|
+
"org:force:get:snapshot",
|
|
6112
|
+
"org:get:force:snapshot",
|
|
6113
|
+
"org:get:snapshot:force",
|
|
6114
|
+
"force:get:org:snapshot",
|
|
6115
|
+
"get:force:org:snapshot",
|
|
6116
|
+
"get:org:force:snapshot",
|
|
6117
|
+
"get:org:snapshot:force",
|
|
6118
|
+
"force:get:snapshot:org",
|
|
6119
|
+
"get:force:snapshot:org",
|
|
6120
|
+
"get:snapshot:force:org",
|
|
6121
|
+
"get:snapshot:org:force"
|
|
6122
|
+
],
|
|
6123
|
+
"permutations": [
|
|
6124
|
+
"org:get:snapshot",
|
|
6125
|
+
"get:org:snapshot",
|
|
6126
|
+
"get:snapshot:org",
|
|
6127
|
+
"org:snapshot:get",
|
|
6128
|
+
"snapshot:org:get",
|
|
6129
|
+
"snapshot:get:org"
|
|
6130
|
+
]
|
|
6131
|
+
},
|
|
5998
6132
|
"org:list:shape": {
|
|
5999
6133
|
"aliases": [
|
|
6000
6134
|
"force:org:shape:list"
|
|
@@ -6207,131 +6341,6 @@
|
|
|
6207
6341
|
"snapshot:list:org"
|
|
6208
6342
|
]
|
|
6209
6343
|
},
|
|
6210
|
-
"org:get:snapshot": {
|
|
6211
|
-
"aliases": [
|
|
6212
|
-
"force:org:snapshot:get"
|
|
6213
|
-
],
|
|
6214
|
-
"args": {},
|
|
6215
|
-
"deprecateAliases": true,
|
|
6216
|
-
"description": "Snapshot creation can take a while. Use this command with the snapshot name or ID to check its creation status. After the status changes to Active, you can use the snapshot to create scratch orgs.\n\nTo create a snapshot, use the \"<%= config.bin %> org create snapshot\" command. To retrieve a list of all snapshots, use \"<%= config.bin %> org list snapshot\".",
|
|
6217
|
-
"examples": [
|
|
6218
|
-
"Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
|
|
6219
|
-
"Get snapshot details using its name from a Dev Hub org with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --snapshot Dependencies --target-dev-hub SnapshotDevHub"
|
|
6220
|
-
],
|
|
6221
|
-
"flags": {
|
|
6222
|
-
"json": {
|
|
6223
|
-
"description": "Format output as json.",
|
|
6224
|
-
"helpGroup": "GLOBAL",
|
|
6225
|
-
"name": "json",
|
|
6226
|
-
"allowNo": false,
|
|
6227
|
-
"type": "boolean"
|
|
6228
|
-
},
|
|
6229
|
-
"flags-dir": {
|
|
6230
|
-
"helpGroup": "GLOBAL",
|
|
6231
|
-
"name": "flags-dir",
|
|
6232
|
-
"summary": "Import flag values from a directory.",
|
|
6233
|
-
"hasDynamicHelp": false,
|
|
6234
|
-
"multiple": false,
|
|
6235
|
-
"type": "option"
|
|
6236
|
-
},
|
|
6237
|
-
"target-dev-hub": {
|
|
6238
|
-
"aliases": [
|
|
6239
|
-
"targetdevhubusername"
|
|
6240
|
-
],
|
|
6241
|
-
"char": "v",
|
|
6242
|
-
"deprecateAliases": true,
|
|
6243
|
-
"name": "target-dev-hub",
|
|
6244
|
-
"noCacheDefault": true,
|
|
6245
|
-
"required": true,
|
|
6246
|
-
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
6247
|
-
"hasDynamicHelp": true,
|
|
6248
|
-
"multiple": false,
|
|
6249
|
-
"type": "option"
|
|
6250
|
-
},
|
|
6251
|
-
"api-version": {
|
|
6252
|
-
"aliases": [
|
|
6253
|
-
"apiversion"
|
|
6254
|
-
],
|
|
6255
|
-
"deprecateAliases": true,
|
|
6256
|
-
"description": "Override the api version used for api requests made by this command",
|
|
6257
|
-
"name": "api-version",
|
|
6258
|
-
"hasDynamicHelp": false,
|
|
6259
|
-
"multiple": false,
|
|
6260
|
-
"type": "option"
|
|
6261
|
-
},
|
|
6262
|
-
"loglevel": {
|
|
6263
|
-
"deprecated": {
|
|
6264
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SF_LOG_LEVEL` environment variable."
|
|
6265
|
-
},
|
|
6266
|
-
"hidden": true,
|
|
6267
|
-
"name": "loglevel",
|
|
6268
|
-
"hasDynamicHelp": false,
|
|
6269
|
-
"multiple": false,
|
|
6270
|
-
"type": "option"
|
|
6271
|
-
},
|
|
6272
|
-
"snapshot": {
|
|
6273
|
-
"char": "s",
|
|
6274
|
-
"description": "The IDs of scratch org snapshots start with 0Oo.",
|
|
6275
|
-
"name": "snapshot",
|
|
6276
|
-
"required": true,
|
|
6277
|
-
"summary": "Name or ID of snapshot to retrieve.",
|
|
6278
|
-
"hasDynamicHelp": false,
|
|
6279
|
-
"multiple": false,
|
|
6280
|
-
"type": "option"
|
|
6281
|
-
}
|
|
6282
|
-
},
|
|
6283
|
-
"hasDynamicHelp": true,
|
|
6284
|
-
"hiddenAliases": [],
|
|
6285
|
-
"id": "org:get:snapshot",
|
|
6286
|
-
"pluginAlias": "@salesforce/plugin-signups",
|
|
6287
|
-
"pluginName": "@salesforce/plugin-signups",
|
|
6288
|
-
"pluginType": "jit",
|
|
6289
|
-
"strict": true,
|
|
6290
|
-
"summary": "Get details about a scratch org snapshot.",
|
|
6291
|
-
"enableJsonFlag": true,
|
|
6292
|
-
"isESM": true,
|
|
6293
|
-
"relativePath": [
|
|
6294
|
-
"lib",
|
|
6295
|
-
"commands",
|
|
6296
|
-
"org",
|
|
6297
|
-
"get",
|
|
6298
|
-
"snapshot.js"
|
|
6299
|
-
],
|
|
6300
|
-
"aliasPermutations": [
|
|
6301
|
-
"force:org:snapshot:get",
|
|
6302
|
-
"org:force:snapshot:get",
|
|
6303
|
-
"org:snapshot:force:get",
|
|
6304
|
-
"org:snapshot:get:force",
|
|
6305
|
-
"force:snapshot:org:get",
|
|
6306
|
-
"snapshot:force:org:get",
|
|
6307
|
-
"snapshot:org:force:get",
|
|
6308
|
-
"snapshot:org:get:force",
|
|
6309
|
-
"force:snapshot:get:org",
|
|
6310
|
-
"snapshot:force:get:org",
|
|
6311
|
-
"snapshot:get:force:org",
|
|
6312
|
-
"snapshot:get:org:force",
|
|
6313
|
-
"force:org:get:snapshot",
|
|
6314
|
-
"org:force:get:snapshot",
|
|
6315
|
-
"org:get:force:snapshot",
|
|
6316
|
-
"org:get:snapshot:force",
|
|
6317
|
-
"force:get:org:snapshot",
|
|
6318
|
-
"get:force:org:snapshot",
|
|
6319
|
-
"get:org:force:snapshot",
|
|
6320
|
-
"get:org:snapshot:force",
|
|
6321
|
-
"force:get:snapshot:org",
|
|
6322
|
-
"get:force:snapshot:org",
|
|
6323
|
-
"get:snapshot:force:org",
|
|
6324
|
-
"get:snapshot:org:force"
|
|
6325
|
-
],
|
|
6326
|
-
"permutations": [
|
|
6327
|
-
"org:get:snapshot",
|
|
6328
|
-
"get:org:snapshot",
|
|
6329
|
-
"get:snapshot:org",
|
|
6330
|
-
"org:snapshot:get",
|
|
6331
|
-
"snapshot:org:get",
|
|
6332
|
-
"snapshot:get:org"
|
|
6333
|
-
]
|
|
6334
|
-
},
|
|
6335
6344
|
"ui-bundle:dev": {
|
|
6336
6345
|
"aliases": [],
|
|
6337
6346
|
"args": {},
|
|
@@ -6737,5 +6746,5 @@
|
|
|
6737
6746
|
"requiresProject": true
|
|
6738
6747
|
}
|
|
6739
6748
|
},
|
|
6740
|
-
"version": "2.
|
|
6749
|
+
"version": "2.147.0"
|
|
6741
6750
|
}
|