@salesforce/cli 2.80.8 → 2.80.10

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.
@@ -2660,15 +2660,16 @@
2660
2660
  "validate.js"
2661
2661
  ]
2662
2662
  },
2663
- "org:create:shape": {
2663
+ "org:delete:shape": {
2664
2664
  "aliases": [
2665
- "force:org:shape:create"
2665
+ "force:org:shape:delete"
2666
2666
  ],
2667
2667
  "args": {},
2668
2668
  "deprecateAliases": true,
2669
- "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.",
2669
+ "description": "A source org can have only one active org shape. If you try to create an org shape for a source org that already has one, the previous shape is marked inactive and replaced by a new active shape. If you don’t want to create scratch orgs based on this shape, you can delete the org shape.",
2670
2670
  "examples": [
2671
- "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
2671
+ "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
2672
+ "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
2672
2673
  ],
2673
2674
  "flags": {
2674
2675
  "json": {
@@ -2721,70 +2722,81 @@
2721
2722
  "hasDynamicHelp": false,
2722
2723
  "multiple": false,
2723
2724
  "type": "option"
2725
+ },
2726
+ "no-prompt": {
2727
+ "aliases": [
2728
+ "noprompt"
2729
+ ],
2730
+ "char": "p",
2731
+ "deprecateAliases": true,
2732
+ "name": "no-prompt",
2733
+ "summary": "Don't prompt for confirmation.",
2734
+ "allowNo": false,
2735
+ "type": "boolean"
2724
2736
  }
2725
2737
  },
2726
2738
  "hasDynamicHelp": true,
2727
2739
  "hiddenAliases": [],
2728
- "id": "org:create:shape",
2740
+ "id": "org:delete:shape",
2729
2741
  "pluginAlias": "@salesforce/plugin-signups",
2730
2742
  "pluginName": "@salesforce/plugin-signups",
2731
2743
  "pluginType": "jit",
2732
2744
  "strict": true,
2733
- "summary": "Create a scratch org configuration (shape) based on the specified source org.",
2745
+ "summary": "Delete all org shapes for a target org.",
2734
2746
  "enableJsonFlag": true,
2735
2747
  "isESM": true,
2736
2748
  "relativePath": [
2737
2749
  "lib",
2738
2750
  "commands",
2739
2751
  "org",
2740
- "create",
2752
+ "delete",
2741
2753
  "shape.js"
2742
2754
  ],
2743
2755
  "aliasPermutations": [
2744
- "force:org:shape:create",
2745
- "org:force:shape:create",
2746
- "org:shape:force:create",
2747
- "org:shape:create:force",
2748
- "force:shape:org:create",
2749
- "shape:force:org:create",
2750
- "shape:org:force:create",
2751
- "shape:org:create:force",
2752
- "force:shape:create:org",
2753
- "shape:force:create:org",
2754
- "shape:create:force:org",
2755
- "shape:create:org:force",
2756
- "force:org:create:shape",
2757
- "org:force:create:shape",
2758
- "org:create:force:shape",
2759
- "org:create:shape:force",
2760
- "force:create:org:shape",
2761
- "create:force:org:shape",
2762
- "create:org:force:shape",
2763
- "create:org:shape:force",
2764
- "force:create:shape:org",
2765
- "create:force:shape:org",
2766
- "create:shape:force:org",
2767
- "create:shape:org:force"
2756
+ "force:org:shape:delete",
2757
+ "org:force:shape:delete",
2758
+ "org:shape:force:delete",
2759
+ "org:shape:delete:force",
2760
+ "force:shape:org:delete",
2761
+ "shape:force:org:delete",
2762
+ "shape:org:force:delete",
2763
+ "shape:org:delete:force",
2764
+ "force:shape:delete:org",
2765
+ "shape:force:delete:org",
2766
+ "shape:delete:force:org",
2767
+ "shape:delete:org:force",
2768
+ "force:org:delete:shape",
2769
+ "org:force:delete:shape",
2770
+ "org:delete:force:shape",
2771
+ "org:delete:shape:force",
2772
+ "force:delete:org:shape",
2773
+ "delete:force:org:shape",
2774
+ "delete:org:force:shape",
2775
+ "delete:org:shape:force",
2776
+ "force:delete:shape:org",
2777
+ "delete:force:shape:org",
2778
+ "delete:shape:force:org",
2779
+ "delete:shape:org:force"
2768
2780
  ],
2769
2781
  "permutations": [
2770
- "org:create:shape",
2771
- "create:org:shape",
2772
- "create:shape:org",
2773
- "org:shape:create",
2774
- "shape:org:create",
2775
- "shape:create:org"
2782
+ "org:delete:shape",
2783
+ "delete:org:shape",
2784
+ "delete:shape:org",
2785
+ "org:shape:delete",
2786
+ "shape:org:delete",
2787
+ "shape:delete:org"
2776
2788
  ]
2777
2789
  },
2778
- "org:create:snapshot": {
2790
+ "org:delete:snapshot": {
2779
2791
  "aliases": [
2780
- "force:org:snapshot:create"
2792
+ "force:org:snapshot:delete"
2781
2793
  ],
2782
2794
  "args": {},
2783
2795
  "deprecateAliases": true,
2784
- "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.",
2796
+ "description": "Dev Hub admins can delete any snapshot. Users can delete only their own snapshots, unless a Dev Hub admin gives the user Modify All permission, which works only with the Salesforce license.",
2785
2797
  "examples": [
2786
- "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'",
2787
- "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"
2798
+ "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
2799
+ "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
2788
2800
  ],
2789
2801
  "flags": {
2790
2802
  "json": {
@@ -2837,104 +2849,86 @@
2837
2849
  "multiple": false,
2838
2850
  "type": "option"
2839
2851
  },
2840
- "source-org": {
2841
- "aliases": [
2842
- "sourceorg"
2843
- ],
2844
- "char": "o",
2845
- "deprecateAliases": true,
2846
- "name": "source-org",
2847
- "required": true,
2848
- "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
2849
- "hasDynamicHelp": false,
2850
- "multiple": false,
2851
- "type": "option"
2852
- },
2853
- "name": {
2854
- "aliases": [
2855
- "snapshotname"
2856
- ],
2857
- "char": "n",
2858
- "deprecateAliases": true,
2859
- "name": "name",
2852
+ "snapshot": {
2853
+ "char": "s",
2854
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
2855
+ "name": "snapshot",
2860
2856
  "required": true,
2861
- "summary": "Unique name of snapshot.",
2857
+ "summary": "Name or ID of snapshot to delete.",
2862
2858
  "hasDynamicHelp": false,
2863
2859
  "multiple": false,
2864
2860
  "type": "option"
2865
2861
  },
2866
- "description": {
2867
- "char": "d",
2868
- "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.",
2869
- "name": "description",
2870
- "summary": "Description of snapshot.",
2871
- "hasDynamicHelp": false,
2872
- "multiple": false,
2873
- "type": "option"
2862
+ "no-prompt": {
2863
+ "char": "p",
2864
+ "name": "no-prompt",
2865
+ "summary": "Don't prompt the user to confirm the deletion.",
2866
+ "allowNo": false,
2867
+ "type": "boolean"
2874
2868
  }
2875
2869
  },
2876
2870
  "hasDynamicHelp": true,
2877
2871
  "hiddenAliases": [],
2878
- "id": "org:create:snapshot",
2872
+ "id": "org:delete:snapshot",
2879
2873
  "pluginAlias": "@salesforce/plugin-signups",
2880
2874
  "pluginName": "@salesforce/plugin-signups",
2881
2875
  "pluginType": "jit",
2882
2876
  "strict": true,
2883
- "summary": "Create a snapshot of a scratch org.",
2877
+ "summary": "Delete a scratch org snapshot.",
2884
2878
  "enableJsonFlag": true,
2885
2879
  "isESM": true,
2886
2880
  "relativePath": [
2887
2881
  "lib",
2888
2882
  "commands",
2889
2883
  "org",
2890
- "create",
2884
+ "delete",
2891
2885
  "snapshot.js"
2892
2886
  ],
2893
2887
  "aliasPermutations": [
2894
- "force:org:snapshot:create",
2895
- "org:force:snapshot:create",
2896
- "org:snapshot:force:create",
2897
- "org:snapshot:create:force",
2898
- "force:snapshot:org:create",
2899
- "snapshot:force:org:create",
2900
- "snapshot:org:force:create",
2901
- "snapshot:org:create:force",
2902
- "force:snapshot:create:org",
2903
- "snapshot:force:create:org",
2904
- "snapshot:create:force:org",
2905
- "snapshot:create:org:force",
2906
- "force:org:create:snapshot",
2907
- "org:force:create:snapshot",
2908
- "org:create:force:snapshot",
2909
- "org:create:snapshot:force",
2910
- "force:create:org:snapshot",
2911
- "create:force:org:snapshot",
2912
- "create:org:force:snapshot",
2913
- "create:org:snapshot:force",
2914
- "force:create:snapshot:org",
2915
- "create:force:snapshot:org",
2916
- "create:snapshot:force:org",
2917
- "create:snapshot:org:force"
2888
+ "force:org:snapshot:delete",
2889
+ "org:force:snapshot:delete",
2890
+ "org:snapshot:force:delete",
2891
+ "org:snapshot:delete:force",
2892
+ "force:snapshot:org:delete",
2893
+ "snapshot:force:org:delete",
2894
+ "snapshot:org:force:delete",
2895
+ "snapshot:org:delete:force",
2896
+ "force:snapshot:delete:org",
2897
+ "snapshot:force:delete:org",
2898
+ "snapshot:delete:force:org",
2899
+ "snapshot:delete:org:force",
2900
+ "force:org:delete:snapshot",
2901
+ "org:force:delete:snapshot",
2902
+ "org:delete:force:snapshot",
2903
+ "org:delete:snapshot:force",
2904
+ "force:delete:org:snapshot",
2905
+ "delete:force:org:snapshot",
2906
+ "delete:org:force:snapshot",
2907
+ "delete:org:snapshot:force",
2908
+ "force:delete:snapshot:org",
2909
+ "delete:force:snapshot:org",
2910
+ "delete:snapshot:force:org",
2911
+ "delete:snapshot:org:force"
2918
2912
  ],
2919
2913
  "permutations": [
2920
- "org:create:snapshot",
2921
- "create:org:snapshot",
2922
- "create:snapshot:org",
2923
- "org:snapshot:create",
2924
- "snapshot:org:create",
2925
- "snapshot:create:org"
2914
+ "org:delete:snapshot",
2915
+ "delete:org:snapshot",
2916
+ "delete:snapshot:org",
2917
+ "org:snapshot:delete",
2918
+ "snapshot:org:delete",
2919
+ "snapshot:delete:org"
2926
2920
  ]
2927
2921
  },
2928
- "org:delete:shape": {
2922
+ "org:get:snapshot": {
2929
2923
  "aliases": [
2930
- "force:org:shape:delete"
2924
+ "force:org:snapshot:get"
2931
2925
  ],
2932
2926
  "args": {},
2933
2927
  "deprecateAliases": true,
2934
- "description": "A source org can have only one active org shape. If you try to create an org shape for a source org that already has one, the previous shape is marked inactive and replaced by a new active shape. If you don’t want to create scratch orgs based on this shape, you can delete the org shape.",
2928
+ "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\".",
2935
2929
  "examples": [
2936
- "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
2937
- "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
2930
+ "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
2931
+ "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"
2938
2932
  ],
2939
2933
  "flags": {
2940
2934
  "json": {
@@ -2952,17 +2946,16 @@
2952
2946
  "multiple": false,
2953
2947
  "type": "option"
2954
2948
  },
2955
- "target-org": {
2949
+ "target-dev-hub": {
2956
2950
  "aliases": [
2957
- "targetusername",
2958
- "u"
2951
+ "targetdevhubusername"
2959
2952
  ],
2960
- "char": "o",
2953
+ "char": "v",
2961
2954
  "deprecateAliases": true,
2962
- "name": "target-org",
2955
+ "name": "target-dev-hub",
2963
2956
  "noCacheDefault": true,
2964
2957
  "required": true,
2965
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2958
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
2966
2959
  "hasDynamicHelp": true,
2967
2960
  "multiple": false,
2968
2961
  "type": "option"
@@ -2988,80 +2981,78 @@
2988
2981
  "multiple": false,
2989
2982
  "type": "option"
2990
2983
  },
2991
- "no-prompt": {
2992
- "aliases": [
2993
- "noprompt"
2994
- ],
2995
- "char": "p",
2996
- "deprecateAliases": true,
2997
- "name": "no-prompt",
2998
- "summary": "Don't prompt for confirmation.",
2999
- "allowNo": false,
3000
- "type": "boolean"
2984
+ "snapshot": {
2985
+ "char": "s",
2986
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
2987
+ "name": "snapshot",
2988
+ "required": true,
2989
+ "summary": "Name or ID of snapshot to retrieve.",
2990
+ "hasDynamicHelp": false,
2991
+ "multiple": false,
2992
+ "type": "option"
3001
2993
  }
3002
2994
  },
3003
2995
  "hasDynamicHelp": true,
3004
2996
  "hiddenAliases": [],
3005
- "id": "org:delete:shape",
2997
+ "id": "org:get:snapshot",
3006
2998
  "pluginAlias": "@salesforce/plugin-signups",
3007
2999
  "pluginName": "@salesforce/plugin-signups",
3008
3000
  "pluginType": "jit",
3009
3001
  "strict": true,
3010
- "summary": "Delete all org shapes for a target org.",
3002
+ "summary": "Get details about a scratch org snapshot.",
3011
3003
  "enableJsonFlag": true,
3012
3004
  "isESM": true,
3013
3005
  "relativePath": [
3014
3006
  "lib",
3015
3007
  "commands",
3016
3008
  "org",
3017
- "delete",
3018
- "shape.js"
3009
+ "get",
3010
+ "snapshot.js"
3019
3011
  ],
3020
3012
  "aliasPermutations": [
3021
- "force:org:shape:delete",
3022
- "org:force:shape:delete",
3023
- "org:shape:force:delete",
3024
- "org:shape:delete:force",
3025
- "force:shape:org:delete",
3026
- "shape:force:org:delete",
3027
- "shape:org:force:delete",
3028
- "shape:org:delete:force",
3029
- "force:shape:delete:org",
3030
- "shape:force:delete:org",
3031
- "shape:delete:force:org",
3032
- "shape:delete:org:force",
3033
- "force:org:delete:shape",
3034
- "org:force:delete:shape",
3035
- "org:delete:force:shape",
3036
- "org:delete:shape:force",
3037
- "force:delete:org:shape",
3038
- "delete:force:org:shape",
3039
- "delete:org:force:shape",
3040
- "delete:org:shape:force",
3041
- "force:delete:shape:org",
3042
- "delete:force:shape:org",
3043
- "delete:shape:force:org",
3044
- "delete:shape:org:force"
3013
+ "force:org:snapshot:get",
3014
+ "org:force:snapshot:get",
3015
+ "org:snapshot:force:get",
3016
+ "org:snapshot:get:force",
3017
+ "force:snapshot:org:get",
3018
+ "snapshot:force:org:get",
3019
+ "snapshot:org:force:get",
3020
+ "snapshot:org:get:force",
3021
+ "force:snapshot:get:org",
3022
+ "snapshot:force:get:org",
3023
+ "snapshot:get:force:org",
3024
+ "snapshot:get:org:force",
3025
+ "force:org:get:snapshot",
3026
+ "org:force:get:snapshot",
3027
+ "org:get:force:snapshot",
3028
+ "org:get:snapshot:force",
3029
+ "force:get:org:snapshot",
3030
+ "get:force:org:snapshot",
3031
+ "get:org:force:snapshot",
3032
+ "get:org:snapshot:force",
3033
+ "force:get:snapshot:org",
3034
+ "get:force:snapshot:org",
3035
+ "get:snapshot:force:org",
3036
+ "get:snapshot:org:force"
3045
3037
  ],
3046
3038
  "permutations": [
3047
- "org:delete:shape",
3048
- "delete:org:shape",
3049
- "delete:shape:org",
3050
- "org:shape:delete",
3051
- "shape:org:delete",
3052
- "shape:delete:org"
3039
+ "org:get:snapshot",
3040
+ "get:org:snapshot",
3041
+ "get:snapshot:org",
3042
+ "org:snapshot:get",
3043
+ "snapshot:org:get",
3044
+ "snapshot:get:org"
3053
3045
  ]
3054
3046
  },
3055
- "org:delete:snapshot": {
3047
+ "org:create:shape": {
3056
3048
  "aliases": [
3057
- "force:org:snapshot:delete"
3049
+ "force:org:shape:create"
3058
3050
  ],
3059
3051
  "args": {},
3060
3052
  "deprecateAliases": true,
3061
- "description": "Dev Hub admins can delete any snapshot. Users can delete only their own snapshots, unless a Dev Hub admin gives the user Modify All permission, which works only with the Salesforce license.",
3053
+ "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.",
3062
3054
  "examples": [
3063
- "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
3064
- "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
3055
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
3065
3056
  ],
3066
3057
  "flags": {
3067
3058
  "json": {
@@ -3079,16 +3070,17 @@
3079
3070
  "multiple": false,
3080
3071
  "type": "option"
3081
3072
  },
3082
- "target-dev-hub": {
3073
+ "target-org": {
3083
3074
  "aliases": [
3084
- "targetdevhubusername"
3075
+ "targetusername",
3076
+ "u"
3085
3077
  ],
3086
- "char": "v",
3078
+ "char": "o",
3087
3079
  "deprecateAliases": true,
3088
- "name": "target-dev-hub",
3080
+ "name": "target-org",
3089
3081
  "noCacheDefault": true,
3090
3082
  "required": true,
3091
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
3083
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
3092
3084
  "hasDynamicHelp": true,
3093
3085
  "multiple": false,
3094
3086
  "type": "option"
@@ -3113,87 +3105,70 @@
3113
3105
  "hasDynamicHelp": false,
3114
3106
  "multiple": false,
3115
3107
  "type": "option"
3116
- },
3117
- "snapshot": {
3118
- "char": "s",
3119
- "description": "The IDs of scratch org snapshots start with 0Oo.",
3120
- "name": "snapshot",
3121
- "required": true,
3122
- "summary": "Name or ID of snapshot to delete.",
3123
- "hasDynamicHelp": false,
3124
- "multiple": false,
3125
- "type": "option"
3126
- },
3127
- "no-prompt": {
3128
- "char": "p",
3129
- "name": "no-prompt",
3130
- "summary": "Don't prompt the user to confirm the deletion.",
3131
- "allowNo": false,
3132
- "type": "boolean"
3133
3108
  }
3134
3109
  },
3135
3110
  "hasDynamicHelp": true,
3136
3111
  "hiddenAliases": [],
3137
- "id": "org:delete:snapshot",
3112
+ "id": "org:create:shape",
3138
3113
  "pluginAlias": "@salesforce/plugin-signups",
3139
3114
  "pluginName": "@salesforce/plugin-signups",
3140
3115
  "pluginType": "jit",
3141
3116
  "strict": true,
3142
- "summary": "Delete a scratch org snapshot.",
3117
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
3143
3118
  "enableJsonFlag": true,
3144
3119
  "isESM": true,
3145
3120
  "relativePath": [
3146
3121
  "lib",
3147
3122
  "commands",
3148
3123
  "org",
3149
- "delete",
3150
- "snapshot.js"
3124
+ "create",
3125
+ "shape.js"
3151
3126
  ],
3152
3127
  "aliasPermutations": [
3153
- "force:org:snapshot:delete",
3154
- "org:force:snapshot:delete",
3155
- "org:snapshot:force:delete",
3156
- "org:snapshot:delete:force",
3157
- "force:snapshot:org:delete",
3158
- "snapshot:force:org:delete",
3159
- "snapshot:org:force:delete",
3160
- "snapshot:org:delete:force",
3161
- "force:snapshot:delete:org",
3162
- "snapshot:force:delete:org",
3163
- "snapshot:delete:force:org",
3164
- "snapshot:delete:org:force",
3165
- "force:org:delete:snapshot",
3166
- "org:force:delete:snapshot",
3167
- "org:delete:force:snapshot",
3168
- "org:delete:snapshot:force",
3169
- "force:delete:org:snapshot",
3170
- "delete:force:org:snapshot",
3171
- "delete:org:force:snapshot",
3172
- "delete:org:snapshot:force",
3173
- "force:delete:snapshot:org",
3174
- "delete:force:snapshot:org",
3175
- "delete:snapshot:force:org",
3176
- "delete:snapshot:org:force"
3128
+ "force:org:shape:create",
3129
+ "org:force:shape:create",
3130
+ "org:shape:force:create",
3131
+ "org:shape:create:force",
3132
+ "force:shape:org:create",
3133
+ "shape:force:org:create",
3134
+ "shape:org:force:create",
3135
+ "shape:org:create:force",
3136
+ "force:shape:create:org",
3137
+ "shape:force:create:org",
3138
+ "shape:create:force:org",
3139
+ "shape:create:org:force",
3140
+ "force:org:create:shape",
3141
+ "org:force:create:shape",
3142
+ "org:create:force:shape",
3143
+ "org:create:shape:force",
3144
+ "force:create:org:shape",
3145
+ "create:force:org:shape",
3146
+ "create:org:force:shape",
3147
+ "create:org:shape:force",
3148
+ "force:create:shape:org",
3149
+ "create:force:shape:org",
3150
+ "create:shape:force:org",
3151
+ "create:shape:org:force"
3177
3152
  ],
3178
3153
  "permutations": [
3179
- "org:delete:snapshot",
3180
- "delete:org:snapshot",
3181
- "delete:snapshot:org",
3182
- "org:snapshot:delete",
3183
- "snapshot:org:delete",
3184
- "snapshot:delete:org"
3154
+ "org:create:shape",
3155
+ "create:org:shape",
3156
+ "create:shape:org",
3157
+ "org:shape:create",
3158
+ "shape:org:create",
3159
+ "shape:create:org"
3185
3160
  ]
3186
3161
  },
3187
- "org:get:snapshot": {
3162
+ "org:create:snapshot": {
3188
3163
  "aliases": [
3189
- "force:org:snapshot:get"
3164
+ "force:org:snapshot:create"
3190
3165
  ],
3191
3166
  "args": {},
3192
3167
  "deprecateAliases": true,
3193
- "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\".",
3168
+ "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.",
3194
3169
  "examples": [
3195
- "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
3196
- "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"
3170
+ "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'",
3171
+ "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"
3197
3172
  ],
3198
3173
  "flags": {
3199
3174
  "json": {
@@ -3246,12 +3221,37 @@
3246
3221
  "multiple": false,
3247
3222
  "type": "option"
3248
3223
  },
3249
- "snapshot": {
3250
- "char": "s",
3251
- "description": "The IDs of scratch org snapshots start with 0Oo.",
3252
- "name": "snapshot",
3224
+ "source-org": {
3225
+ "aliases": [
3226
+ "sourceorg"
3227
+ ],
3228
+ "char": "o",
3229
+ "deprecateAliases": true,
3230
+ "name": "source-org",
3253
3231
  "required": true,
3254
- "summary": "Name or ID of snapshot to retrieve.",
3232
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
3233
+ "hasDynamicHelp": false,
3234
+ "multiple": false,
3235
+ "type": "option"
3236
+ },
3237
+ "name": {
3238
+ "aliases": [
3239
+ "snapshotname"
3240
+ ],
3241
+ "char": "n",
3242
+ "deprecateAliases": true,
3243
+ "name": "name",
3244
+ "required": true,
3245
+ "summary": "Unique name of snapshot.",
3246
+ "hasDynamicHelp": false,
3247
+ "multiple": false,
3248
+ "type": "option"
3249
+ },
3250
+ "description": {
3251
+ "char": "d",
3252
+ "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.",
3253
+ "name": "description",
3254
+ "summary": "Description of snapshot.",
3255
3255
  "hasDynamicHelp": false,
3256
3256
  "multiple": false,
3257
3257
  "type": "option"
@@ -3259,54 +3259,54 @@
3259
3259
  },
3260
3260
  "hasDynamicHelp": true,
3261
3261
  "hiddenAliases": [],
3262
- "id": "org:get:snapshot",
3262
+ "id": "org:create:snapshot",
3263
3263
  "pluginAlias": "@salesforce/plugin-signups",
3264
3264
  "pluginName": "@salesforce/plugin-signups",
3265
3265
  "pluginType": "jit",
3266
3266
  "strict": true,
3267
- "summary": "Get details about a scratch org snapshot.",
3267
+ "summary": "Create a snapshot of a scratch org.",
3268
3268
  "enableJsonFlag": true,
3269
3269
  "isESM": true,
3270
3270
  "relativePath": [
3271
3271
  "lib",
3272
3272
  "commands",
3273
3273
  "org",
3274
- "get",
3274
+ "create",
3275
3275
  "snapshot.js"
3276
3276
  ],
3277
3277
  "aliasPermutations": [
3278
- "force:org:snapshot:get",
3279
- "org:force:snapshot:get",
3280
- "org:snapshot:force:get",
3281
- "org:snapshot:get:force",
3282
- "force:snapshot:org:get",
3283
- "snapshot:force:org:get",
3284
- "snapshot:org:force:get",
3285
- "snapshot:org:get:force",
3286
- "force:snapshot:get:org",
3287
- "snapshot:force:get:org",
3288
- "snapshot:get:force:org",
3289
- "snapshot:get:org:force",
3290
- "force:org:get:snapshot",
3291
- "org:force:get:snapshot",
3292
- "org:get:force:snapshot",
3293
- "org:get:snapshot:force",
3294
- "force:get:org:snapshot",
3295
- "get:force:org:snapshot",
3296
- "get:org:force:snapshot",
3297
- "get:org:snapshot:force",
3298
- "force:get:snapshot:org",
3299
- "get:force:snapshot:org",
3300
- "get:snapshot:force:org",
3301
- "get:snapshot:org:force"
3278
+ "force:org:snapshot:create",
3279
+ "org:force:snapshot:create",
3280
+ "org:snapshot:force:create",
3281
+ "org:snapshot:create:force",
3282
+ "force:snapshot:org:create",
3283
+ "snapshot:force:org:create",
3284
+ "snapshot:org:force:create",
3285
+ "snapshot:org:create:force",
3286
+ "force:snapshot:create:org",
3287
+ "snapshot:force:create:org",
3288
+ "snapshot:create:force:org",
3289
+ "snapshot:create:org:force",
3290
+ "force:org:create:snapshot",
3291
+ "org:force:create:snapshot",
3292
+ "org:create:force:snapshot",
3293
+ "org:create:snapshot:force",
3294
+ "force:create:org:snapshot",
3295
+ "create:force:org:snapshot",
3296
+ "create:org:force:snapshot",
3297
+ "create:org:snapshot:force",
3298
+ "force:create:snapshot:org",
3299
+ "create:force:snapshot:org",
3300
+ "create:snapshot:force:org",
3301
+ "create:snapshot:org:force"
3302
3302
  ],
3303
3303
  "permutations": [
3304
- "org:get:snapshot",
3305
- "get:org:snapshot",
3306
- "get:snapshot:org",
3307
- "org:snapshot:get",
3308
- "snapshot:org:get",
3309
- "snapshot:get:org"
3304
+ "org:create:snapshot",
3305
+ "create:org:snapshot",
3306
+ "create:snapshot:org",
3307
+ "org:snapshot:create",
3308
+ "snapshot:org:create",
3309
+ "snapshot:create:org"
3310
3310
  ]
3311
3311
  },
3312
3312
  "org:list:shape": {
@@ -4403,5 +4403,5 @@
4403
4403
  ]
4404
4404
  }
4405
4405
  },
4406
- "version": "2.80.8"
4406
+ "version": "2.80.10"
4407
4407
  }