@salesforce/plugin-signups 2.1.0 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -123,7 +123,7 @@ EXAMPLES
123
123
  $ sf org create shape --target-org SourceOrg
124
124
  ```
125
125
 
126
- _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.0/src/commands/org/create/shape.ts)_
126
+ _See code: [src/commands/org/create/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/create/shape.ts)_
127
127
 
128
128
  ## `sf org create snapshot`
129
129
 
@@ -179,7 +179,7 @@ FLAG DESCRIPTIONS
179
179
  as a version control system tag or commit ID.
180
180
  ```
181
181
 
182
- _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.0/src/commands/org/create/snapshot.ts)_
182
+ _See code: [src/commands/org/create/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/create/snapshot.ts)_
183
183
 
184
184
  ## `sf org delete shape`
185
185
 
@@ -219,7 +219,7 @@ EXAMPLES
219
219
  $ sf org delete shape --target-org SourceOrg --no-prompt
220
220
  ```
221
221
 
222
- _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.0/src/commands/org/delete/shape.ts)_
222
+ _See code: [src/commands/org/delete/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/delete/shape.ts)_
223
223
 
224
224
  ## `sf org delete snapshot`
225
225
 
@@ -263,7 +263,7 @@ FLAG DESCRIPTIONS
263
263
  The IDs of scratch org snapshots start with 0Oo.
264
264
  ```
265
265
 
266
- _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.0/src/commands/org/delete/snapshot.ts)_
266
+ _See code: [src/commands/org/delete/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/delete/snapshot.ts)_
267
267
 
268
268
  ## `sf org get snapshot`
269
269
 
@@ -310,7 +310,7 @@ FLAG DESCRIPTIONS
310
310
  The IDs of scratch org snapshots start with 0Oo.
311
311
  ```
312
312
 
313
- _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.0/src/commands/org/get/snapshot.ts)_
313
+ _See code: [src/commands/org/get/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/get/snapshot.ts)_
314
314
 
315
315
  ## `sf org list shape`
316
316
 
@@ -343,7 +343,7 @@ EXAMPLES
343
343
  $ sf org list shape --json > tmp/MyOrgShapeList.json
344
344
  ```
345
345
 
346
- _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.0/src/commands/org/list/shape.ts)_
346
+ _See code: [src/commands/org/list/shape.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/list/shape.ts)_
347
347
 
348
348
  ## `sf org list snapshot`
349
349
 
@@ -385,6 +385,6 @@ EXAMPLES
385
385
  $ sf org list snapshot --target-dev-hub SnapshotDevHub
