@salesforce/cli 2.146.1 → 2.146.2
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 +164 -164
- package/npm-shrinkwrap.json +151 -151
- package/oclif.lock +152 -152
- package/oclif.manifest.json +1125 -191
- package/package.json +36 -36
package/oclif.manifest.json
CHANGED
|
@@ -2299,6 +2299,132 @@
|
|
|
2299
2299
|
"plugin:generate:dev"
|
|
2300
2300
|
]
|
|
2301
2301
|
},
|
|
2302
|
+
"devops:promote": {
|
|
2303
|
+
"aliases": [],
|
|
2304
|
+
"args": {},
|
|
2305
|
+
"description": "Promote specific work items or all approved work items from a source stage to the target pipeline stage.\n\nPass --work-item-id to promote one or more specific work items to the target stage.\n\nPass --stage-id to promote all approved work items from that source stage to the target stage.\n\nExactly one of --work-item-id or --stage-id must be provided.\n\nUse --deploy-all to deploy all metadata in the branch rather than only changes not yet in the target stage.",
|
|
2306
|
+
"examples": [
|
|
2307
|
+
"Promote all approved work items from a source stage to a target stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --stage-id 1QVxx0000000001 --target-stage-id 1QVxx0000000002",
|
|
2308
|
+
"Promote a specific work item to a stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 1fkxx0000000001 --target-stage-id 1QVxx0000000001",
|
|
2309
|
+
"Promote multiple work items:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 1fkxx0000000001 --work-item-id 1fkxx0000000002 --target-stage-id 1QVxx0000000001",
|
|
2310
|
+
"Promote a stage with full deploy:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --stage-id 1QVxx0000000001 --target-stage-id 1QVxx0000000002 --deploy-all"
|
|
2311
|
+
],
|
|
2312
|
+
"flags": {
|
|
2313
|
+
"json": {
|
|
2314
|
+
"description": "Format output as json.",
|
|
2315
|
+
"helpGroup": "GLOBAL",
|
|
2316
|
+
"name": "json",
|
|
2317
|
+
"allowNo": false,
|
|
2318
|
+
"type": "boolean"
|
|
2319
|
+
},
|
|
2320
|
+
"flags-dir": {
|
|
2321
|
+
"helpGroup": "GLOBAL",
|
|
2322
|
+
"name": "flags-dir",
|
|
2323
|
+
"summary": "Import flag values from a directory.",
|
|
2324
|
+
"hasDynamicHelp": false,
|
|
2325
|
+
"multiple": false,
|
|
2326
|
+
"type": "option"
|
|
2327
|
+
},
|
|
2328
|
+
"target-org": {
|
|
2329
|
+
"char": "o",
|
|
2330
|
+
"name": "target-org",
|
|
2331
|
+
"noCacheDefault": true,
|
|
2332
|
+
"required": true,
|
|
2333
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2334
|
+
"hasDynamicHelp": true,
|
|
2335
|
+
"multiple": false,
|
|
2336
|
+
"type": "option"
|
|
2337
|
+
},
|
|
2338
|
+
"api-version": {
|
|
2339
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2340
|
+
"name": "api-version",
|
|
2341
|
+
"hasDynamicHelp": false,
|
|
2342
|
+
"multiple": false,
|
|
2343
|
+
"type": "option"
|
|
2344
|
+
},
|
|
2345
|
+
"target-stage-id": {
|
|
2346
|
+
"char": "t",
|
|
2347
|
+
"name": "target-stage-id",
|
|
2348
|
+
"required": true,
|
|
2349
|
+
"summary": "ID of the pipeline stage to promote to.",
|
|
2350
|
+
"hasDynamicHelp": false,
|
|
2351
|
+
"multiple": false,
|
|
2352
|
+
"type": "option"
|
|
2353
|
+
},
|
|
2354
|
+
"work-item-id": {
|
|
2355
|
+
"char": "i",
|
|
2356
|
+
"description": "Specify this flag multiple times to promote multiple work items in a single operation.",
|
|
2357
|
+
"exclusive": [
|
|
2358
|
+
"stage-id"
|
|
2359
|
+
],
|
|
2360
|
+
"name": "work-item-id",
|
|
2361
|
+
"required": false,
|
|
2362
|
+
"summary": "ID of the work item to promote. Mutually exclusive with --stage-id.",
|
|
2363
|
+
"hasDynamicHelp": false,
|
|
2364
|
+
"multiple": true,
|
|
2365
|
+
"type": "option"
|
|
2366
|
+
},
|
|
2367
|
+
"stage-id": {
|
|
2368
|
+
"char": "s",
|
|
2369
|
+
"exclusive": [
|
|
2370
|
+
"work-item-id"
|
|
2371
|
+
],
|
|
2372
|
+
"name": "stage-id",
|
|
2373
|
+
"required": false,
|
|
2374
|
+
"summary": "ID of the source pipeline stage whose approved work items will be promoted. Mutually exclusive with --work-item-id.",
|
|
2375
|
+
"hasDynamicHelp": false,
|
|
2376
|
+
"multiple": false,
|
|
2377
|
+
"type": "option"
|
|
2378
|
+
},
|
|
2379
|
+
"deploy-all": {
|
|
2380
|
+
"char": "a",
|
|
2381
|
+
"description": "If you don’t specify this flag, only changes in the stage’s branch are deployed.",
|
|
2382
|
+
"name": "deploy-all",
|
|
2383
|
+
"summary": "Deploy all metadata in the branch to the stage's org.",
|
|
2384
|
+
"allowNo": false,
|
|
2385
|
+
"type": "boolean"
|
|
2386
|
+
},
|
|
2387
|
+
"test-level": {
|
|
2388
|
+
"char": "l",
|
|
2389
|
+
"description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more information, see the section \"Running Tests in a Deployment\" in the \"Metadata API Developer Guide\". (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm)",
|
|
2390
|
+
"name": "test-level",
|
|
2391
|
+
"summary": "Deployment Apex testing level.",
|
|
2392
|
+
"hasDynamicHelp": false,
|
|
2393
|
+
"multiple": false,
|
|
2394
|
+
"options": [
|
|
2395
|
+
"NoTestRun",
|
|
2396
|
+
"RunSpecifiedTests",
|
|
2397
|
+
"RunLocalTests",
|
|
2398
|
+
"RunAllTestsInOrg"
|
|
2399
|
+
],
|
|
2400
|
+
"type": "option"
|
|
2401
|
+
},
|
|
2402
|
+
"tests": {
|
|
2403
|
+
"description": "Separate multiple test names with commas. Enclose the entire flag value in double quotes if a test name contains spaces.",
|
|
2404
|
+
"name": "tests",
|
|
2405
|
+
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
2406
|
+
"hasDynamicHelp": false,
|
|
2407
|
+
"multiple": true,
|
|
2408
|
+
"type": "option"
|
|
2409
|
+
}
|
|
2410
|
+
},
|
|
2411
|
+
"hasDynamicHelp": true,
|
|
2412
|
+
"hiddenAliases": [],
|
|
2413
|
+
"id": "devops:promote",
|
|
2414
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2415
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
2416
|
+
"pluginType": "jit",
|
|
2417
|
+
"strict": true,
|
|
2418
|
+
"summary": "Promote work items or a pipeline stage to a target pipeline stage.",
|
|
2419
|
+
"enableJsonFlag": true,
|
|
2420
|
+
"isESM": true,
|
|
2421
|
+
"relativePath": [
|
|
2422
|
+
"lib",
|
|
2423
|
+
"commands",
|
|
2424
|
+
"devops",
|
|
2425
|
+
"promote.js"
|
|
2426
|
+
]
|
|
2427
|
+
},
|
|
2302
2428
|
"devops:project:create": {
|
|
2303
2429
|
"aliases": [],
|
|
2304
2430
|
"args": {},
|
|
@@ -2436,12 +2562,15 @@
|
|
|
2436
2562
|
"list.js"
|
|
2437
2563
|
]
|
|
2438
2564
|
},
|
|
2439
|
-
"devops:
|
|
2565
|
+
"devops:project:update": {
|
|
2440
2566
|
"aliases": [],
|
|
2441
2567
|
"args": {},
|
|
2442
|
-
"description": "
|
|
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.",
|
|
2443
2569
|
"examples": [
|
|
2444
|
-
"
|
|
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"
|
|
2445
2574
|
],
|
|
2446
2575
|
"flags": {
|
|
2447
2576
|
"json": {
|
|
@@ -2476,31 +2605,54 @@
|
|
|
2476
2605
|
"multiple": false,
|
|
2477
2606
|
"type": "option"
|
|
2478
2607
|
},
|
|
2479
|
-
"
|
|
2480
|
-
"
|
|
2608
|
+
"project-id": {
|
|
2609
|
+
"char": "i",
|
|
2610
|
+
"name": "project-id",
|
|
2481
2611
|
"required": true,
|
|
2482
|
-
"summary": "ID of the
|
|
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.",
|
|
2483
2629
|
"hasDynamicHelp": false,
|
|
2484
2630
|
"multiple": false,
|
|
2485
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"
|
|
2486
2638
|
}
|
|
2487
2639
|
},
|
|
2488
2640
|
"hasDynamicHelp": true,
|
|
2489
2641
|
"hiddenAliases": [],
|
|
2490
|
-
"id": "devops:
|
|
2642
|
+
"id": "devops:project:update",
|
|
2491
2643
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2492
2644
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
2493
2645
|
"pluginType": "jit",
|
|
2494
2646
|
"strict": true,
|
|
2495
|
-
"summary": "
|
|
2647
|
+
"summary": "Update a DevOps Center project.",
|
|
2496
2648
|
"enableJsonFlag": true,
|
|
2497
2649
|
"isESM": true,
|
|
2498
2650
|
"relativePath": [
|
|
2499
2651
|
"lib",
|
|
2500
2652
|
"commands",
|
|
2501
2653
|
"devops",
|
|
2502
|
-
"
|
|
2503
|
-
"
|
|
2654
|
+
"project",
|
|
2655
|
+
"update.js"
|
|
2504
2656
|
]
|
|
2505
2657
|
},
|
|
2506
2658
|
"devops:pipeline:create": {
|
|
@@ -2629,13 +2781,12 @@
|
|
|
2629
2781
|
"create.js"
|
|
2630
2782
|
]
|
|
2631
2783
|
},
|
|
2632
|
-
"devops:
|
|
2784
|
+
"devops:pipeline:get": {
|
|
2633
2785
|
"aliases": [],
|
|
2634
2786
|
"args": {},
|
|
2635
|
-
"description": "
|
|
2787
|
+
"description": "Returns full details for a single DevOps Center pipeline: its stages in order, the source code repository and branch associated with each stage, and any connected projects.",
|
|
2636
2788
|
"examples": [
|
|
2637
|
-
"
|
|
2638
|
-
"Create a pull request using the work item ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001"
|
|
2789
|
+
"Get details for a specific pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Do000000000001"
|
|
2639
2790
|
],
|
|
2640
2791
|
"flags": {
|
|
2641
2792
|
"json": {
|
|
@@ -2670,18 +2821,70 @@
|
|
|
2670
2821
|
"multiple": false,
|
|
2671
2822
|
"type": "option"
|
|
2672
2823
|
},
|
|
2673
|
-
"
|
|
2674
|
-
"char": "
|
|
2675
|
-
"name": "
|
|
2676
|
-
"
|
|
2824
|
+
"pipeline-id": {
|
|
2825
|
+
"char": "i",
|
|
2826
|
+
"name": "pipeline-id",
|
|
2827
|
+
"required": true,
|
|
2828
|
+
"summary": "ID of the DevOps Center pipeline.",
|
|
2829
|
+
"hasDynamicHelp": false,
|
|
2830
|
+
"multiple": false,
|
|
2831
|
+
"type": "option"
|
|
2832
|
+
}
|
|
2833
|
+
},
|
|
2834
|
+
"hasDynamicHelp": true,
|
|
2835
|
+
"hiddenAliases": [],
|
|
2836
|
+
"id": "devops:pipeline:get",
|
|
2837
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2838
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
2839
|
+
"pluginType": "jit",
|
|
2840
|
+
"strict": true,
|
|
2841
|
+
"summary": "Get details of a DevOps Center pipeline including its stages, repositories, and connected projects.",
|
|
2842
|
+
"enableJsonFlag": true,
|
|
2843
|
+
"isESM": true,
|
|
2844
|
+
"relativePath": [
|
|
2845
|
+
"lib",
|
|
2846
|
+
"commands",
|
|
2847
|
+
"devops",
|
|
2848
|
+
"pipeline",
|
|
2849
|
+
"get.js"
|
|
2850
|
+
]
|
|
2851
|
+
},
|
|
2852
|
+
"devops:pipeline:list": {
|
|
2853
|
+
"aliases": [],
|
|
2854
|
+
"args": {},
|
|
2855
|
+
"description": "Returns all DevOps Center pipelines in the org, including each pipeline's stages (in order), source code repository information per stage, and any connected projects.",
|
|
2856
|
+
"examples": [
|
|
2857
|
+
"List all pipelines in the org:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org"
|
|
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.",
|
|
2677
2871
|
"hasDynamicHelp": false,
|
|
2678
2872
|
"multiple": false,
|
|
2679
2873
|
"type": "option"
|
|
2680
2874
|
},
|
|
2681
|
-
"
|
|
2682
|
-
"char": "
|
|
2683
|
-
"name": "
|
|
2684
|
-
"
|
|
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",
|
|
2685
2888
|
"hasDynamicHelp": false,
|
|
2686
2889
|
"multiple": false,
|
|
2687
2890
|
"type": "option"
|
|
@@ -2689,29 +2892,539 @@
|
|
|
2689
2892
|
},
|
|
2690
2893
|
"hasDynamicHelp": true,
|
|
2691
2894
|
"hiddenAliases": [],
|
|
2692
|
-
"id": "devops:
|
|
2895
|
+
"id": "devops:pipeline:list",
|
|
2693
2896
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2694
2897
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
2695
2898
|
"pluginType": "jit",
|
|
2696
2899
|
"strict": true,
|
|
2697
|
-
"summary": "
|
|
2900
|
+
"summary": "List DevOps Center pipelines with their stages, repositories, and connected projects.",
|
|
2698
2901
|
"enableJsonFlag": true,
|
|
2699
2902
|
"isESM": true,
|
|
2700
2903
|
"relativePath": [
|
|
2701
2904
|
"lib",
|
|
2702
2905
|
"commands",
|
|
2703
2906
|
"devops",
|
|
2704
|
-
"
|
|
2705
|
-
"
|
|
2907
|
+
"pipeline",
|
|
2908
|
+
"list.js"
|
|
2706
2909
|
]
|
|
2707
2910
|
},
|
|
2708
|
-
"devops:
|
|
2911
|
+
"devops:pipeline:update": {
|
|
2709
2912
|
"aliases": [],
|
|
2710
2913
|
"args": {},
|
|
2711
|
-
"description": "
|
|
2914
|
+
"description": "Activate, deactivate, or rename a DevOps Center pipeline. Use --active to activate, --no-active to deactivate, and --name to rename. You can combine --no-active and --name in one command.\n\nA pipeline must have at least one stage before you can activate it. You can't modify the pipeline stages after you activate and promote changes through it.",
|
|
2915
|
+
"examples": [
|
|
2916
|
+
"Activate a pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --active",
|
|
2917
|
+
"Deactivate and rename in one step.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --no-active --name \"My Pipeline\""
|
|
2918
|
+
],
|
|
2919
|
+
"flags": {
|
|
2920
|
+
"json": {
|
|
2921
|
+
"description": "Format output as json.",
|
|
2922
|
+
"helpGroup": "GLOBAL",
|
|
2923
|
+
"name": "json",
|
|
2924
|
+
"allowNo": false,
|
|
2925
|
+
"type": "boolean"
|
|
2926
|
+
},
|
|
2927
|
+
"flags-dir": {
|
|
2928
|
+
"helpGroup": "GLOBAL",
|
|
2929
|
+
"name": "flags-dir",
|
|
2930
|
+
"summary": "Import flag values from a directory.",
|
|
2931
|
+
"hasDynamicHelp": false,
|
|
2932
|
+
"multiple": false,
|
|
2933
|
+
"type": "option"
|
|
2934
|
+
},
|
|
2935
|
+
"target-org": {
|
|
2936
|
+
"char": "o",
|
|
2937
|
+
"name": "target-org",
|
|
2938
|
+
"noCacheDefault": true,
|
|
2939
|
+
"required": true,
|
|
2940
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2941
|
+
"hasDynamicHelp": true,
|
|
2942
|
+
"multiple": false,
|
|
2943
|
+
"type": "option"
|
|
2944
|
+
},
|
|
2945
|
+
"api-version": {
|
|
2946
|
+
"description": "Override the api version used for api requests made by this command",
|
|
2947
|
+
"name": "api-version",
|
|
2948
|
+
"hasDynamicHelp": false,
|
|
2949
|
+
"multiple": false,
|
|
2950
|
+
"type": "option"
|
|
2951
|
+
},
|
|
2952
|
+
"pipeline-id": {
|
|
2953
|
+
"name": "pipeline-id",
|
|
2954
|
+
"required": true,
|
|
2955
|
+
"summary": "ID of the pipeline.",
|
|
2956
|
+
"hasDynamicHelp": false,
|
|
2957
|
+
"multiple": false,
|
|
2958
|
+
"type": "option"
|
|
2959
|
+
},
|
|
2960
|
+
"active": {
|
|
2961
|
+
"name": "active",
|
|
2962
|
+
"required": false,
|
|
2963
|
+
"summary": "Activate the pipeline. Use --no-active to deactivate.",
|
|
2964
|
+
"allowNo": true,
|
|
2965
|
+
"type": "boolean"
|
|
2966
|
+
},
|
|
2967
|
+
"name": {
|
|
2968
|
+
"char": "n",
|
|
2969
|
+
"name": "name",
|
|
2970
|
+
"required": false,
|
|
2971
|
+
"summary": "New name for the pipeline.",
|
|
2972
|
+
"hasDynamicHelp": false,
|
|
2973
|
+
"multiple": false,
|
|
2974
|
+
"type": "option"
|
|
2975
|
+
}
|
|
2976
|
+
},
|
|
2977
|
+
"hasDynamicHelp": true,
|
|
2978
|
+
"hiddenAliases": [],
|
|
2979
|
+
"id": "devops:pipeline:update",
|
|
2980
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2981
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
2982
|
+
"pluginType": "jit",
|
|
2983
|
+
"strict": true,
|
|
2984
|
+
"summary": "Update a DevOps Center pipeline.",
|
|
2985
|
+
"enableJsonFlag": true,
|
|
2986
|
+
"isESM": true,
|
|
2987
|
+
"relativePath": [
|
|
2988
|
+
"lib",
|
|
2989
|
+
"commands",
|
|
2990
|
+
"devops",
|
|
2991
|
+
"pipeline",
|
|
2992
|
+
"update.js"
|
|
2993
|
+
]
|
|
2994
|
+
},
|
|
2995
|
+
"devops:promotion:complete": {
|
|
2996
|
+
"aliases": [],
|
|
2997
|
+
"args": {},
|
|
2998
|
+
"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.",
|
|
2999
|
+
"examples": [
|
|
3000
|
+
"Complete a promotion for an out-of-sync pipeline stage.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001",
|
|
3001
|
+
"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",
|
|
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"
|
|
3003
|
+
],
|
|
3004
|
+
"flags": {
|
|
3005
|
+
"json": {
|
|
3006
|
+
"description": "Format output as json.",
|
|
3007
|
+
"helpGroup": "GLOBAL",
|
|
3008
|
+
"name": "json",
|
|
3009
|
+
"allowNo": false,
|
|
3010
|
+
"type": "boolean"
|
|
3011
|
+
},
|
|
3012
|
+
"flags-dir": {
|
|
3013
|
+
"helpGroup": "GLOBAL",
|
|
3014
|
+
"name": "flags-dir",
|
|
3015
|
+
"summary": "Import flag values from a directory.",
|
|
3016
|
+
"hasDynamicHelp": false,
|
|
3017
|
+
"multiple": false,
|
|
3018
|
+
"type": "option"
|
|
3019
|
+
},
|
|
3020
|
+
"target-org": {
|
|
3021
|
+
"char": "o",
|
|
3022
|
+
"name": "target-org",
|
|
3023
|
+
"noCacheDefault": true,
|
|
3024
|
+
"required": true,
|
|
3025
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3026
|
+
"hasDynamicHelp": true,
|
|
3027
|
+
"multiple": false,
|
|
3028
|
+
"type": "option"
|
|
3029
|
+
},
|
|
3030
|
+
"api-version": {
|
|
3031
|
+
"description": "Override the api version used for api requests made by this command",
|
|
3032
|
+
"name": "api-version",
|
|
3033
|
+
"hasDynamicHelp": false,
|
|
3034
|
+
"multiple": false,
|
|
3035
|
+
"type": "option"
|
|
3036
|
+
},
|
|
3037
|
+
"target-stage-id": {
|
|
3038
|
+
"char": "t",
|
|
3039
|
+
"name": "target-stage-id",
|
|
3040
|
+
"required": true,
|
|
3041
|
+
"summary": "ID of the out-of-sync pipeline stage to deploy to.",
|
|
3042
|
+
"hasDynamicHelp": false,
|
|
3043
|
+
"multiple": false,
|
|
3044
|
+
"type": "option"
|
|
3045
|
+
},
|
|
3046
|
+
"work-item-id": {
|
|
3047
|
+
"char": "i",
|
|
3048
|
+
"name": "work-item-id",
|
|
3049
|
+
"required": false,
|
|
3050
|
+
"summary": "ID of a specific work item to deploy. Omit to deploy all undeployed work items for the stage. Use this for the first stage of a pipeline where no source stage exists.",
|
|
3051
|
+
"hasDynamicHelp": false,
|
|
3052
|
+
"multiple": true,
|
|
3053
|
+
"type": "option"
|
|
3054
|
+
},
|
|
3055
|
+
"deploy-all": {
|
|
3056
|
+
"char": "a",
|
|
3057
|
+
"description": "If you don’t specify this flag, only changes in the stage’s branch are deployed.",
|
|
3058
|
+
"name": "deploy-all",
|
|
3059
|
+
"summary": "Deploy all metadata in the branch to the stage's org.",
|
|
3060
|
+
"allowNo": false,
|
|
3061
|
+
"type": "boolean"
|
|
3062
|
+
},
|
|
3063
|
+
"test-level": {
|
|
3064
|
+
"char": "l",
|
|
3065
|
+
"description": "Valid values are:\n\n- NoTestRun — No tests are run. This test level applies only to deployments to development environments, such as sandbox, Developer Edition, or trial orgs. This test level is the default for development environments.\n\n- RunSpecifiedTests — Runs only the tests that you specify with the --tests flag. Code coverage requirements differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and trigger individually and is different than the overall coverage percentage.\n\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked packages. This test level is the default for production deployments that include Apex classes or triggers.\n\n- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.\n\nIf you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more information, see the section \"Running Tests in a Deployment\" in the \"Metadata API Developer Guide\". (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm)",
|
|
3066
|
+
"name": "test-level",
|
|
3067
|
+
"summary": "Deployment Apex testing level.",
|
|
3068
|
+
"hasDynamicHelp": false,
|
|
3069
|
+
"multiple": false,
|
|
3070
|
+
"options": [
|
|
3071
|
+
"NoTestRun",
|
|
3072
|
+
"RunSpecifiedTests",
|
|
3073
|
+
"RunLocalTests",
|
|
3074
|
+
"RunAllTestsInOrg"
|
|
3075
|
+
],
|
|
3076
|
+
"type": "option"
|
|
3077
|
+
},
|
|
3078
|
+
"tests": {
|
|
3079
|
+
"description": "Separate multiple test names with commas. Enclose the entire flag value in double quotes if a test name contains spaces.",
|
|
3080
|
+
"name": "tests",
|
|
3081
|
+
"summary": "Apex tests to run when --test-level is RunSpecifiedTests.",
|
|
3082
|
+
"hasDynamicHelp": false,
|
|
3083
|
+
"multiple": true,
|
|
3084
|
+
"type": "option"
|
|
3085
|
+
}
|
|
3086
|
+
},
|
|
3087
|
+
"hasDynamicHelp": true,
|
|
3088
|
+
"hiddenAliases": [],
|
|
3089
|
+
"id": "devops:promotion:complete",
|
|
3090
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
3091
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
3092
|
+
"pluginType": "jit",
|
|
3093
|
+
"strict": true,
|
|
3094
|
+
"summary": "Deploy undeployed work items to a pipeline stage org.",
|
|
3095
|
+
"enableJsonFlag": true,
|
|
3096
|
+
"isESM": true,
|
|
3097
|
+
"relativePath": [
|
|
3098
|
+
"lib",
|
|
3099
|
+
"commands",
|
|
3100
|
+
"devops",
|
|
3101
|
+
"promotion",
|
|
3102
|
+
"complete.js"
|
|
3103
|
+
]
|
|
3104
|
+
},
|
|
3105
|
+
"devops:request:status": {
|
|
3106
|
+
"aliases": [],
|
|
3107
|
+
"args": {},
|
|
3108
|
+
"description": "Returns the current status of a request identified by its request token.",
|
|
3109
|
+
"examples": [
|
|
3110
|
+
"Get the status of a request:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --request-token a0B000000000001"
|
|
3111
|
+
],
|
|
3112
|
+
"flags": {
|
|
3113
|
+
"json": {
|
|
3114
|
+
"description": "Format output as json.",
|
|
3115
|
+
"helpGroup": "GLOBAL",
|
|
3116
|
+
"name": "json",
|
|
3117
|
+
"allowNo": false,
|
|
3118
|
+
"type": "boolean"
|
|
3119
|
+
},
|
|
3120
|
+
"flags-dir": {
|
|
3121
|
+
"helpGroup": "GLOBAL",
|
|
3122
|
+
"name": "flags-dir",
|
|
3123
|
+
"summary": "Import flag values from a directory.",
|
|
3124
|
+
"hasDynamicHelp": false,
|
|
3125
|
+
"multiple": false,
|
|
3126
|
+
"type": "option"
|
|
3127
|
+
},
|
|
3128
|
+
"target-org": {
|
|
3129
|
+
"char": "o",
|
|
3130
|
+
"name": "target-org",
|
|
3131
|
+
"noCacheDefault": true,
|
|
3132
|
+
"required": true,
|
|
3133
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3134
|
+
"hasDynamicHelp": true,
|
|
3135
|
+
"multiple": false,
|
|
3136
|
+
"type": "option"
|
|
3137
|
+
},
|
|
3138
|
+
"api-version": {
|
|
3139
|
+
"description": "Override the api version used for api requests made by this command",
|
|
3140
|
+
"name": "api-version",
|
|
3141
|
+
"hasDynamicHelp": false,
|
|
3142
|
+
"multiple": false,
|
|
3143
|
+
"type": "option"
|
|
3144
|
+
},
|
|
3145
|
+
"request-token": {
|
|
3146
|
+
"char": "i",
|
|
3147
|
+
"name": "request-token",
|
|
3148
|
+
"required": true,
|
|
3149
|
+
"summary": "Request token from the promote response.",
|
|
3150
|
+
"hasDynamicHelp": false,
|
|
3151
|
+
"multiple": false,
|
|
3152
|
+
"type": "option"
|
|
3153
|
+
}
|
|
3154
|
+
},
|
|
3155
|
+
"hasDynamicHelp": true,
|
|
3156
|
+
"hiddenAliases": [],
|
|
3157
|
+
"id": "devops:request:status",
|
|
3158
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
3159
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
3160
|
+
"pluginType": "jit",
|
|
3161
|
+
"strict": true,
|
|
3162
|
+
"summary": "Get the status of a request.",
|
|
3163
|
+
"enableJsonFlag": true,
|
|
3164
|
+
"isESM": true,
|
|
3165
|
+
"relativePath": [
|
|
3166
|
+
"lib",
|
|
3167
|
+
"commands",
|
|
3168
|
+
"devops",
|
|
3169
|
+
"request",
|
|
3170
|
+
"status.js"
|
|
3171
|
+
]
|
|
3172
|
+
},
|
|
3173
|
+
"devops:review:create": {
|
|
3174
|
+
"aliases": [],
|
|
3175
|
+
"args": {},
|
|
3176
|
+
"description": "Creates a pull request via the Salesforce DevOps Center API, using the VCS credentials stored in the org. Works with GitHub and Bitbucket without requiring local VCS authentication.",
|
|
3177
|
+
"examples": [
|
|
3178
|
+
"Create a pull request for a work item.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001",
|
|
3179
|
+
"Create a pull request using the work item ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001"
|
|
3180
|
+
],
|
|
3181
|
+
"flags": {
|
|
3182
|
+
"json": {
|
|
3183
|
+
"description": "Format output as json.",
|
|
3184
|
+
"helpGroup": "GLOBAL",
|
|
3185
|
+
"name": "json",
|
|
3186
|
+
"allowNo": false,
|
|
3187
|
+
"type": "boolean"
|
|
3188
|
+
},
|
|
3189
|
+
"flags-dir": {
|
|
3190
|
+
"helpGroup": "GLOBAL",
|
|
3191
|
+
"name": "flags-dir",
|
|
3192
|
+
"summary": "Import flag values from a directory.",
|
|
3193
|
+
"hasDynamicHelp": false,
|
|
3194
|
+
"multiple": false,
|
|
3195
|
+
"type": "option"
|
|
3196
|
+
},
|
|
3197
|
+
"target-org": {
|
|
3198
|
+
"char": "o",
|
|
3199
|
+
"name": "target-org",
|
|
3200
|
+
"noCacheDefault": true,
|
|
3201
|
+
"required": true,
|
|
3202
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3203
|
+
"hasDynamicHelp": true,
|
|
3204
|
+
"multiple": false,
|
|
3205
|
+
"type": "option"
|
|
3206
|
+
},
|
|
3207
|
+
"api-version": {
|
|
3208
|
+
"description": "Override the api version used for api requests made by this command",
|
|
3209
|
+
"name": "api-version",
|
|
3210
|
+
"hasDynamicHelp": false,
|
|
3211
|
+
"multiple": false,
|
|
3212
|
+
"type": "option"
|
|
3213
|
+
},
|
|
3214
|
+
"work-item-name": {
|
|
3215
|
+
"char": "n",
|
|
3216
|
+
"name": "work-item-name",
|
|
3217
|
+
"summary": "Name of the work item, such as WI-000001.",
|
|
3218
|
+
"hasDynamicHelp": false,
|
|
3219
|
+
"multiple": false,
|
|
3220
|
+
"type": "option"
|
|
3221
|
+
},
|
|
3222
|
+
"work-item-id": {
|
|
3223
|
+
"char": "w",
|
|
3224
|
+
"name": "work-item-id",
|
|
3225
|
+
"summary": "ID of the work item.",
|
|
3226
|
+
"hasDynamicHelp": false,
|
|
3227
|
+
"multiple": false,
|
|
3228
|
+
"type": "option"
|
|
3229
|
+
}
|
|
3230
|
+
},
|
|
3231
|
+
"hasDynamicHelp": true,
|
|
3232
|
+
"hiddenAliases": [],
|
|
3233
|
+
"id": "devops:review:create",
|
|
3234
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
3235
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
3236
|
+
"pluginType": "jit",
|
|
3237
|
+
"strict": true,
|
|
3238
|
+
"summary": "Create a pull request for a work item branch.",
|
|
3239
|
+
"enableJsonFlag": true,
|
|
3240
|
+
"isESM": true,
|
|
3241
|
+
"relativePath": [
|
|
3242
|
+
"lib",
|
|
3243
|
+
"commands",
|
|
3244
|
+
"devops",
|
|
3245
|
+
"review",
|
|
3246
|
+
"create.js"
|
|
3247
|
+
]
|
|
3248
|
+
},
|
|
3249
|
+
"devops:work-item:combine": {
|
|
3250
|
+
"aliases": [],
|
|
3251
|
+
"args": {},
|
|
3252
|
+
"description": "Use this command when work items in the same stage share metadata or have dependencies. DevOps Center combines the selected work items so they can be promoted together during custom promotion.\n\nAfter running this command, use \"sf devops work-item promote\" with the parent work item ID to complete the promotion. The combined work items are promoted as a single unit.",
|
|
3253
|
+
"examples": [
|
|
3254
|
+
"Prepare three work items to be combined to prevent conflicts during promotion:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --parent-work-item-id 0Wx000000000001 --child-work-item-id 0Wx000000000002 --child-work-item-id 0Wx000000000003 --target-stage-id 05S000000000002"
|
|
3255
|
+
],
|
|
3256
|
+
"flags": {
|
|
3257
|
+
"json": {
|
|
3258
|
+
"description": "Format output as json.",
|
|
3259
|
+
"helpGroup": "GLOBAL",
|
|
3260
|
+
"name": "json",
|
|
3261
|
+
"allowNo": false,
|
|
3262
|
+
"type": "boolean"
|
|
3263
|
+
},
|
|
3264
|
+
"flags-dir": {
|
|
3265
|
+
"helpGroup": "GLOBAL",
|
|
3266
|
+
"name": "flags-dir",
|
|
3267
|
+
"summary": "Import flag values from a directory.",
|
|
3268
|
+
"hasDynamicHelp": false,
|
|
3269
|
+
"multiple": false,
|
|
3270
|
+
"type": "option"
|
|
3271
|
+
},
|
|
3272
|
+
"target-org": {
|
|
3273
|
+
"char": "o",
|
|
3274
|
+
"name": "target-org",
|
|
3275
|
+
"noCacheDefault": true,
|
|
3276
|
+
"required": true,
|
|
3277
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3278
|
+
"hasDynamicHelp": true,
|
|
3279
|
+
"multiple": false,
|
|
3280
|
+
"type": "option"
|
|
3281
|
+
},
|
|
3282
|
+
"api-version": {
|
|
3283
|
+
"description": "Override the api version used for api requests made by this command",
|
|
3284
|
+
"name": "api-version",
|
|
3285
|
+
"hasDynamicHelp": false,
|
|
3286
|
+
"multiple": false,
|
|
3287
|
+
"type": "option"
|
|
3288
|
+
},
|
|
3289
|
+
"parent-work-item-id": {
|
|
3290
|
+
"description": "The parent work item is the primary work item that continues through the pipeline. Changes from all child work items are merged into the parent's branch during promotion.",
|
|
3291
|
+
"name": "parent-work-item-id",
|
|
3292
|
+
"required": true,
|
|
3293
|
+
"summary": "ID of the parent work item.",
|
|
3294
|
+
"hasDynamicHelp": false,
|
|
3295
|
+
"multiple": false,
|
|
3296
|
+
"type": "option"
|
|
3297
|
+
},
|
|
3298
|
+
"child-work-item-id": {
|
|
3299
|
+
"description": "Specify this flag multiple times to combine multiple work items with the parent.",
|
|
3300
|
+
"name": "child-work-item-id",
|
|
3301
|
+
"required": true,
|
|
3302
|
+
"summary": "ID of a work item to combine.",
|
|
3303
|
+
"hasDynamicHelp": false,
|
|
3304
|
+
"multiple": true,
|
|
3305
|
+
"type": "option"
|
|
3306
|
+
},
|
|
3307
|
+
"target-stage-id": {
|
|
3308
|
+
"char": "t",
|
|
3309
|
+
"name": "target-stage-id",
|
|
3310
|
+
"required": true,
|
|
3311
|
+
"summary": "ID of the pipeline stage to promote the combined work item to.",
|
|
3312
|
+
"hasDynamicHelp": false,
|
|
3313
|
+
"multiple": false,
|
|
3314
|
+
"type": "option"
|
|
3315
|
+
}
|
|
3316
|
+
},
|
|
3317
|
+
"hasDynamicHelp": true,
|
|
3318
|
+
"hiddenAliases": [],
|
|
3319
|
+
"id": "devops:work-item:combine",
|
|
3320
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
3321
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
3322
|
+
"pluginType": "jit",
|
|
3323
|
+
"strict": true,
|
|
3324
|
+
"summary": "Prepare work items to be combined for custom promotion.",
|
|
3325
|
+
"enableJsonFlag": true,
|
|
3326
|
+
"isESM": true,
|
|
3327
|
+
"relativePath": [
|
|
3328
|
+
"lib",
|
|
3329
|
+
"commands",
|
|
3330
|
+
"devops",
|
|
3331
|
+
"work-item",
|
|
3332
|
+
"combine.js"
|
|
3333
|
+
]
|
|
3334
|
+
},
|
|
3335
|
+
"devops:work-item:create": {
|
|
3336
|
+
"aliases": [],
|
|
3337
|
+
"args": {},
|
|
3338
|
+
"description": "The command creates the work item using the Connect API. Requires a project ID and a subject for the new work item; run the `devops project list` command to get the IDs for all existing projects.",
|
|
3339
|
+
"examples": [
|
|
3340
|
+
"Create a work item for the project with the specified ID and give the work item the specified subject (title); use the DevOps Center org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --subject \"Fix login bug\"",
|
|
3341
|
+
"Create a work item with a subject and description:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --subject \"Add dark mode\" --description \"Implement dark mode toggle in settings page\""
|
|
3342
|
+
],
|
|
3343
|
+
"flags": {
|
|
3344
|
+
"json": {
|
|
3345
|
+
"description": "Format output as json.",
|
|
3346
|
+
"helpGroup": "GLOBAL",
|
|
3347
|
+
"name": "json",
|
|
3348
|
+
"allowNo": false,
|
|
3349
|
+
"type": "boolean"
|
|
3350
|
+
},
|
|
3351
|
+
"flags-dir": {
|
|
3352
|
+
"helpGroup": "GLOBAL",
|
|
3353
|
+
"name": "flags-dir",
|
|
3354
|
+
"summary": "Import flag values from a directory.",
|
|
3355
|
+
"hasDynamicHelp": false,
|
|
3356
|
+
"multiple": false,
|
|
3357
|
+
"type": "option"
|
|
3358
|
+
},
|
|
3359
|
+
"target-org": {
|
|
3360
|
+
"char": "o",
|
|
3361
|
+
"name": "target-org",
|
|
3362
|
+
"noCacheDefault": true,
|
|
3363
|
+
"required": true,
|
|
3364
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3365
|
+
"hasDynamicHelp": true,
|
|
3366
|
+
"multiple": false,
|
|
3367
|
+
"type": "option"
|
|
3368
|
+
},
|
|
3369
|
+
"api-version": {
|
|
3370
|
+
"description": "Override the api version used for api requests made by this command",
|
|
3371
|
+
"name": "api-version",
|
|
3372
|
+
"hasDynamicHelp": false,
|
|
3373
|
+
"multiple": false,
|
|
3374
|
+
"type": "option"
|
|
3375
|
+
},
|
|
3376
|
+
"project-id": {
|
|
3377
|
+
"char": "p",
|
|
3378
|
+
"name": "project-id",
|
|
3379
|
+
"required": true,
|
|
3380
|
+
"summary": "ID of the DevOps Center project to create the work item in.",
|
|
3381
|
+
"hasDynamicHelp": false,
|
|
3382
|
+
"multiple": false,
|
|
3383
|
+
"type": "option"
|
|
3384
|
+
},
|
|
3385
|
+
"subject": {
|
|
3386
|
+
"char": "s",
|
|
3387
|
+
"name": "subject",
|
|
3388
|
+
"required": true,
|
|
3389
|
+
"summary": "Subject (title) of the new work item.",
|
|
3390
|
+
"hasDynamicHelp": false,
|
|
3391
|
+
"multiple": false,
|
|
3392
|
+
"type": "option"
|
|
3393
|
+
},
|
|
3394
|
+
"description": {
|
|
3395
|
+
"char": "d",
|
|
3396
|
+
"name": "description",
|
|
3397
|
+
"summary": "Description of the new work item; if not specified, the description is blank.",
|
|
3398
|
+
"hasDynamicHelp": false,
|
|
3399
|
+
"multiple": false,
|
|
3400
|
+
"type": "option"
|
|
3401
|
+
}
|
|
3402
|
+
},
|
|
3403
|
+
"hasDynamicHelp": true,
|
|
3404
|
+
"hiddenAliases": [],
|
|
3405
|
+
"id": "devops:work-item:create",
|
|
3406
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
3407
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
3408
|
+
"pluginType": "jit",
|
|
3409
|
+
"strict": true,
|
|
3410
|
+
"summary": "Create a new work item in a DevOps Center project.",
|
|
3411
|
+
"enableJsonFlag": true,
|
|
3412
|
+
"isESM": true,
|
|
3413
|
+
"relativePath": [
|
|
3414
|
+
"lib",
|
|
3415
|
+
"commands",
|
|
3416
|
+
"devops",
|
|
3417
|
+
"work-item",
|
|
3418
|
+
"create.js"
|
|
3419
|
+
]
|
|
3420
|
+
},
|
|
3421
|
+
"devops:work-item:list": {
|
|
3422
|
+
"aliases": [],
|
|
3423
|
+
"args": {},
|
|
3424
|
+
"description": "Each work item displays the branch, environment, and repository details needed for checkout and promotion. Requires a project ID; run the `devops project list` command to get the IDs for all existing projects.",
|
|
2712
3425
|
"examples": [
|
|
2713
|
-
"
|
|
2714
|
-
"
|
|
3426
|
+
"List work items for a specific project in the DevOps org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001",
|
|
3427
|
+
"List work items using JSON output:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --json"
|
|
2715
3428
|
],
|
|
2716
3429
|
"flags": {
|
|
2717
3430
|
"json": {
|
|
@@ -2750,24 +3463,7 @@
|
|
|
2750
3463
|
"char": "p",
|
|
2751
3464
|
"name": "project-id",
|
|
2752
3465
|
"required": true,
|
|
2753
|
-
"summary": "ID of the DevOps Center project to
|
|
2754
|
-
"hasDynamicHelp": false,
|
|
2755
|
-
"multiple": false,
|
|
2756
|
-
"type": "option"
|
|
2757
|
-
},
|
|
2758
|
-
"subject": {
|
|
2759
|
-
"char": "s",
|
|
2760
|
-
"name": "subject",
|
|
2761
|
-
"required": true,
|
|
2762
|
-
"summary": "Subject (title) of the new work item.",
|
|
2763
|
-
"hasDynamicHelp": false,
|
|
2764
|
-
"multiple": false,
|
|
2765
|
-
"type": "option"
|
|
2766
|
-
},
|
|
2767
|
-
"description": {
|
|
2768
|
-
"char": "d",
|
|
2769
|
-
"name": "description",
|
|
2770
|
-
"summary": "Description of the new work item; if not specified, the description is blank.",
|
|
3466
|
+
"summary": "ID of the DevOps Center project to list work items for.",
|
|
2771
3467
|
"hasDynamicHelp": false,
|
|
2772
3468
|
"multiple": false,
|
|
2773
3469
|
"type": "option"
|
|
@@ -2775,12 +3471,12 @@
|
|
|
2775
3471
|
},
|
|
2776
3472
|
"hasDynamicHelp": true,
|
|
2777
3473
|
"hiddenAliases": [],
|
|
2778
|
-
"id": "devops:work-item:
|
|
3474
|
+
"id": "devops:work-item:list",
|
|
2779
3475
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2780
3476
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
2781
3477
|
"pluginType": "jit",
|
|
2782
3478
|
"strict": true,
|
|
2783
|
-
"summary": "
|
|
3479
|
+
"summary": "List all work items for a DevOps Center project.",
|
|
2784
3480
|
"enableJsonFlag": true,
|
|
2785
3481
|
"isESM": true,
|
|
2786
3482
|
"relativePath": [
|
|
@@ -2788,16 +3484,16 @@
|
|
|
2788
3484
|
"commands",
|
|
2789
3485
|
"devops",
|
|
2790
3486
|
"work-item",
|
|
2791
|
-
"
|
|
3487
|
+
"list.js"
|
|
2792
3488
|
]
|
|
2793
3489
|
},
|
|
2794
|
-
"devops:work-item:
|
|
3490
|
+
"devops:work-item:prepare": {
|
|
2795
3491
|
"aliases": [],
|
|
2796
3492
|
"args": {},
|
|
2797
|
-
"description": "
|
|
3493
|
+
"description": "Prepares a work item for one-off promotion by creating the necessary branches and pull requests in the source control repository. Run this command before running \"sf devops work-item promote\" for a one-off promotion.\n\nUse \"sf devops work-item list\" to find the work item ID and target stage ID for a project.",
|
|
2798
3494
|
"examples": [
|
|
2799
|
-
"
|
|
2800
|
-
"
|
|
3495
|
+
"Prepare a work item for one-off promotion to the UAT stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001 --target-stage-id 05S000000000002",
|
|
3496
|
+
"Prepare a work item using a DevOps Center org username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com --work-item-id 0Wx000000000001 --target-stage-id 05S000000000002"
|
|
2801
3497
|
],
|
|
2802
3498
|
"flags": {
|
|
2803
3499
|
"json": {
|
|
@@ -2832,11 +3528,20 @@
|
|
|
2832
3528
|
"multiple": false,
|
|
2833
3529
|
"type": "option"
|
|
2834
3530
|
},
|
|
2835
|
-
"
|
|
2836
|
-
"char": "
|
|
2837
|
-
"name": "
|
|
3531
|
+
"work-item-id": {
|
|
3532
|
+
"char": "i",
|
|
3533
|
+
"name": "work-item-id",
|
|
2838
3534
|
"required": true,
|
|
2839
|
-
"summary": "ID of the
|
|
3535
|
+
"summary": "ID of the work item to prepare for one-off promotion.",
|
|
3536
|
+
"hasDynamicHelp": false,
|
|
3537
|
+
"multiple": false,
|
|
3538
|
+
"type": "option"
|
|
3539
|
+
},
|
|
3540
|
+
"target-stage-id": {
|
|
3541
|
+
"char": "t",
|
|
3542
|
+
"name": "target-stage-id",
|
|
3543
|
+
"required": true,
|
|
3544
|
+
"summary": "ID of the pipeline stage to promote the work item to.",
|
|
2840
3545
|
"hasDynamicHelp": false,
|
|
2841
3546
|
"multiple": false,
|
|
2842
3547
|
"type": "option"
|
|
@@ -2844,12 +3549,12 @@
|
|
|
2844
3549
|
},
|
|
2845
3550
|
"hasDynamicHelp": true,
|
|
2846
3551
|
"hiddenAliases": [],
|
|
2847
|
-
"id": "devops:work-item:
|
|
3552
|
+
"id": "devops:work-item:prepare",
|
|
2848
3553
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
2849
3554
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
2850
3555
|
"pluginType": "jit",
|
|
2851
3556
|
"strict": true,
|
|
2852
|
-
"summary": "
|
|
3557
|
+
"summary": "Prepare a work item for one-off promotion between pipeline stages.",
|
|
2853
3558
|
"enableJsonFlag": true,
|
|
2854
3559
|
"isESM": true,
|
|
2855
3560
|
"relativePath": [
|
|
@@ -2857,7 +3562,7 @@
|
|
|
2857
3562
|
"commands",
|
|
2858
3563
|
"devops",
|
|
2859
3564
|
"work-item",
|
|
2860
|
-
"
|
|
3565
|
+
"prepare.js"
|
|
2861
3566
|
]
|
|
2862
3567
|
},
|
|
2863
3568
|
"devops:work-item:update": {
|
|
@@ -3038,6 +3743,82 @@
|
|
|
3038
3743
|
"add.js"
|
|
3039
3744
|
]
|
|
3040
3745
|
},
|
|
3746
|
+
"devops:pipeline:project:delete": {
|
|
3747
|
+
"aliases": [],
|
|
3748
|
+
"args": {},
|
|
3749
|
+
"description": "Deletes the junction record that connects the project to the pipeline. The project itself is not deleted.",
|
|
3750
|
+
"examples": [
|
|
3751
|
+
"Remove a project from a pipeline using the project ID and pipeline ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --project-id 0Hn000000000001"
|
|
3752
|
+
],
|
|
3753
|
+
"flags": {
|
|
3754
|
+
"json": {
|
|
3755
|
+
"description": "Format output as json.",
|
|
3756
|
+
"helpGroup": "GLOBAL",
|
|
3757
|
+
"name": "json",
|
|
3758
|
+
"allowNo": false,
|
|
3759
|
+
"type": "boolean"
|
|
3760
|
+
},
|
|
3761
|
+
"flags-dir": {
|
|
3762
|
+
"helpGroup": "GLOBAL",
|
|
3763
|
+
"name": "flags-dir",
|
|
3764
|
+
"summary": "Import flag values from a directory.",
|
|
3765
|
+
"hasDynamicHelp": false,
|
|
3766
|
+
"multiple": false,
|
|
3767
|
+
"type": "option"
|
|
3768
|
+
},
|
|
3769
|
+
"target-org": {
|
|
3770
|
+
"char": "o",
|
|
3771
|
+
"name": "target-org",
|
|
3772
|
+
"noCacheDefault": true,
|
|
3773
|
+
"required": true,
|
|
3774
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3775
|
+
"hasDynamicHelp": true,
|
|
3776
|
+
"multiple": false,
|
|
3777
|
+
"type": "option"
|
|
3778
|
+
},
|
|
3779
|
+
"api-version": {
|
|
3780
|
+
"description": "Override the api version used for api requests made by this command",
|
|
3781
|
+
"name": "api-version",
|
|
3782
|
+
"hasDynamicHelp": false,
|
|
3783
|
+
"multiple": false,
|
|
3784
|
+
"type": "option"
|
|
3785
|
+
},
|
|
3786
|
+
"pipeline-id": {
|
|
3787
|
+
"name": "pipeline-id",
|
|
3788
|
+
"required": true,
|
|
3789
|
+
"summary": "ID of the pipeline.",
|
|
3790
|
+
"hasDynamicHelp": false,
|
|
3791
|
+
"multiple": false,
|
|
3792
|
+
"type": "option"
|
|
3793
|
+
},
|
|
3794
|
+
"project-id": {
|
|
3795
|
+
"name": "project-id",
|
|
3796
|
+
"required": true,
|
|
3797
|
+
"summary": "ID of the DevOps Center project.",
|
|
3798
|
+
"hasDynamicHelp": false,
|
|
3799
|
+
"multiple": false,
|
|
3800
|
+
"type": "option"
|
|
3801
|
+
}
|
|
3802
|
+
},
|
|
3803
|
+
"hasDynamicHelp": true,
|
|
3804
|
+
"hiddenAliases": [],
|
|
3805
|
+
"id": "devops:pipeline:project:delete",
|
|
3806
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
3807
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
3808
|
+
"pluginType": "jit",
|
|
3809
|
+
"strict": true,
|
|
3810
|
+
"summary": "Remove a DevOps Center project's connection to a pipeline.",
|
|
3811
|
+
"enableJsonFlag": true,
|
|
3812
|
+
"isESM": true,
|
|
3813
|
+
"relativePath": [
|
|
3814
|
+
"lib",
|
|
3815
|
+
"commands",
|
|
3816
|
+
"devops",
|
|
3817
|
+
"pipeline",
|
|
3818
|
+
"project",
|
|
3819
|
+
"delete.js"
|
|
3820
|
+
]
|
|
3821
|
+
},
|
|
3041
3822
|
"devops:pipeline:stage:add": {
|
|
3042
3823
|
"aliases": [],
|
|
3043
3824
|
"args": {},
|
|
@@ -3124,6 +3905,82 @@
|
|
|
3124
3905
|
"add.js"
|
|
3125
3906
|
]
|
|
3126
3907
|
},
|
|
3908
|
+
"devops:pipeline:stage:delete": {
|
|
3909
|
+
"aliases": [],
|
|
3910
|
+
"args": {},
|
|
3911
|
+
"description": "Deletes the specified stage from the pipeline. If the stage sits between two other stages, the predecessor stage is automatically re-linked to the successor so the pipeline chain stays intact.",
|
|
3912
|
+
"examples": [
|
|
3913
|
+
"Delete a stage from a pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --stage-id 0Xc000000000002"
|
|
3914
|
+
],
|
|
3915
|
+
"flags": {
|
|
3916
|
+
"json": {
|
|
3917
|
+
"description": "Format output as json.",
|
|
3918
|
+
"helpGroup": "GLOBAL",
|
|
3919
|
+
"name": "json",
|
|
3920
|
+
"allowNo": false,
|
|
3921
|
+
"type": "boolean"
|
|
3922
|
+
},
|
|
3923
|
+
"flags-dir": {
|
|
3924
|
+
"helpGroup": "GLOBAL",
|
|
3925
|
+
"name": "flags-dir",
|
|
3926
|
+
"summary": "Import flag values from a directory.",
|
|
3927
|
+
"hasDynamicHelp": false,
|
|
3928
|
+
"multiple": false,
|
|
3929
|
+
"type": "option"
|
|
3930
|
+
},
|
|
3931
|
+
"target-org": {
|
|
3932
|
+
"char": "o",
|
|
3933
|
+
"name": "target-org",
|
|
3934
|
+
"noCacheDefault": true,
|
|
3935
|
+
"required": true,
|
|
3936
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3937
|
+
"hasDynamicHelp": true,
|
|
3938
|
+
"multiple": false,
|
|
3939
|
+
"type": "option"
|
|
3940
|
+
},
|
|
3941
|
+
"api-version": {
|
|
3942
|
+
"description": "Override the api version used for api requests made by this command",
|
|
3943
|
+
"name": "api-version",
|
|
3944
|
+
"hasDynamicHelp": false,
|
|
3945
|
+
"multiple": false,
|
|
3946
|
+
"type": "option"
|
|
3947
|
+
},
|
|
3948
|
+
"pipeline-id": {
|
|
3949
|
+
"name": "pipeline-id",
|
|
3950
|
+
"required": true,
|
|
3951
|
+
"summary": "ID of the pipeline that contains the stage.",
|
|
3952
|
+
"hasDynamicHelp": false,
|
|
3953
|
+
"multiple": false,
|
|
3954
|
+
"type": "option"
|
|
3955
|
+
},
|
|
3956
|
+
"stage-id": {
|
|
3957
|
+
"name": "stage-id",
|
|
3958
|
+
"required": true,
|
|
3959
|
+
"summary": "ID of the stage to delete.",
|
|
3960
|
+
"hasDynamicHelp": false,
|
|
3961
|
+
"multiple": false,
|
|
3962
|
+
"type": "option"
|
|
3963
|
+
}
|
|
3964
|
+
},
|
|
3965
|
+
"hasDynamicHelp": true,
|
|
3966
|
+
"hiddenAliases": [],
|
|
3967
|
+
"id": "devops:pipeline:stage:delete",
|
|
3968
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
3969
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
3970
|
+
"pluginType": "jit",
|
|
3971
|
+
"strict": true,
|
|
3972
|
+
"summary": "Delete a stage from a DevOps Center pipeline.",
|
|
3973
|
+
"enableJsonFlag": true,
|
|
3974
|
+
"isESM": true,
|
|
3975
|
+
"relativePath": [
|
|
3976
|
+
"lib",
|
|
3977
|
+
"commands",
|
|
3978
|
+
"devops",
|
|
3979
|
+
"pipeline",
|
|
3980
|
+
"stage",
|
|
3981
|
+
"delete.js"
|
|
3982
|
+
]
|
|
3983
|
+
},
|
|
3127
3984
|
"devops:stage:branch:add": {
|
|
3128
3985
|
"aliases": [],
|
|
3129
3986
|
"args": {},
|
|
@@ -3302,12 +4159,89 @@
|
|
|
3302
4159
|
},
|
|
3303
4160
|
"hasDynamicHelp": true,
|
|
3304
4161
|
"hiddenAliases": [],
|
|
3305
|
-
"id": "devops:stage:environment:add",
|
|
4162
|
+
"id": "devops:stage:environment:add",
|
|
4163
|
+
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
4164
|
+
"pluginName": "@salesforce/plugin-devops-center",
|
|
4165
|
+
"pluginType": "jit",
|
|
4166
|
+
"strict": true,
|
|
4167
|
+
"summary": "Add a Salesforce environment to a pipeline stage.",
|
|
4168
|
+
"enableJsonFlag": true,
|
|
4169
|
+
"isESM": true,
|
|
4170
|
+
"relativePath": [
|
|
4171
|
+
"lib",
|
|
4172
|
+
"commands",
|
|
4173
|
+
"devops",
|
|
4174
|
+
"stage",
|
|
4175
|
+
"environment",
|
|
4176
|
+
"add.js"
|
|
4177
|
+
]
|
|
4178
|
+
},
|
|
4179
|
+
"devops:stage:environment:delete": {
|
|
4180
|
+
"aliases": [],
|
|
4181
|
+
"args": {},
|
|
4182
|
+
"description": "Removes the specified environment from the pipeline stage. The environment must belong to an inactive pipeline.",
|
|
4183
|
+
"examples": [
|
|
4184
|
+
"Delete an environment:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --environment-id 0Xe000000000001"
|
|
4185
|
+
],
|
|
4186
|
+
"flags": {
|
|
4187
|
+
"json": {
|
|
4188
|
+
"description": "Format output as json.",
|
|
4189
|
+
"helpGroup": "GLOBAL",
|
|
4190
|
+
"name": "json",
|
|
4191
|
+
"allowNo": false,
|
|
4192
|
+
"type": "boolean"
|
|
4193
|
+
},
|
|
4194
|
+
"flags-dir": {
|
|
4195
|
+
"helpGroup": "GLOBAL",
|
|
4196
|
+
"name": "flags-dir",
|
|
4197
|
+
"summary": "Import flag values from a directory.",
|
|
4198
|
+
"hasDynamicHelp": false,
|
|
4199
|
+
"multiple": false,
|
|
4200
|
+
"type": "option"
|
|
4201
|
+
},
|
|
4202
|
+
"target-org": {
|
|
4203
|
+
"char": "o",
|
|
4204
|
+
"name": "target-org",
|
|
4205
|
+
"noCacheDefault": true,
|
|
4206
|
+
"required": true,
|
|
4207
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
4208
|
+
"hasDynamicHelp": true,
|
|
4209
|
+
"multiple": false,
|
|
4210
|
+
"type": "option"
|
|
4211
|
+
},
|
|
4212
|
+
"api-version": {
|
|
4213
|
+
"description": "Override the api version used for api requests made by this command",
|
|
4214
|
+
"name": "api-version",
|
|
4215
|
+
"hasDynamicHelp": false,
|
|
4216
|
+
"multiple": false,
|
|
4217
|
+
"type": "option"
|
|
4218
|
+
},
|
|
4219
|
+
"pipeline-id": {
|
|
4220
|
+
"name": "pipeline-id",
|
|
4221
|
+
"required": true,
|
|
4222
|
+
"summary": "ID of the pipeline. Used to verify the pipeline is inactive before deleting.",
|
|
4223
|
+
"hasDynamicHelp": false,
|
|
4224
|
+
"multiple": false,
|
|
4225
|
+
"type": "option"
|
|
4226
|
+
},
|
|
4227
|
+
"environment-id": {
|
|
4228
|
+
"char": "e",
|
|
4229
|
+
"name": "environment-id",
|
|
4230
|
+
"required": true,
|
|
4231
|
+
"summary": "ID of the environment to delete.",
|
|
4232
|
+
"hasDynamicHelp": false,
|
|
4233
|
+
"multiple": false,
|
|
4234
|
+
"type": "option"
|
|
4235
|
+
}
|
|
4236
|
+
},
|
|
4237
|
+
"hasDynamicHelp": true,
|
|
4238
|
+
"hiddenAliases": [],
|
|
4239
|
+
"id": "devops:stage:environment:delete",
|
|
3306
4240
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
3307
4241
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
3308
4242
|
"pluginType": "jit",
|
|
3309
4243
|
"strict": true,
|
|
3310
|
-
"summary": "
|
|
4244
|
+
"summary": "Delete an environment from a DevOps Center pipeline stage.",
|
|
3311
4245
|
"enableJsonFlag": true,
|
|
3312
4246
|
"isESM": true,
|
|
3313
4247
|
"relativePath": [
|
|
@@ -3316,7 +4250,7 @@
|
|
|
3316
4250
|
"devops",
|
|
3317
4251
|
"stage",
|
|
3318
4252
|
"environment",
|
|
3319
|
-
"
|
|
4253
|
+
"delete.js"
|
|
3320
4254
|
]
|
|
3321
4255
|
},
|
|
3322
4256
|
"project:deploy:pipeline:quick": {
|
|
@@ -5061,131 +5995,6 @@
|
|
|
5061
5995
|
"snapshot:delete:org"
|
|
5062
5996
|
]
|
|
5063
5997
|
},
|
|
5064
|
-
"org:get:snapshot": {
|
|
5065
|
-
"aliases": [
|
|
5066
|
-
"force:org:snapshot:get"
|
|
5067
|
-
],
|
|
5068
|
-
"args": {},
|
|
5069
|
-
"deprecateAliases": true,
|
|
5070
|
-
"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\".",
|
|
5071
|
-
"examples": [
|
|
5072
|
-
"Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
|
|
5073
|
-
"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"
|
|
5074
|
-
],
|
|
5075
|
-
"flags": {
|
|
5076
|
-
"json": {
|
|
5077
|
-
"description": "Format output as json.",
|
|
5078
|
-
"helpGroup": "GLOBAL",
|
|
5079
|
-
"name": "json",
|
|
5080
|
-
"allowNo": false,
|
|
5081
|
-
"type": "boolean"
|
|
5082
|
-
},
|
|
5083
|
-
"flags-dir": {
|
|
5084
|
-
"helpGroup": "GLOBAL",
|
|
5085
|
-
"name": "flags-dir",
|
|
5086
|
-
"summary": "Import flag values from a directory.",
|
|
5087
|
-
"hasDynamicHelp": false,
|
|
5088
|
-
"multiple": false,
|
|
5089
|
-
"type": "option"
|
|
5090
|
-
},
|
|
5091
|
-
"target-dev-hub": {
|
|
5092
|
-
"aliases": [
|
|
5093
|
-
"targetdevhubusername"
|
|
5094
|
-
],
|
|
5095
|
-
"char": "v",
|
|
5096
|
-
"deprecateAliases": true,
|
|
5097
|
-
"name": "target-dev-hub",
|
|
5098
|
-
"noCacheDefault": true,
|
|
5099
|
-
"required": true,
|
|
5100
|
-
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
5101
|
-
"hasDynamicHelp": true,
|
|
5102
|
-
"multiple": false,
|
|
5103
|
-
"type": "option"
|
|
5104
|
-
},
|
|
5105
|
-
"api-version": {
|
|
5106
|
-
"aliases": [
|
|
5107
|
-
"apiversion"
|
|
5108
|
-
],
|
|
5109
|
-
"deprecateAliases": true,
|
|
5110
|
-
"description": "Override the api version used for api requests made by this command",
|
|
5111
|
-
"name": "api-version",
|
|
5112
|
-
"hasDynamicHelp": false,
|
|
5113
|
-
"multiple": false,
|
|
5114
|
-
"type": "option"
|
|
5115
|
-
},
|
|
5116
|
-
"loglevel": {
|
|
5117
|
-
"deprecated": {
|
|
5118
|
-
"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."
|
|
5119
|
-
},
|
|
5120
|
-
"hidden": true,
|
|
5121
|
-
"name": "loglevel",
|
|
5122
|
-
"hasDynamicHelp": false,
|
|
5123
|
-
"multiple": false,
|
|
5124
|
-
"type": "option"
|
|
5125
|
-
},
|
|
5126
|
-
"snapshot": {
|
|
5127
|
-
"char": "s",
|
|
5128
|
-
"description": "The IDs of scratch org snapshots start with 0Oo.",
|
|
5129
|
-
"name": "snapshot",
|
|
5130
|
-
"required": true,
|
|
5131
|
-
"summary": "Name or ID of snapshot to retrieve.",
|
|
5132
|
-
"hasDynamicHelp": false,
|
|
5133
|
-
"multiple": false,
|
|
5134
|
-
"type": "option"
|
|
5135
|
-
}
|
|
5136
|
-
},
|
|
5137
|
-
"hasDynamicHelp": true,
|
|
5138
|
-
"hiddenAliases": [],
|
|
5139
|
-
"id": "org:get:snapshot",
|
|
5140
|
-
"pluginAlias": "@salesforce/plugin-signups",
|
|
5141
|
-
"pluginName": "@salesforce/plugin-signups",
|
|
5142
|
-
"pluginType": "jit",
|
|
5143
|
-
"strict": true,
|
|
5144
|
-
"summary": "Get details about a scratch org snapshot.",
|
|
5145
|
-
"enableJsonFlag": true,
|
|
5146
|
-
"isESM": true,
|
|
5147
|
-
"relativePath": [
|
|
5148
|
-
"lib",
|
|
5149
|
-
"commands",
|
|
5150
|
-
"org",
|
|
5151
|
-
"get",
|
|
5152
|
-
"snapshot.js"
|
|
5153
|
-
],
|
|
5154
|
-
"aliasPermutations": [
|
|
5155
|
-
"force:org:snapshot:get",
|
|
5156
|
-
"org:force:snapshot:get",
|
|
5157
|
-
"org:snapshot:force:get",
|
|
5158
|
-
"org:snapshot:get:force",
|
|
5159
|
-
"force:snapshot:org:get",
|
|
5160
|
-
"snapshot:force:org:get",
|
|
5161
|
-
"snapshot:org:force:get",
|
|
5162
|
-
"snapshot:org:get:force",
|
|
5163
|
-
"force:snapshot:get:org",
|
|
5164
|
-
"snapshot:force:get:org",
|
|
5165
|
-
"snapshot:get:force:org",
|
|
5166
|
-
"snapshot:get:org:force",
|
|
5167
|
-
"force:org:get:snapshot",
|
|
5168
|
-
"org:force:get:snapshot",
|
|
5169
|
-
"org:get:force:snapshot",
|
|
5170
|
-
"org:get:snapshot:force",
|
|
5171
|
-
"force:get:org:snapshot",
|
|
5172
|
-
"get:force:org:snapshot",
|
|
5173
|
-
"get:org:force:snapshot",
|
|
5174
|
-
"get:org:snapshot:force",
|
|
5175
|
-
"force:get:snapshot:org",
|
|
5176
|
-
"get:force:snapshot:org",
|
|
5177
|
-
"get:snapshot:force:org",
|
|
5178
|
-
"get:snapshot:org:force"
|
|
5179
|
-
],
|
|
5180
|
-
"permutations": [
|
|
5181
|
-
"org:get:snapshot",
|
|
5182
|
-
"get:org:snapshot",
|
|
5183
|
-
"get:snapshot:org",
|
|
5184
|
-
"org:snapshot:get",
|
|
5185
|
-
"snapshot:org:get",
|
|
5186
|
-
"snapshot:get:org"
|
|
5187
|
-
]
|
|
5188
|
-
},
|
|
5189
5998
|
"org:list:shape": {
|
|
5190
5999
|
"aliases": [
|
|
5191
6000
|
"force:org:shape:list"
|
|
@@ -5398,6 +6207,131 @@
|
|
|
5398
6207
|
"snapshot:list:org"
|
|
5399
6208
|
]
|
|
5400
6209
|
},
|
|
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
|
+
},
|
|
5401
6335
|
"ui-bundle:dev": {
|
|
5402
6336
|
"aliases": [],
|
|
5403
6337
|
"args": {},
|
|
@@ -5803,5 +6737,5 @@
|
|
|
5803
6737
|
"requiresProject": true
|
|
5804
6738
|
}
|
|
5805
6739
|
},
|
|
5806
|
-
"version": "2.146.
|
|
6740
|
+
"version": "2.146.2"
|
|
5807
6741
|
}
|