@salesforce/cli 2.85.2 → 2.85.3

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.
@@ -2668,16 +2668,15 @@
2668
2668
  "validate.js"
2669
2669
  ]
2670
2670
  },
2671
- "org:get:snapshot": {
2671
+ "org:create:shape": {
2672
2672
  "aliases": [
2673
- "force:org:snapshot:get"
2673
+ "force:org:shape:create"
2674
2674
  ],
2675
2675
  "args": {},
2676
2676
  "deprecateAliases": true,
2677
- "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\".",
2677
+ "description": "Scratch org shapes mimic the baseline setup (features, limits, edition, and Metadata API settings) of a source org without the extraneous data and metadata.\n\nRun \"<%= config.bin %> org list shape\" to view the available org shapes and their IDs.\n\nTo create a scratch org from an org shape, include the \"sourceOrg\" property in the scratch org definition file and set it to the org ID of the source org. Then create a scratch org with the \"<%= config.bin %> org create scratch\" command.",
2678
2678
  "examples": [
2679
- "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
2680
- "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"
2679
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
2681
2680
  ],
2682
2681
  "flags": {
2683
2682
  "json": {
@@ -2695,16 +2694,17 @@
2695
2694
  "multiple": false,
2696
2695
  "type": "option"
2697
2696
  },
2698
- "target-dev-hub": {
2697
+ "target-org": {
2699
2698
  "aliases": [
2700
- "targetdevhubusername"
2699
+ "targetusername",
2700
+ "u"
2701
2701
  ],
2702
- "char": "v",
2702
+ "char": "o",
2703
2703
  "deprecateAliases": true,
2704
- "name": "target-dev-hub",
2704
+ "name": "target-org",
2705
2705
  "noCacheDefault": true,
2706
2706
  "required": true,
2707
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2707
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2708
2708
  "hasDynamicHelp": true,
2709
2709
  "multiple": false,
2710
2710
  "type": "option"
@@ -2729,80 +2729,70 @@
2729
2729
  "hasDynamicHelp": false,
2730
2730
  "multiple": false,
2731
2731
  "type": "option"
2732
- },
2733
- "snapshot": {
2734
- "char": "s",
2735
- "description": "The IDs of scratch org snapshots start with 0Oo.",
2736
- "name": "snapshot",
2737
- "required": true,
2738
- "summary": "Name or ID of snapshot to retrieve.",
2739
- "hasDynamicHelp": false,
2740
- "multiple": false,
2741
- "type": "option"
2742
2732
  }
2743
2733
  },
2744
2734
  "hasDynamicHelp": true,
2745
2735
  "hiddenAliases": [],
2746
- "id": "org:get:snapshot",
2736
+ "id": "org:create:shape",
2747
2737
  "pluginAlias": "@salesforce/plugin-signups",
2748
2738
  "pluginName": "@salesforce/plugin-signups",
2749
2739
  "pluginType": "jit",
2750
2740
  "strict": true,
2751
- "summary": "Get details about a scratch org snapshot.",
2741
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
2752
2742
  "enableJsonFlag": true,
2753
2743
  "isESM": true,
2754
2744
  "relativePath": [
2755
2745
  "lib",
2756
2746
  "commands",
2757
2747
  "org",
2758
- "get",
2759
- "snapshot.js"
2748
+ "create",
2749
+ "shape.js"
2760
2750
  ],
2761
2751
  "aliasPermutations": [
2762
- "force:org:snapshot:get",
2763
- "org:force:snapshot:get",
2764
- "org:snapshot:force:get",
2765
- "org:snapshot:get:force",
2766
- "force:snapshot:org:get",
2767
- "snapshot:force:org:get",
2768
- "snapshot:org:force:get",
2769
- "snapshot:org:get:force",
2770
- "force:snapshot:get:org",
2771
- "snapshot:force:get:org",
2772
- "snapshot:get:force:org",
2773
- "snapshot:get:org:force",
2774
- "force:org:get:snapshot",
2775
- "org:force:get:snapshot",
2776
- "org:get:force:snapshot",
2777
- "org:get:snapshot:force",
2778
- "force:get:org:snapshot",
2779
- "get:force:org:snapshot",
2780
- "get:org:force:snapshot",
2781
- "get:org:snapshot:force",
2782
- "force:get:snapshot:org",
2783
- "get:force:snapshot:org",
2784
- "get:snapshot:force:org",
2785
- "get:snapshot:org:force"
2752
+ "force:org:shape:create",
2753
+ "org:force:shape:create",
2754
+ "org:shape:force:create",
2755
+ "org:shape:create:force",
2756
+ "force:shape:org:create",
2757
+ "shape:force:org:create",
2758
+ "shape:org:force:create",
2759
+ "shape:org:create:force",
2760
+ "force:shape:create:org",
2761
+ "shape:force:create:org",
2762
+ "shape:create:force:org",
2763
+ "shape:create:org:force",
2764
+ "force:org:create:shape",
2765
+ "org:force:create:shape",
2766
+ "org:create:force:shape",
2767
+ "org:create:shape:force",
2768
+ "force:create:org:shape",
2769
+ "create:force:org:shape",
2770
+ "create:org:force:shape",
2771
+ "create:org:shape:force",
2772
+ "force:create:shape:org",
2773
+ "create:force:shape:org",
2774
+ "create:shape:force:org",
2775
+ "create:shape:org:force"
2786
2776
  ],
2787
2777
  "permutations": [
2788
- "org:get:snapshot",
2789
- "get:org:snapshot",
2790
- "get:snapshot:org",
2791
- "org:snapshot:get",
2792
- "snapshot:org:get",
2793
- "snapshot:get:org"
2778
+ "org:create:shape",
2779
+ "create:org:shape",
2780
+ "create:shape:org",
2781
+ "org:shape:create",
2782
+ "shape:org:create",
2783
+ "shape:create:org"
2794
2784
  ]
2795
2785
  },
2796
- "org:list:shape": {
2786
+ "org:create:snapshot": {
2797
2787
  "aliases": [
2798
- "force:org:shape:list"
2788
+ "force:org:snapshot:create"
2799
2789
  ],
2800
2790
  "args": {},
2801
2791
  "deprecateAliases": true,
2802
- "description": "The output includes the alias, username, and ID of the source org, the status of the org shape creation, and more. Use the org ID to update your scratch org configuration file so you can create a scratch org based on this org shape.",
2792
+ "description": "A snapshot is a point-in-time copy of a scratch org. The copy is referenced by its unique name in a scratch org definition file.\n\nUse \"<%= config.bin %> org get snapshot\" to get details, including status, about a snapshot creation request.\n\nTo create a scratch org from a snapshot, include the \"snapshot\" option (instead of \"edition\") in the scratch org definition file and set it to the name of the snapshot. Then use \"<%= config.bin %> org create scratch\" to create the scratch org.",
2803
2793
  "examples": [
2804
- "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
2805
- "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
2794
+ "Create a snapshot called \"Dependencies\" using the source scratch org ID and your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --source-org 00Dxx0000000000 --name Dependencies --description 'Contains PackageA v1.1.0'",
2795
+ "Create a snapshot called \"NightlyBranch\" using the source scratch org username and a Dev Hub org with alias NightlyDevHub:\n<%= config.bin %> <%= command.id %> --source-org myuser@myorg --name NightlyBranch --description 'Contains PkgA v2.1.0 and PkgB 3.3.0' --target-dev-hub NightlyDevHub"
2806
2796
  ],
2807
2797
  "flags": {
2808
2798
  "json": {
@@ -2820,12 +2810,30 @@
2820
2810
  "multiple": false,
2821
2811
  "type": "option"
2822
2812
  },
2823
- "verbose": {
2824
- "hidden": true,
2825
- "name": "verbose",
2826
- "summary": "List more information about each org shape.",
2827
- "allowNo": false,
2828
- "type": "boolean"
2813
+ "target-dev-hub": {
2814
+ "aliases": [
2815
+ "targetdevhubusername"
2816
+ ],
2817
+ "char": "v",
2818
+ "deprecateAliases": true,
2819
+ "name": "target-dev-hub",
2820
+ "noCacheDefault": true,
2821
+ "required": true,
2822
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2823
+ "hasDynamicHelp": true,
2824
+ "multiple": false,
2825
+ "type": "option"
2826
+ },
2827
+ "api-version": {
2828
+ "aliases": [
2829
+ "apiversion"
2830
+ ],
2831
+ "deprecateAliases": true,
2832
+ "description": "Override the api version used for api requests made by this command",
2833
+ "name": "api-version",
2834
+ "hasDynamicHelp": false,
2835
+ "multiple": false,
2836
+ "type": "option"
2829
2837
  },
2830
2838
  "loglevel": {
2831
2839
  "deprecated": {
@@ -2836,70 +2844,105 @@
2836
2844
  "hasDynamicHelp": false,
2837
2845
  "multiple": false,
2838
2846
  "type": "option"
2847
+ },
2848
+ "source-org": {
2849
+ "aliases": [
2850
+ "sourceorg"
2851
+ ],
2852
+ "char": "o",
2853
+ "deprecateAliases": true,
2854
+ "name": "source-org",
2855
+ "required": true,
2856
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
2857
+ "hasDynamicHelp": false,
2858
+ "multiple": false,
2859
+ "type": "option"
2860
+ },
2861
+ "name": {
2862
+ "aliases": [
2863
+ "snapshotname"
2864
+ ],
2865
+ "char": "n",
2866
+ "deprecateAliases": true,
2867
+ "name": "name",
2868
+ "required": true,
2869
+ "summary": "Unique name of snapshot.",
2870
+ "hasDynamicHelp": false,
2871
+ "multiple": false,
2872
+ "type": "option"
2873
+ },
2874
+ "description": {
2875
+ "char": "d",
2876
+ "description": "Use this description to document the contents of the snapshot. We suggest that you include a reference point, such as a version control system tag or commit ID.",
2877
+ "name": "description",
2878
+ "summary": "Description of snapshot.",
2879
+ "hasDynamicHelp": false,
2880
+ "multiple": false,
2881
+ "type": "option"
2839
2882
  }
2840
2883
  },
2841
- "hasDynamicHelp": false,
2884
+ "hasDynamicHelp": true,
2842
2885
  "hiddenAliases": [],
2843
- "id": "org:list:shape",
2886
+ "id": "org:create:snapshot",
2844
2887
  "pluginAlias": "@salesforce/plugin-signups",
2845
2888
  "pluginName": "@salesforce/plugin-signups",
2846
2889
  "pluginType": "jit",
2847
2890
  "strict": true,
2848
- "summary": "List all org shapes you’ve created.",
2891
+ "summary": "Create a snapshot of a scratch org.",
2849
2892
  "enableJsonFlag": true,
2850
2893
  "isESM": true,
2851
2894
  "relativePath": [
2852
2895
  "lib",
2853
2896
  "commands",
2854
2897
  "org",
2855
- "list",
2856
- "shape.js"
2898
+ "create",
2899
+ "snapshot.js"
2857
2900
  ],
2858
2901
  "aliasPermutations": [
2859
- "force:org:shape:list",
2860
- "org:force:shape:list",
2861
- "org:shape:force:list",
2862
- "org:shape:list:force",
2863
- "force:shape:org:list",
2864
- "shape:force:org:list",
2865
- "shape:org:force:list",
2866
- "shape:org:list:force",
2867
- "force:shape:list:org",
2868
- "shape:force:list:org",
2869
- "shape:list:force:org",
2870
- "shape:list:org:force",
2871
- "force:org:list:shape",
2872
- "org:force:list:shape",
2873
- "org:list:force:shape",
2874
- "org:list:shape:force",
2875
- "force:list:org:shape",
2876
- "list:force:org:shape",
2877
- "list:org:force:shape",
2878
- "list:org:shape:force",
2879
- "force:list:shape:org",
2880
- "list:force:shape:org",
2881
- "list:shape:force:org",
2882
- "list:shape:org:force"
2902
+ "force:org:snapshot:create",
2903
+ "org:force:snapshot:create",
2904
+ "org:snapshot:force:create",
2905
+ "org:snapshot:create:force",
2906
+ "force:snapshot:org:create",
2907
+ "snapshot:force:org:create",
2908
+ "snapshot:org:force:create",
2909
+ "snapshot:org:create:force",
2910
+ "force:snapshot:create:org",
2911
+ "snapshot:force:create:org",
2912
+ "snapshot:create:force:org",
2913
+ "snapshot:create:org:force",
2914
+ "force:org:create:snapshot",
2915
+ "org:force:create:snapshot",
2916
+ "org:create:force:snapshot",
2917
+ "org:create:snapshot:force",
2918
+ "force:create:org:snapshot",
2919
+ "create:force:org:snapshot",
2920
+ "create:org:force:snapshot",
2921
+ "create:org:snapshot:force",
2922
+ "force:create:snapshot:org",
2923
+ "create:force:snapshot:org",
2924
+ "create:snapshot:force:org",
2925
+ "create:snapshot:org:force"
2883
2926
  ],
2884
2927
  "permutations": [
2885
- "org:list:shape",
2886
- "list:org:shape",
2887
- "list:shape:org",
2888
- "org:shape:list",
2889
- "shape:org:list",
2890
- "shape:list:org"
2928
+ "org:create:snapshot",
2929
+ "create:org:snapshot",
2930
+ "create:snapshot:org",
2931
+ "org:snapshot:create",
2932
+ "snapshot:org:create",
2933
+ "snapshot:create:org"
2891
2934
  ]
2892
2935
  },
2893
- "org:list:snapshot": {
2936
+ "org:get:snapshot": {
2894
2937
  "aliases": [
2895
- "force:org:snapshot:list"
2938
+ "force:org:snapshot:get"
2896
2939
  ],
2897
2940
  "args": {},
2898
2941
  "deprecateAliases": true,
2899
- "description": "You can view all the snapshots in a Dev Hub that you have access to. If you’re an admin, you can see all snapshots associated with the Dev Hub org. If you’re a user, you can see only your snapshots unless a Dev Hub admin gives you View All permissions.\n\nTo create a snapshot, use the \"<%= config.bin %> org create snapshot\" command. To get details about a snapshot request, use \"<%= config.bin %> org get snapshot\".",
2942
+ "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\".",
2900
2943
  "examples": [
2901
- "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
2902
- "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
2944
+ "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
2945
+ "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"
2903
2946
  ],
2904
2947
  "flags": {
2905
2948
  "json": {
@@ -2951,58 +2994,68 @@
2951
2994
  "hasDynamicHelp": false,
2952
2995
  "multiple": false,
2953
2996
  "type": "option"
2997
+ },
2998
+ "snapshot": {
2999
+ "char": "s",
3000
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
3001
+ "name": "snapshot",
3002
+ "required": true,
3003
+ "summary": "Name or ID of snapshot to retrieve.",
3004
+ "hasDynamicHelp": false,
3005
+ "multiple": false,
3006
+ "type": "option"
2954
3007
  }
2955
3008
  },
2956
3009
  "hasDynamicHelp": true,
2957
3010
  "hiddenAliases": [],
2958
- "id": "org:list:snapshot",
3011
+ "id": "org:get:snapshot",
2959
3012
  "pluginAlias": "@salesforce/plugin-signups",
2960
3013
  "pluginName": "@salesforce/plugin-signups",
2961
3014
  "pluginType": "jit",
2962
3015
  "strict": true,
2963
- "summary": "List scratch org snapshots.",
3016
+ "summary": "Get details about a scratch org snapshot.",
2964
3017
  "enableJsonFlag": true,
2965
3018
  "isESM": true,
2966
3019
  "relativePath": [
2967
3020
  "lib",
2968
3021
  "commands",
2969
3022
  "org",
2970
- "list",
3023
+ "get",
2971
3024
  "snapshot.js"
2972
3025
  ],
2973
- "aliasPermutations": [
2974
- "force:org:snapshot:list",
2975
- "org:force:snapshot:list",
2976
- "org:snapshot:force:list",
2977
- "org:snapshot:list:force",
2978
- "force:snapshot:org:list",
2979
- "snapshot:force:org:list",
2980
- "snapshot:org:force:list",
2981
- "snapshot:org:list:force",
2982
- "force:snapshot:list:org",
2983
- "snapshot:force:list:org",
2984
- "snapshot:list:force:org",
2985
- "snapshot:list:org:force",
2986
- "force:org:list:snapshot",
2987
- "org:force:list:snapshot",
2988
- "org:list:force:snapshot",
2989
- "org:list:snapshot:force",
2990
- "force:list:org:snapshot",
2991
- "list:force:org:snapshot",
2992
- "list:org:force:snapshot",
2993
- "list:org:snapshot:force",
2994
- "force:list:snapshot:org",
2995
- "list:force:snapshot:org",
2996
- "list:snapshot:force:org",
2997
- "list:snapshot:org:force"
3026
+ "aliasPermutations": [
3027
+ "force:org:snapshot:get",
3028
+ "org:force:snapshot:get",
3029
+ "org:snapshot:force:get",
3030
+ "org:snapshot:get:force",
3031
+ "force:snapshot:org:get",
3032
+ "snapshot:force:org:get",
3033
+ "snapshot:org:force:get",
3034
+ "snapshot:org:get:force",
3035
+ "force:snapshot:get:org",
3036
+ "snapshot:force:get:org",
3037
+ "snapshot:get:force:org",
3038
+ "snapshot:get:org:force",
3039
+ "force:org:get:snapshot",
3040
+ "org:force:get:snapshot",
3041
+ "org:get:force:snapshot",
3042
+ "org:get:snapshot:force",
3043
+ "force:get:org:snapshot",
3044
+ "get:force:org:snapshot",
3045
+ "get:org:force:snapshot",
3046
+ "get:org:snapshot:force",
3047
+ "force:get:snapshot:org",
3048
+ "get:force:snapshot:org",
3049
+ "get:snapshot:force:org",
3050
+ "get:snapshot:org:force"
2998
3051
  ],
2999
3052
  "permutations": [
3000
- "org:list:snapshot",
3001
- "list:org:snapshot",
3002
- "list:snapshot:org",
3003
- "org:snapshot:list",
3004
- "snapshot:org:list",
3005
- "snapshot:list:org"
3053
+ "org:get:snapshot",
3054
+ "get:org:snapshot",
3055
+ "get:snapshot:org",
3056
+ "org:snapshot:get",
3057
+ "snapshot:org:get",
3058
+ "snapshot:get:org"
3006
3059
  ]
3007
3060
  },
3008
3061
  "org:delete:shape": {
@@ -3264,15 +3317,16 @@
3264
3317
  "snapshot:delete:org"
3265
3318
  ]
3266
3319
  },
3267
- "org:create:shape": {
3320
+ "org:list:shape": {
3268
3321
  "aliases": [
3269
- "force:org:shape:create"
3322
+ "force:org:shape:list"
3270
3323
  ],
3271
3324
  "args": {},
3272
3325
  "deprecateAliases": true,
3273
- "description": "Scratch org shapes mimic the baseline setup (features, limits, edition, and Metadata API settings) of a source org without the extraneous data and metadata.\n\nRun \"<%= config.bin %> org list shape\" to view the available org shapes and their IDs.\n\nTo create a scratch org from an org shape, include the \"sourceOrg\" property in the scratch org definition file and set it to the org ID of the source org. Then create a scratch org with the \"<%= config.bin %> org create scratch\" command.",
3326
+ "description": "The output includes the alias, username, and ID of the source org, the status of the org shape creation, and more. Use the org ID to update your scratch org configuration file so you can create a scratch org based on this org shape.",
3274
3327
  "examples": [
3275
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
3328
+ "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
3329
+ "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
3276
3330
  ],
3277
3331
  "flags": {
3278
3332
  "json": {
@@ -3290,31 +3344,12 @@
3290
3344
  "multiple": false,
3291
3345
  "type": "option"
3292
3346
  },
3293
- "target-org": {
3294
- "aliases": [
3295
- "targetusername",
3296
- "u"
3297
- ],
3298
- "char": "o",
3299
- "deprecateAliases": true,
3300
- "name": "target-org",
3301
- "noCacheDefault": true,
3302
- "required": true,
3303
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
3304
- "hasDynamicHelp": true,
3305
- "multiple": false,
3306
- "type": "option"
3307
- },
3308
- "api-version": {
3309
- "aliases": [
3310
- "apiversion"
3311
- ],
3312
- "deprecateAliases": true,
3313
- "description": "Override the api version used for api requests made by this command",
3314
- "name": "api-version",
3315
- "hasDynamicHelp": false,
3316
- "multiple": false,
3317
- "type": "option"
3347
+ "verbose": {
3348
+ "hidden": true,
3349
+ "name": "verbose",
3350
+ "summary": "List more information about each org shape.",
3351
+ "allowNo": false,
3352
+ "type": "boolean"
3318
3353
  },
3319
3354
  "loglevel": {
3320
3355
  "deprecated": {
@@ -3327,68 +3362,68 @@
3327
3362
  "type": "option"
3328
3363
  }
3329
3364
  },
3330
- "hasDynamicHelp": true,
3365
+ "hasDynamicHelp": false,
3331
3366
  "hiddenAliases": [],
3332
- "id": "org:create:shape",
3367
+ "id": "org:list:shape",
3333
3368
  "pluginAlias": "@salesforce/plugin-signups",
3334
3369
  "pluginName": "@salesforce/plugin-signups",
3335
3370
  "pluginType": "jit",
3336
3371
  "strict": true,
3337
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
3372
+ "summary": "List all org shapes you’ve created.",
3338
3373
  "enableJsonFlag": true,
3339
3374
  "isESM": true,
3340
3375
  "relativePath": [
3341
3376
  "lib",
3342
3377
  "commands",
3343
3378
  "org",
3344
- "create",
3379
+ "list",
3345
3380
  "shape.js"
3346
3381
  ],
3347
3382
  "aliasPermutations": [
3348
- "force:org:shape:create",
3349
- "org:force:shape:create",
3350
- "org:shape:force:create",
3351
- "org:shape:create:force",
3352
- "force:shape:org:create",
3353
- "shape:force:org:create",
3354
- "shape:org:force:create",
3355
- "shape:org:create:force",
3356
- "force:shape:create:org",
3357
- "shape:force:create:org",
3358
- "shape:create:force:org",
3359
- "shape:create:org:force",
3360
- "force:org:create:shape",
3361
- "org:force:create:shape",
3362
- "org:create:force:shape",
3363
- "org:create:shape:force",
3364
- "force:create:org:shape",
3365
- "create:force:org:shape",
3366
- "create:org:force:shape",
3367
- "create:org:shape:force",
3368
- "force:create:shape:org",
3369
- "create:force:shape:org",
3370
- "create:shape:force:org",
3371
- "create:shape:org:force"
3383
+ "force:org:shape:list",
3384
+ "org:force:shape:list",
3385
+ "org:shape:force:list",
3386
+ "org:shape:list:force",
3387
+ "force:shape:org:list",
3388
+ "shape:force:org:list",
3389
+ "shape:org:force:list",
3390
+ "shape:org:list:force",
3391
+ "force:shape:list:org",
3392
+ "shape:force:list:org",
3393
+ "shape:list:force:org",
3394
+ "shape:list:org:force",
3395
+ "force:org:list:shape",
3396
+ "org:force:list:shape",
3397
+ "org:list:force:shape",
3398
+ "org:list:shape:force",
3399
+ "force:list:org:shape",
3400
+ "list:force:org:shape",
3401
+ "list:org:force:shape",
3402
+ "list:org:shape:force",
3403
+ "force:list:shape:org",
3404
+ "list:force:shape:org",
3405
+ "list:shape:force:org",
3406
+ "list:shape:org:force"
3372
3407
  ],
3373
3408
  "permutations": [
3374
- "org:create:shape",
3375
- "create:org:shape",
3376
- "create:shape:org",
3377
- "org:shape:create",
3378
- "shape:org:create",
3379
- "shape:create:org"
3409
+ "org:list:shape",
3410
+ "list:org:shape",
3411
+ "list:shape:org",
3412
+ "org:shape:list",
3413
+ "shape:org:list",
3414
+ "shape:list:org"
3380
3415
  ]
3381
3416
  },
3382
- "org:create:snapshot": {
3417
+ "org:list:snapshot": {
3383
3418
  "aliases": [
3384
- "force:org:snapshot:create"
3419
+ "force:org:snapshot:list"
3385
3420
  ],
3386
3421
  "args": {},
3387
3422
  "deprecateAliases": true,
3388
- "description": "A snapshot is a point-in-time copy of a scratch org. The copy is referenced by its unique name in a scratch org definition file.\n\nUse \"<%= config.bin %> org get snapshot\" to get details, including status, about a snapshot creation request.\n\nTo create a scratch org from a snapshot, include the \"snapshot\" option (instead of \"edition\") in the scratch org definition file and set it to the name of the snapshot. Then use \"<%= config.bin %> org create scratch\" to create the scratch org.",
3423
+ "description": "You can view all the snapshots in a Dev Hub that you have access to. If you’re an admin, you can see all snapshots associated with the Dev Hub org. If you’re a user, you can see only your snapshots unless a Dev Hub admin gives you View All permissions.\n\nTo create a snapshot, use the \"<%= config.bin %> org create snapshot\" command. To get details about a snapshot request, use \"<%= config.bin %> org get snapshot\".",
3389
3424
  "examples": [
3390
- "Create a snapshot called \"Dependencies\" using the source scratch org ID and your default Dev Hub org:\n<%= config.bin %> <%= command.id %> --source-org 00Dxx0000000000 --name Dependencies --description 'Contains PackageA v1.1.0'",
3391
- "Create a snapshot called \"NightlyBranch\" using the source scratch org username and a Dev Hub org with alias NightlyDevHub:\n<%= config.bin %> <%= command.id %> --source-org myuser@myorg --name NightlyBranch --description 'Contains PkgA v2.1.0 and PkgB 3.3.0' --target-dev-hub NightlyDevHub"
3425
+ "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
3426
+ "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
3392
3427
  ],
3393
3428
  "flags": {
3394
3429
  "json": {
@@ -3440,93 +3475,58 @@
3440
3475
  "hasDynamicHelp": false,
3441
3476
  "multiple": false,
3442
3477
  "type": "option"
3443
- },
3444
- "source-org": {
3445
- "aliases": [
3446
- "sourceorg"
3447
- ],
3448
- "char": "o",
3449
- "deprecateAliases": true,
3450
- "name": "source-org",
3451
- "required": true,
3452
- "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
3453
- "hasDynamicHelp": false,
3454
- "multiple": false,
3455
- "type": "option"
3456
- },
3457
- "name": {
3458
- "aliases": [
3459
- "snapshotname"
3460
- ],
3461
- "char": "n",
3462
- "deprecateAliases": true,
3463
- "name": "name",
3464
- "required": true,
3465
- "summary": "Unique name of snapshot.",
3466
- "hasDynamicHelp": false,
3467
- "multiple": false,
3468
- "type": "option"
3469
- },
3470
- "description": {
3471
- "char": "d",
3472
- "description": "Use this description to document the contents of the snapshot. We suggest that you include a reference point, such as a version control system tag or commit ID.",
3473
- "name": "description",
3474
- "summary": "Description of snapshot.",
3475
- "hasDynamicHelp": false,
3476
- "multiple": false,
3477
- "type": "option"
3478
3478
  }
3479
3479
  },
3480
3480
  "hasDynamicHelp": true,
3481
3481
  "hiddenAliases": [],
3482
- "id": "org:create:snapshot",
3482
+ "id": "org:list:snapshot",
3483
3483
  "pluginAlias": "@salesforce/plugin-signups",
3484
3484
  "pluginName": "@salesforce/plugin-signups",
3485
3485
  "pluginType": "jit",
3486
3486
  "strict": true,
3487
- "summary": "Create a snapshot of a scratch org.",
3487
+ "summary": "List scratch org snapshots.",
3488
3488
  "enableJsonFlag": true,
3489
3489
  "isESM": true,
3490
3490
  "relativePath": [
3491
3491
  "lib",
3492
3492
  "commands",
3493
3493
  "org",
3494
- "create",
3494
+ "list",
3495
3495
  "snapshot.js"
3496
3496
  ],
3497
3497
  "aliasPermutations": [
3498
- "force:org:snapshot:create",
3499
- "org:force:snapshot:create",
3500
- "org:snapshot:force:create",
3501
- "org:snapshot:create:force",
3502
- "force:snapshot:org:create",
3503
- "snapshot:force:org:create",
3504
- "snapshot:org:force:create",
3505
- "snapshot:org:create:force",
3506
- "force:snapshot:create:org",
3507
- "snapshot:force:create:org",
3508
- "snapshot:create:force:org",
3509
- "snapshot:create:org:force",
3510
- "force:org:create:snapshot",
3511
- "org:force:create:snapshot",
3512
- "org:create:force:snapshot",
3513
- "org:create:snapshot:force",
3514
- "force:create:org:snapshot",
3515
- "create:force:org:snapshot",
3516
- "create:org:force:snapshot",
3517
- "create:org:snapshot:force",
3518
- "force:create:snapshot:org",
3519
- "create:force:snapshot:org",
3520
- "create:snapshot:force:org",
3521
- "create:snapshot:org:force"
3498
+ "force:org:snapshot:list",
3499
+ "org:force:snapshot:list",
3500
+ "org:snapshot:force:list",
3501
+ "org:snapshot:list:force",
3502
+ "force:snapshot:org:list",
3503
+ "snapshot:force:org:list",
3504
+ "snapshot:org:force:list",
3505
+ "snapshot:org:list:force",
3506
+ "force:snapshot:list:org",
3507
+ "snapshot:force:list:org",
3508
+ "snapshot:list:force:org",
3509
+ "snapshot:list:org:force",
3510
+ "force:org:list:snapshot",
3511
+ "org:force:list:snapshot",
3512
+ "org:list:force:snapshot",
3513
+ "org:list:snapshot:force",
3514
+ "force:list:org:snapshot",
3515
+ "list:force:org:snapshot",
3516
+ "list:org:force:snapshot",
3517
+ "list:org:snapshot:force",
3518
+ "force:list:snapshot:org",
3519
+ "list:force:snapshot:org",
3520
+ "list:snapshot:force:org",
3521
+ "list:snapshot:org:force"
3522
3522
  ],
3523
3523
  "permutations": [
3524
- "org:create:snapshot",
3525
- "create:org:snapshot",
3526
- "create:snapshot:org",
3527
- "org:snapshot:create",
3528
- "snapshot:org:create",
3529
- "snapshot:create:org"
3524
+ "org:list:snapshot",
3525
+ "list:org:snapshot",
3526
+ "list:snapshot:org",
3527
+ "org:snapshot:list",
3528
+ "snapshot:org:list",
3529
+ "snapshot:list:org"
3530
3530
  ]
3531
3531
  },
3532
3532
  "force:lightning:lwc:test:create": {
@@ -4411,5 +4411,5 @@
4411
4411
  ]
4412
4412
  }
4413
4413
  },
4414
- "version": "2.85.2"
4414
+ "version": "2.85.3"
4415
4415
  }