386
386
  ```
387
387
 
388
- _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.0/src/commands/org/list/snapshot.ts)_
388
+ _See code: [src/commands/org/list/snapshot.ts](https://github.com/salesforcecli/plugin-signups/blob/2.1.2/src/commands/org/list/snapshot.ts)_
389
389
 
390
390
  <!-- commandsstop -->
@@ -6,9 +6,10 @@
6
6
  */
7
7
  import { Flags, SfCommand, loglevel, orgApiVersionFlagWithDeprecations, requiredHubFlagWithDeprecations, } from '@salesforce/sf-plugins-core';
8
8
  import { StateAggregator, Messages, SfError } from '@salesforce/core';
9
- import { queryByNameOrId, printSingleRecordTable } from '../../../shared/snapshot.js';
9
+ import { queryByNameOrId, printSingleRecordTable, invalidTypeErrorHandler, } from '../../../shared/snapshot.js';
10
10
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
11
11
  const messages = Messages.loadMessages('@salesforce/plugin-signups', 'snapshot.create');
12
+ const snapshotMessages = Messages.loadMessages('@salesforce/plugin-signups', 'snapshot');
12
13
  export class SnapshotCreate extends SfCommand {
13
14
  static summary = messages.getMessage('summary');
14
15
  static description = messages.getMessage('description');
@@ -46,11 +47,23 @@ export class SnapshotCreate extends SfCommand {
46
47
  async run() {
47
48
  const { flags } = await this.parse(SnapshotCreate);
48
49
  const conn = flags['target-dev-hub'].getConnection(flags['api-version']);
49
- const createResponse = await conn.sobject('OrgSnapshot').create({
50
+ const createResponse = await conn
51
+ .sobject('OrgSnapshot')
52
+ .create({
50
53
  SourceOrg: flags['source-org'],
51
54
  Description: flags.description,
52
55
  SnapshotName: flags.name,
53
56
  Content: 'metadatadata',
57
+ })
58
+ .catch((error) => {
59
+ // dev hub does not have snapshot pref enabled
60
+ if (error.name === 'NOT_FOUND') {
61
+ error.message = snapshotMessages.getMessage('snapshotNotEnabled');
62
+ return invalidTypeErrorHandler(error);
63
+ }
64
+ else {
65
+ throw error;
66
+ }
54
67
  });
55
68
  if (createResponse.success === false) {
56
69
  throw new SfError('An error while created the org snapshot');
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../../../src/commands/org/create/snapshot.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,KAAK,EACL,SAAS,EACT,QAAQ,EACR,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAe,eAAe,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAEnG,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,4BAA4B,EAAE,iBAAiB,CAAC,CAAC;AAExF,MAAM,OAAO,cAAe,SAAQ,SAAsB;IACj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ce/core';
1
+ import { Connection, Messages } from '@salesforce/core';
2
+ export declare const messages: Messages<string>;
2
3
  export interface OrgSnapshotRequest {
3
4
  SourceOrg: string;
4
5
  SnapshotName: string;
@@ -14,6 +15,7 @@ export type OrgSnapshot = OrgSnapshotRequest & {
14
15
  Error?: string;
15
16
  };
16
17
  export declare const ORG_SNAPSHOT_FIELDS: string[];
18
+ export declare const invalidTypeErrorHandler: (e: unknown) => never;
17
19
  export declare const queryAll: (conn: Connection) => Promise<OrgSnapshot[]>;
18
20
  export declare const queryByNameOrId: (conn: Connection, nameOrId: string) => Promise<OrgSnapshot>;
19
21
  export declare const printSingleRecordTable: (snapshotRecord: OrgSnapshot) => void;
@@ -8,7 +8,7 @@ import { ux } from '@oclif/core';
8
8
  import { SfError, Messages } from '@salesforce/core';
9
9
  import { capitalCase } from 'change-case';
10
10
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
11
- const messages = Messages.loadMessages('@salesforce/plugin-signups', 'snapshot');
11
+ export const messages = Messages.loadMessages('@salesforce/plugin-signups', 'snapshot');
12
12
  export const ORG_SNAPSHOT_FIELDS = [
13
13
  'Id',
14
14
  'SnapshotName',
@@ -48,7 +48,7 @@ const ORG_SNAPSHOT_COLUMNS = {
48
48
  get: (row) => (row.ExpirationDate ? new Date(row.ExpirationDate).toLocaleDateString() : ''),
49
49
  },
50
50
  };
51
- const invalidTypeErrorHandler = (e) => {
51
+ export const invalidTypeErrorHandler = (e) => {
52
52
  if (e instanceof Error && e.name === 'INVALID_TYPE') {
53
53
  e.message = messages.getMessage('snapshotNotEnabled');
54
54
  }
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../src/shared/snapshot.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAc,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,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CAAC,KAAK;IACN,+DAA+D;IAC/D,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACxB,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CACzG,EACD,oBAAoB,EACpB,EAAE,KAAK,EAAE,kBAAkB,eAAe,CAAC,MAAM,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,CAC5E,CAAC;AACJ,CAAC,CAAC"}
@@ -4,4 +4,4 @@ No snapshot found with the given name or id: %s
4
4
 
5
5
  # snapshotNotEnabled
6
6
 
7
- Org snapshots aren’t enabled for your Dev Hub.
7
+ Scratch Org Snapshots isn't enabled for your Dev Hub.
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/plugin-signups",
9
- "version": "2.1.0",
9
+ "version": "2.1.2",
10
10
  "license": "BSD-3-Clause",
11
11
  "dependencies": {
12
- "@oclif/core": "^3.20.0",
12
+ "@oclif/core": "^3.26.0",
13
13
  "@salesforce/core": "^6.7.1",
14
14
  "@salesforce/kit": "^3.0.15",
15
15
  "@salesforce/sf-plugins-core": "^8.0.1",
@@ -2734,6 +2734,26 @@
2734
2734
  "url": "https://opencollective.com/eslint"
2735
2735
  }
2736
2736
  },
2737
+ "node_modules/@eslint/eslintrc/node_modules/argparse": {
2738
+ "version": "2.0.1",
2739
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
2740
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
2741
+ "dev": true,
2742
+ "license": "Python-2.0"
2743
+ },
2744
+ "node_modules/@eslint/eslintrc/node_modules/js-yaml": {
2745
+ "version": "4.1.0",
2746
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
2747
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
2748
+ "dev": true,
2749
+ "license": "MIT",
2750
+ "dependencies": {
2751
+ "argparse": "^2.0.1"
2752
+ },
2753
+ "bin": {
2754
+ "js-yaml": "bin/js-yaml.js"
2755
+ }
2756
+ },
2737
2757
  "node_modules/@eslint/js": {
2738
2758
  "version": "8.57.0",
2739
2759
  "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
@@ -3078,30 +3098,6 @@
3078
3098
  "node": ">=8"
3079
3099
  }
3080
3100
  },
3081
- "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": {
3082
- "version": "1.0.10",
3083
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
3084
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
3085
- "dev": true,
3086
- "license": "MIT",
3087
- "dependencies": {
3088
- "sprintf-js": "~1.0.2"
3089
- }
3090
- },
3091
- "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": {
3092
- "version": "3.14.1",
3093
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
3094
- "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
3095
- "dev": true,
3096
- "license": "MIT",
3097
- "dependencies": {
3098
- "argparse": "^1.0.7",
3099
- "esprima": "^4.0.0"
3100
- },
3101
- "bin": {
3102
- "js-yaml": "bin/js-yaml.js"
3103
- }
3104
- },
3105
3101
  "node_modules/@istanbuljs/schema": {
3106
3102
  "version": "0.1.3",
3107
3103
  "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
@@ -3418,9 +3414,9 @@
3418
3414
  }
3419
3415
  },
3420
3416
  "node_modules/@oclif/core": {
3421
- "version": "3.25.2",
3422
- "resolved": "https://registry.npmjs.org/@oclif/core/-/core-3.25.2.tgz",
3423
- "integrity": "sha512-OkW/cNa/3DhoCz2YlSpymVe8DXqkoRaLY4SPTVqNVzR4R1dFBE5KoCtuwKwnhxYLCRCqaViPgRnB5K26f0MnjA==",
3417
+ "version": "3.26.0",
3418
+ "resolved": "https://registry.npmjs.org/@oclif/core/-/core-3.26.0.tgz",
3419
+ "integrity": "sha512-TpMdfD4tfA2tVVbd4l0PrP02o5KoUXYmudBbTC7CeguDo/GLoprw4uL8cMsaVA26+cbcy7WYtOEydQiHVtJixA==",
3424
3420
  "license": "MIT",
3425
3421
  "dependencies": {
3426
3422
  "@types/cli-progress": "^3.11.5",
@@ -3456,15 +3452,6 @@
3456
3452
  "node": ">=18.0.0"
3457
3453
  }
3458
3454
  },
3459
- "node_modules/@oclif/core/node_modules/argparse": {
3460
- "version": "1.0.10",
3461
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
3462
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
3463
- "license": "MIT",
3464
- "dependencies": {
3465
- "sprintf-js": "~1.0.2"
3466
- }
3467
- },
3468
3455
  "node_modules/@oclif/core/node_modules/chalk": {
3469
3456
  "version": "4.1.2",
3470
3457
  "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
@@ -3493,19 +3480,6 @@
3493
3480
  "node": ">=8"
3494
3481
  }
3495
3482
  },
3496
- "node_modules/@oclif/core/node_modules/js-yaml": {
3497
- "version": "3.14.1",
3498
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
3499
- "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
3500
- "license": "MIT",
3501
- "dependencies": {
3502
- "argparse": "^1.0.7",
3503
- "esprima": "^4.0.0"
3504
- },
3505
- "bin": {
3506
- "js-yaml": "bin/js-yaml.js"
3507
- }
3508
- },
3509
3483
  "node_modules/@oclif/core/node_modules/minimatch": {
3510
3484
  "version": "9.0.3",
3511
3485
  "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
@@ -3558,6 +3532,107 @@
3558
3532
  "node": ">=18.0.0"
3559
3533
  }
3560
3534
  },
3535
+ "node_modules/@oclif/plugin-command-snapshot/node_modules/@oclif/core": {
3536
+ "version": "3.25.2",
3537
+ "resolved": "https://registry.npmjs.org/@oclif/core/-/core-3.25.2.tgz",
3538
+ "integrity": "sha512-OkW/cNa/3DhoCz2YlSpymVe8DXqkoRaLY4SPTVqNVzR4R1dFBE5KoCtuwKwnhxYLCRCqaViPgRnB5K26f0MnjA==",
3539
+ "dev": true,
3540
+ "license": "MIT",
3541
+ "dependencies": {
3542
+ "@types/cli-progress": "^3.11.5",
3543
+ "ansi-escapes": "^4.3.2",
3544
+ "ansi-styles": "^4.3.0",
3545
+ "cardinal": "^2.1.1",
3546
+ "chalk": "^4.1.2",
3547
+ "clean-stack": "^3.0.1",
3548
+ "cli-progress": "^3.12.0",
3549
+ "color": "^4.2.3",
3550
+ "debug": "^4.3.4",
3551
+ "ejs": "^3.1.9",
3552
+ "get-package-type": "^0.1.0",
3553
+ "globby": "^11.1.0",
3554
+ "hyperlinker": "^1.0.0",
3555
+ "indent-string": "^4.0.0",
3556
+ "is-wsl": "^2.2.0",
3557
+ "js-yaml": "^3.14.1",
3558
+ "minimatch": "^9.0.3",
3559
+ "natural-orderby": "^2.0.3",
3560
+ "object-treeify": "^1.1.33",
3561
+ "password-prompt": "^1.1.3",
3562
+ "slice-ansi": "^4.0.0",
3563
+ "string-width": "^4.2.3",
3564
+ "strip-ansi": "^6.0.1",
3565
+ "supports-color": "^8.1.1",
3566
+ "supports-hyperlinks": "^2.2.0",
3567
+ "widest-line": "^3.1.0",
3568
+ "wordwrap": "^1.0.0",
3569
+ "wrap-ansi": "^7.0.0"
3570
+ },
3571
+ "engines": {
3572
+ "node": ">=18.0.0"
3573
+ }
3574
+ },
3575
+ "node_modules/@oclif/plugin-command-snapshot/node_modules/@oclif/core/node_modules/chalk": {
3576
+ "version": "4.1.2",
3577
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
3578
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
3579
+ "dev": true,
3580
+ "license": "MIT",
3581
+ "dependencies": {
3582
+ "ansi-styles": "^4.1.0",
3583
+ "supports-color": "^7.1.0"
3584
+ },
3585
+ "engines": {
3586
+ "node": ">=10"
3587
+ },
3588
+ "funding": {
3589
+ "url": "https://github.com/chalk/chalk?sponsor=1"
3590
+ }
3591
+ },
3592
+ "node_modules/@oclif/plugin-command-snapshot/node_modules/@oclif/core/node_modules/chalk/node_modules/supports-color": {
3593
+ "version": "7.2.0",
3594
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
3595
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
3596
+ "dev": true,
3597
+ "license": "MIT",
3598
+ "dependencies": {
3599
+ "has-flag": "^4.0.0"
3600
+ },
3601
+ "engines": {
3602
+ "node": ">=8"
3603
+ }
3604
+ },
3605
+ "node_modules/@oclif/plugin-command-snapshot/node_modules/@oclif/core/node_modules/globby": {
3606
+ "version": "11.1.0",
3607
+ "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
3608
+ "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
3609
+ "dev": true,
3610
+ "license": "MIT",
3611
+ "dependencies": {
3612
+ "array-union": "^2.1.0",
3613
+ "dir-glob": "^3.0.1",
3614
+ "fast-glob": "^3.2.9",
3615
+ "ignore": "^5.2.0",
3616
+ "merge2": "^1.4.1",
3617
+ "slash": "^3.0.0"
3618
+ },
3619
+ "engines": {
3620
+ "node": ">=10"
3621
+ },
3622
+ "funding": {
3623
+ "url": "https://github.com/sponsors/sindresorhus"
3624
+ }
3625
+ },
3626
+ "node_modules/@oclif/plugin-command-snapshot/node_modules/@oclif/core/node_modules/slash": {
3627
+ "version": "3.0.0",
3628
+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
3629
+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
3630
+ "dev": true,
3631
+ "license": "MIT",
3632
+ "engines": {
3633
+ "node": ">=8"
3634
+ }
3635
+ },
3561
3636
  "node_modules/@oclif/plugin-command-snapshot/node_modules/globby": {
3562
3637
  "version": "14.0.1",
3563
3638
  "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.1.tgz",
@@ -3579,6 +3654,22 @@
3579
3654
  "url": "https://github.com/sponsors/sindresorhus"
3580
3655
  }
3581
3656
  },
3657
+ "node_modules/@oclif/plugin-command-snapshot/node_modules/minimatch": {
3658
+ "version": "9.0.3",
3659
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
3660
+ "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
3661
+ "dev": true,
3662
+ "license": "ISC",
3663
+ "dependencies": {
3664
+ "brace-expansion": "^2.0.1"
3665
+ },
3666
+ "engines": {
3667
+ "node": ">=16 || 14 >=14.17"
3668
+ },
3669
+ "funding": {
3670
+ "url": "https://github.com/sponsors/isaacs"
3671
+ }
3672
+ },
3582
3673
  "node_modules/@oclif/plugin-command-snapshot/node_modules/path-type": {
3583
3674
  "version": "5.0.0",
3584
3675
  "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz",
@@ -3605,6 +3696,22 @@
3605
3696
  "url": "https://github.com/sponsors/sindresorhus"
3606
3697
  }
3607
3698
  },
3699
+ "node_modules/@oclif/plugin-command-snapshot/node_modules/supports-color": {
3700
+ "version": "8.1.1",
3701
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
3702
+ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
3703
+ "dev": true,
3704
+ "license": "MIT",
3705
+ "dependencies": {
3706
+ "has-flag": "^4.0.0"
3707
+ },
3708
+ "engines": {
3709
+ "node": ">=10"
3710
+ },
3711
+ "funding": {
3712
+ "url": "https://github.com/chalk/supports-color?sponsor=1"
3713
+ }
3714
+ },
3608
3715
  "node_modules/@oclif/plugin-help": {
3609
3716
  "version": "6.0.18",
3610
3717
  "resolved": "https://registry.npmjs.org/@oclif/plugin-help/-/plugin-help-6.0.18.tgz",
@@ -5765,11 +5872,13 @@
5765
5872
  "license": "MIT"
5766
5873
  },
5767
5874
  "node_modules/argparse": {
5768
- "version": "2.0.1",
5769
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
5770
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
5771
- "dev": true,
5772
- "license": "Python-2.0"
5875
+ "version": "1.0.10",
5876
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
5877
+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
5878
+ "license": "MIT",
5879
+ "dependencies": {
5880
+ "sprintf-js": "~1.0.2"
5881
+ }
5773
5882
  },
5774
5883
  "node_modules/array-buffer-byte-length": {
5775
5884
  "version": "1.0.0",
@@ -7093,6 +7202,26 @@
7093
7202
  "node": ">=14"
7094
7203
  }
7095
7204
  },
7205
+ "node_modules/cosmiconfig/node_modules/argparse": {
7206
+ "version": "2.0.1",
7207
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
7208
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
7209
+ "dev": true,
7210
+ "license": "Python-2.0"
7211
+ },
7212
+ "node_modules/cosmiconfig/node_modules/js-yaml": {
7213
+ "version": "4.1.0",
7214
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
7215
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
7216
+ "dev": true,
7217
+ "license": "MIT",
7218
+ "dependencies": {
7219
+ "argparse": "^2.0.1"
7220
+ },
7221
+ "bin": {
7222
+ "js-yaml": "bin/js-yaml.js"
7223
+ }
7224
+ },
7096
7225
  "node_modules/create-require": {
7097
7226
  "version": "1.1.1",
7098
7227
  "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz",
@@ -8110,6 +8239,13 @@
8110
8239
  "url": "https://opencollective.com/eslint"
8111
8240
  }
8112
8241
  },
8242
+ "node_modules/eslint/node_modules/argparse": {
8243
+ "version": "2.0.1",
8244
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
8245
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
8246
+ "dev": true,
8247
+ "license": "Python-2.0"
8248
+ },
8113
8249
  "node_modules/eslint/node_modules/chalk": {
8114
8250
  "version": "4.1.2",
8115
8251
  "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
@@ -8170,6 +8306,19 @@
8170
8306
  "node": ">=10.13.0"
8171
8307
  }
8172
8308
  },
8309
+ "node_modules/eslint/node_modules/js-yaml": {
8310
+ "version": "4.1.0",
8311
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
8312
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
8313
+ "dev": true,
8314
+ "license": "MIT",
8315
+ "dependencies": {
8316
+ "argparse": "^2.0.1"
8317
+ },
8318
+ "bin": {
8319
+ "js-yaml": "bin/js-yaml.js"
8320
+ }
8321
+ },
8173
8322
  "node_modules/eslint/node_modules/locate-path": {
8174
8323
  "version": "6.0.0",
8175
8324
  "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
@@ -10479,13 +10628,13 @@
10479
10628
  "license": "MIT"
10480
10629
  },
10481
10630
  "node_modules/js-yaml": {
10482
- "version": "4.1.0",
10483
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
10484
- "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
10485
- "dev": true,
10631
+ "version": "3.14.1",
10632
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
10633
+ "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
10486
10634
  "license": "MIT",
10487
10635
  "dependencies": {
10488
- "argparse": "^2.0.1"
10636
+ "argparse": "^1.0.7",
10637
+ "esprima": "^4.0.0"
10489
10638
  },
10490
10639
  "bin": {
10491
10640
  "js-yaml": "bin/js-yaml.js"
@@ -11018,30 +11167,6 @@
11018
11167
  "node": ">=6"
11019
11168
  }
11020
11169
  },
11021
- "node_modules/load-yaml-file/node_modules/argparse": {
11022
- "version": "1.0.10",
11023
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
11024
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
11025
- "dev": true,
11026
- "license": "MIT",
11027
- "dependencies": {
11028
- "sprintf-js": "~1.0.2"
11029
- }
11030
- },
11031
- "node_modules/load-yaml-file/node_modules/js-yaml": {
11032
- "version": "3.14.1",
11033
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
11034
- "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
11035
- "dev": true,
11036
- "license": "MIT",
11037
- "dependencies": {
11038
- "argparse": "^1.0.7",
11039
- "esprima": "^4.0.0"
11040
- },
11041
- "bin": {
11042
- "js-yaml": "bin/js-yaml.js"
11043
- }
11044
- },
11045
11170
  "node_modules/load-yaml-file/node_modules/pify": {
11046
11171
  "version": "4.0.1",
11047
11172
  "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
@@ -12005,6 +12130,13 @@
12005
12130
  "url": "https://opencollective.com/mochajs"
12006
12131
  }
12007
12132
  },
12133
+ "node_modules/mocha/node_modules/argparse": {
12134
+ "version": "2.0.1",
12135
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
12136
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
12137
+ "dev": true,
12138
+ "license": "Python-2.0"
12139
+ },
12008
12140
  "node_modules/mocha/node_modules/diff": {
12009
12141
  "version": "5.0.0",
12010
12142
  "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz",
@@ -12077,6 +12209,19 @@
12077
12209
  "node": "*"
12078
12210
  }
12079
12211
  },
12212
+ "node_modules/mocha/node_modules/js-yaml": {
12213
+ "version": "4.1.0",
12214
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
12215
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
12216
+ "dev": true,
12217
+ "license": "MIT",
12218
+ "dependencies": {
12219
+ "argparse": "^2.0.1"
12220
+ },
12221
+ "bin": {
12222
+ "js-yaml": "bin/js-yaml.js"
12223
+ }
12224
+ },
12080
12225
  "node_modules/mocha/node_modules/locate-path": {
12081
12226
  "version": "6.0.0",
12082
12227
  "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
package/oclif.lock CHANGED
@@ -1743,7 +1743,7 @@
1743
1743
  node-gyp "^8.2.0"
1744
1744
  read-package-json-fast "^2.0.1"
1745
1745
 
1746
- "@oclif/core@3.25.2", "@oclif/core@^3.15.1", "@oclif/core@^3.19.2", "@oclif/core@^3.20.0", "@oclif/core@^3.21.0", "@oclif/core@^3.23.0":
1746
+ "@oclif/core@3.25.2":
1747
1747
  version "3.25.2"
1748
1748
  resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.25.2.tgz#a26d56abe5686c57c1e973957777bd2ae324e973"
1749
1749
  integrity sha512-OkW/cNa/3DhoCz2YlSpymVe8DXqkoRaLY4SPTVqNVzR4R1dFBE5KoCtuwKwnhxYLCRCqaViPgRnB5K26f0MnjA==
@@ -1777,6 +1777,40 @@
1777
1777
  wordwrap "^1.0.0"
1778
1778
  wrap-ansi "^7.0.0"
1779
1779
 
1780
+ "@oclif/core@^3.15.1", "@oclif/core@^3.19.2", "@oclif/core@^3.20.0", "@oclif/core@^3.21.0", "@oclif/core@^3.23.0", "@oclif/core@^3.26.0":
1781
+ version "3.26.0"
1782
+ resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.26.0.tgz#959d5e9f13f4ad6a4e98235ad125189df9ee4279"
1783
+ integrity sha512-TpMdfD4tfA2tVVbd4l0PrP02o5KoUXYmudBbTC7CeguDo/GLoprw4uL8cMsaVA26+cbcy7WYtOEydQiHVtJixA==
1784
+ dependencies:
1785
+ "@types/cli-progress" "^3.11.5"
1786
+ ansi-escapes "^4.3.2"
1787
+ ansi-styles "^4.3.0"
1788
+ cardinal "^2.1.1"
1789
+ chalk "^4.1.2"
1790
+ clean-stack "^3.0.1"
1791
+ cli-progress "^3.12.0"
1792
+ color "^4.2.3"
1793
+ debug "^4.3.4"
1794
+ ejs "^3.1.9"
1795
+ get-package-type "^0.1.0"
1796
+ globby "^11.1.0"
1797
+ hyperlinker "^1.0.0"
1798
+ indent-string "^4.0.0"
1799
+ is-wsl "^2.2.0"
1800
+ js-yaml "^3.14.1"
1801
+ minimatch "^9.0.3"
1802
+ natural-orderby "^2.0.3"
1803
+ object-treeify "^1.1.33"
1804
+ password-prompt "^1.1.3"
1805
+ slice-ansi "^4.0.0"
1806
+ string-width "^4.2.3"
1807
+ strip-ansi "^6.0.1"
1808
+ supports-color "^8.1.1"
1809
+ supports-hyperlinks "^2.2.0"
1810
+ widest-line "^3.1.0"
1811
+ wordwrap "^1.0.0"
1812
+ wrap-ansi "^7.0.0"
1813
+
1780
1814
  "@oclif/plugin-command-snapshot@^5.1.2":
1781
1815
  version "5.1.2"
1782
1816
  resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-5.1.2.tgz#acba4a0138823931468d91be8d2a990da8a82623"
@@ -266,6 +266,132 @@
266
266
  "snapshot:create:org"
267
267
  ]
268
268
  },
269
+ "org:get:snapshot": {
270
+ "aliases": [
271
+ "force:org:snapshot:get"
272
+ ],
273
+ "args": {},
274
+ "deprecateAliases": true,
275
+ "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\".",
276
+ "examples": [
277
+ "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
278
+ "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"
279
+ ],
280
+ "flags": {
281
+ "json": {
282
+ "description": "Format output as json.",
283
+ "helpGroup": "GLOBAL",
284
+ "name": "json",
285
+ "allowNo": false,
286
+ "type": "boolean"
287
+ },
288
+ "flags-dir": {
289
+ "helpGroup": "GLOBAL",
290
+ "name": "flags-dir",
291
+ "summary": "Import flag values from a directory.",
292
+ "hasDynamicHelp": false,
293
+ "multiple": false,
294
+ "type": "option"
295
+ },
296
+ "target-dev-hub": {
297
+ "aliases": [
298
+ "targetdevhubusername"
299
+ ],
300
+ "char": "v",
301
+ "deprecateAliases": true,
302
+ "name": "target-dev-hub",
303
+ "noCacheDefault": true,
304
+ "required": true,
305
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
306
+ "hasDynamicHelp": true,
307
+ "multiple": false,
308
+ "type": "option"
309
+ },
310
+ "api-version": {
311
+ "aliases": [
312
+ "apiversion"
313
+ ],
314
+ "deprecateAliases": true,
315
+ "description": "Override the api version used for api requests made by this command",
316
+ "name": "api-version",
317
+ "hasDynamicHelp": false,
318
+ "multiple": false,
319
+ "type": "option"
320
+ },
321
+ "loglevel": {
322
+ "deprecated": {
323
+ "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 `SFDX_LOG_LEVEL` environment variable."
324
+ },
325
+ "hidden": true,
326
+ "name": "loglevel",
327
+ "hasDynamicHelp": false,
328
+ "multiple": false,
329
+ "type": "option"
330
+ },
331
+ "snapshot": {
332
+ "char": "s",
333
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
334
+ "name": "snapshot",
335
+ "required": true,
336
+ "summary": "Name or ID of snapshot to retrieve.",
337
+ "hasDynamicHelp": false,
338
+ "multiple": false,
339
+ "type": "option"
340
+ }
341
+ },
342
+ "hasDynamicHelp": true,
343
+ "hiddenAliases": [],
344
+ "id": "org:get:snapshot",
345
+ "pluginAlias": "@salesforce/plugin-signups",
346
+ "pluginName": "@salesforce/plugin-signups",
347
+ "pluginType": "core",
348
+ "state": "beta",
349
+ "strict": true,
350
+ "summary": "Get details about a scratch org snapshot.",
351
+ "enableJsonFlag": true,
352
+ "isESM": true,
353
+ "relativePath": [
354
+ "lib",
355
+ "commands",
356
+ "org",
357
+ "get",
358
+ "snapshot.js"
359
+ ],
360
+ "aliasPermutations": [
361
+ "force:org:snapshot:get",
362
+ "org:force:snapshot:get",
363
+ "org:snapshot:force:get",
364
+ "org:snapshot:get:force",
365
+ "force:snapshot:org:get",
366
+ "snapshot:force:org:get",
367
+ "snapshot:org:force:get",
368
+ "snapshot:org:get:force",
369
+ "force:snapshot:get:org",
370
+ "snapshot:force:get:org",
371
+ "snapshot:get:force:org",
372
+ "snapshot:get:org:force",
373
+ "force:org:get:snapshot",
374
+ "org:force:get:snapshot",
375
+ "org:get:force:snapshot",
376
+ "org:get:snapshot:force",
377
+ "force:get:org:snapshot",
378
+ "get:force:org:snapshot",
379
+ "get:org:force:snapshot",
380
+ "get:org:snapshot:force",
381
+ "force:get:snapshot:org",
382
+ "get:force:snapshot:org",
383
+ "get:snapshot:force:org",
384
+ "get:snapshot:org:force"
385
+ ],
386
+ "permutations": [
387
+ "org:get:snapshot",
388
+ "get:org:snapshot",
389
+ "get:snapshot:org",
390
+ "org:snapshot:get",
391
+ "snapshot:org:get",
392
+ "snapshot:get:org"
393
+ ]
394
+ },
269
395
  "org:delete:shape": {
270
396
  "aliases": [
271
397
  "force:org:shape:delete"
@@ -519,132 +645,6 @@
519
645
  "snapshot:delete:org"
520
646
  ]
521
647
  },
522
- "org:get:snapshot": {
523
- "aliases": [
524
- "force:org:snapshot:get"
525
- ],
526
- "args": {},
527
- "deprecateAliases": true,
528
- "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\".",
529
- "examples": [
530
- "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
531
- "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"
532
- ],
533
- "flags": {
534
- "json": {
535
- "description": "Format output as json.",
536
- "helpGroup": "GLOBAL",
537
- "name": "json",
538
- "allowNo": false,
539
- "type": "boolean"
540
- },
541
- "flags-dir": {
542
- "helpGroup": "GLOBAL",
543
- "name": "flags-dir",
544
- "summary": "Import flag values from a directory.",
545
- "hasDynamicHelp": false,
546
- "multiple": false,
547
- "type": "option"
548
- },
549
- "target-dev-hub": {
550
- "aliases": [
551
- "targetdevhubusername"
552
- ],
553
- "char": "v",
554
- "deprecateAliases": true,
555
- "name": "target-dev-hub",
556
- "noCacheDefault": true,
557
- "required": true,
558
- "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
559
- "hasDynamicHelp": true,
560
- "multiple": false,
561
- "type": "option"
562
- },
563
- "api-version": {
564
- "aliases": [
565
- "apiversion"
566
- ],
567
- "deprecateAliases": true,
568
- "description": "Override the api version used for api requests made by this command",
569
- "name": "api-version",
570
- "hasDynamicHelp": false,
571
- "multiple": false,
572
- "type": "option"
573
- },
574
- "loglevel": {
575
- "deprecated": {
576
- "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 `SFDX_LOG_LEVEL` environment variable."
577
- },
578
- "hidden": true,
579
- "name": "loglevel",
580
- "hasDynamicHelp": false,
581
- "multiple": false,
582
- "type": "option"
583
- },
584
- "snapshot": {
585
- "char": "s",
586
- "description": "The IDs of scratch org snapshots start with 0Oo.",
587
- "name": "snapshot",
588
- "required": true,
589
- "summary": "Name or ID of snapshot to retrieve.",
590
- "hasDynamicHelp": false,
591
- "multiple": false,
592
- "type": "option"
593
- }
594
- },
595
- "hasDynamicHelp": true,
596
- "hiddenAliases": [],
597
- "id": "org:get:snapshot",
598
- "pluginAlias": "@salesforce/plugin-signups",
599
- "pluginName": "@salesforce/plugin-signups",
600
- "pluginType": "core",
601
- "state": "beta",
602
- "strict": true,
603
- "summary": "Get details about a scratch org snapshot.",
604
- "enableJsonFlag": true,
605
- "isESM": true,
606
- "relativePath": [
607
- "lib",
608
- "commands",
609
- "org",
610
- "get",
611
- "snapshot.js"
612
- ],
613
- "aliasPermutations": [
614
- "force:org:snapshot:get",
615
- "org:force:snapshot:get",
616
- "org:snapshot:force:get",
617
- "org:snapshot:get:force",
618
- "force:snapshot:org:get",
619
- "snapshot:force:org:get",
620
- "snapshot:org:force:get",
621
- "snapshot:org:get:force",
622
- "force:snapshot:get:org",
623
- "snapshot:force:get:org",
624
- "snapshot:get:force:org",
625
- "snapshot:get:org:force",
626
- "force:org:get:snapshot",
627
- "org:force:get:snapshot",
628
- "org:get:force:snapshot",
629
- "org:get:snapshot:force",
630
- "force:get:org:snapshot",
631
- "get:force:org:snapshot",
632
- "get:org:force:snapshot",
633
- "get:org:snapshot:force",
634
- "force:get:snapshot:org",
635
- "get:force:snapshot:org",
636
- "get:snapshot:force:org",
637
- "get:snapshot:org:force"
638
- ],
639
- "permutations": [
640
- "org:get:snapshot",
641
- "get:org:snapshot",
642
- "get:snapshot:org",
643
- "org:snapshot:get",
644
- "snapshot:org:get",
645
- "snapshot:get:org"
646
- ]
647
- },
648
648
  "org:list:shape": {
649
649
  "aliases": [
650
650
  "force:org:shape:list"
@@ -859,5 +859,5 @@
859
859
  ]
860
860
  }
861
861
  },
862
- "version": "2.1.0"
862
+ "version": "2.1.2"
863
863
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "2.1.0",
4
+ "version": "2.1.2",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
- "@oclif/core": "^3.20.0",
8
+ "@oclif/core": "^3.26.0",
9
9
  "@salesforce/core": "^6.7.1",
10
10
  "@salesforce/kit": "^3.0.15",
11
11
  "@salesforce/sf-plugins-core": "^8.0.1",
@@ -256,7 +256,7 @@
256
256
  "exports": "./lib/index.js",
257
257
  "type": "module",
258
258
  "sfdx": {
259
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.1.0.crt",
260
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.1.0.sig"
259
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.1.2.crt",
260
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.1.2.sig"
261
261
  }
262
262
  }