@salesforce/plugin-signups 2.1.0 → 2.1.1

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.1/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.1/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.1/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.1/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.1/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.1/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.1/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,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
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.1",
10
10
  "license": "BSD-3-Clause",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^3.20.0",
@@ -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.1"
863
863
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -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.1.crt",
260
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/2.1.1.sig"
261
261
  }
262
262
  }