@salesforce/plugin-signups 1.3.1 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,9 +11,9 @@ export declare class OrgShapeCreateCommand extends SfCommand<ShapeCreateResult>
11
11
  static readonly aliases: string[];
12
12
  static readonly deprecateAliases = true;
13
13
  static readonly flags: {
14
- 'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org>;
15
- 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
16
- loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
14
+ 'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
15
+ 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
16
+ loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
17
17
  };
18
18
  run(): Promise<ShapeCreateResult>;
19
19
  }
@@ -7,12 +7,12 @@ export declare class SnapshotCreate extends SfCommand<OrgSnapshot> {
7
7
  static readonly aliases: string[];
8
8
  static readonly deprecateAliases = true;
9
9
  static readonly flags: {
10
- 'target-dev-hub': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org>;
11
- 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
12
- loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
13
- 'source-org': import("@oclif/core/lib/interfaces").OptionFlag<string>;
14
- name: import("@oclif/core/lib/interfaces").OptionFlag<string>;
15
- description: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
10
+ 'target-dev-hub': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
11
+ 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
12
+ loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
13
+ 'source-org': import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
14
+ name: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
15
+ description: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
16
16
  };
17
17
  run(): Promise<OrgSnapshot>;
18
18
  }
@@ -18,9 +18,9 @@ export declare class OrgShapeDeleteCommand extends SfCommand<OrgShapeDeleteResul
18
18
  static readonly aliases: string[];
19
19
  static readonly deprecateAliases = true;
20
20
  static readonly flags: {
21
- 'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org>;
22
- 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
23
- loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
21
+ 'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
22
+ 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
23
+ loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
24
24
  'no-prompt': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
25
25
  };
26
26
  run(): Promise<OrgShapeDeleteResult | undefined>;
@@ -7,10 +7,10 @@ export declare class SnapshotDelete extends SfCommand<SaveResult> {
7
7
  static readonly aliases: string[];
8
8
  static readonly deprecateAliases = true;
9
9
  static readonly flags: {
10
- 'target-dev-hub': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org>;
11
- 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
12
- loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
13
- snapshot: import("@oclif/core/lib/interfaces").OptionFlag<string>;
10
+ 'target-dev-hub': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
11
+ 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
12
+ loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
13
+ snapshot: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
14
14
  };
15
15
  run(): Promise<SaveResult>;
16
16
  }
@@ -7,10 +7,10 @@ export declare class SnapshotGet extends SfCommand<OrgSnapshot> {
7
7
  static readonly aliases: string[];
8
8
  static readonly deprecateAliases = true;
9
9
  static readonly flags: {
10
- 'target-dev-hub': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org>;
11
- 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
12
- loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
13
- snapshot: import("@oclif/core/lib/interfaces").OptionFlag<string>;
10
+ 'target-dev-hub': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
11
+ 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
12
+ loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
13
+ snapshot: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
14
14
  };
15
15
  run(): Promise<OrgSnapshot>;
16
16
  }
@@ -8,7 +8,7 @@ export declare class OrgShapeListCommand extends SfCommand<OrgShapeListResult[]>
8
8
  static readonly deprecateAliases = true;
9
9
  static readonly flags: {
10
10
  verbose: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
- loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
11
+ loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
12
12
  };
13
13
  run(): Promise<OrgShapeListResult[]>;
14
14
  }
@@ -7,9 +7,9 @@ export declare class SnapshotList extends SfCommand<OrgSnapshot[]> {
7
7
  static readonly aliases: string[];
8
8
  static readonly deprecateAliases = true;
9
9
  static readonly flags: {
10
- 'target-dev-hub': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org>;
11
- 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
12
- loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
10
+ 'target-dev-hub': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
11
+ 'api-version': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
12
+ loglevel: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
13
13
  };
14
14
  run(): Promise<OrgSnapshot[]>;
15
15
  }
@@ -90,7 +90,7 @@ const queryByNameOrId = async (conn, nameOrId) => {
90
90
  };
91
91
  exports.queryByNameOrId = queryByNameOrId;
92
92
  const printSingleRecordTable = (snapshotRecord) => {
93
- core_1.CliUx.ux.table(Object.entries(snapshotRecord)
93
+ core_1.ux.table(Object.entries(snapshotRecord)
94
94
  .filter(([key]) => key !== 'attributes')
95
95
  // remove empty error field
96
96
  .filter(([key, value]) => key !== 'Error' || value)
@@ -106,10 +106,10 @@ const printSingleRecordTable = (snapshotRecord) => {
106
106
  exports.printSingleRecordTable = printSingleRecordTable;
107
107
  const printRecordTable = (snapshotRecords) => {
108
108
  if (snapshotRecords.length === 0) {
109
- core_1.CliUx.ux.log('No snapshots found');
109
+ core_1.ux.log('No snapshots found');
110
110
  return;
111
111
  }
112
- core_1.CliUx.ux.table(
112
+ core_1.ux.table(
113
113
  // we know what columns we want, so filter out the other fields
114
114
  snapshotRecords.map((s) => Object.fromEntries(Object.entries(s).filter(([key]) => Object.keys(ORG_SNAPSHOT_COLUMNS).includes(key)))), ORG_SNAPSHOT_COLUMNS, { title: `Org Snapshots [${snapshotRecords.length}]`, 'no-truncate': true });
115
115
  };
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.js","sourceRoot":"","sources":["../../src/shared/snapshot.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,sCAAoC;AACpC,2CAAiE;AACjE,6CAA0C;AAE1C,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,IAAI,CAAC,4BAA4B,EAAE,UAAU,EAAE,CAAC,oBAAoB,EAAE,aAAa,CAAC,CAAC,CAAC;AAoBnG,QAAA,mBAAmB,GAAG;IACjC,IAAI;IACJ,cAAc;IACd,aAAa;IACb,QAAQ;IACR,WAAW;IACX,aAAa;IACb,kBAAkB;IAClB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,OAAO;CACR,CAAC;AACF,MAAM,iBAAiB,GAAG,CAAC,UAAmB,EAAU,EAAE,CACxD,UAAU;IACR,CAAC,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,SAAS,EAAE;QAC7C,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,SAAS;QACd,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,SAAS;KAClB,CAAC;IACJ,CAAC,CAAC,EAAE,CAAC;AAET,MAAM,oBAAoB,GAAG,CAAC,GAAgB,EAAE,KAAwB,EAAU,EAAE,CAAC,iBAAiB,CAAC,GAAG,CAAC,KAAK,CAAC,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e,CAAC,MAAM,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,CAC5E,CAAC;AACJ,CAAC,CAAC;AAdW,QAAA,gBAAgB,oBAc3B"}
@@ -1 +1,482 @@
1
- {"version":"1.3.1","commands":{"org:create:shape":{"id":"org:create:shape","summary":"Create a scratch org configuration (shape) based on the specified source org.","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 %> force:org:create\" command.","strict":true,"pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":["force:org:shape:create"],"examples":["Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"],"deprecateAliases":true,"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false,"deprecateAliases":true},"target-org":{"name":"target-org","type":"option","char":"o","summary":"Username or alias of the target org.","required":true,"multiple":false,"deprecateAliases":true,"aliases":["targetusername","u"]},"api-version":{"name":"api-version","type":"option","description":"Override the api version used for api requests made by this command","multiple":false,"deprecateAliases":true,"aliases":["apiversion"]},"loglevel":{"name":"loglevel","type":"option","hidden":true,"multiple":false,"deprecated":{"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."},"deprecateAliases":true}},"args":[],"hasDynamicHelp":true},"org:create:snapshot":{"id":"org:create:snapshot","summary":"Create a snapshot of a scratch org.","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 %> force:org:create\" to create the scratch org.","strict":true,"pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":["force:org:snapshot:create"],"examples":["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'","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"],"deprecateAliases":true,"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false,"deprecateAliases":true},"target-dev-hub":{"name":"target-dev-hub","type":"option","char":"v","summary":"Username or alias of the Dev Hub org.","required":true,"multiple":false,"deprecateAliases":true,"aliases":["targetdevhubusername"]},"api-version":{"name":"api-version","type":"option","description":"Override the api version used for api requests made by this command","multiple":false,"deprecateAliases":true,"aliases":["apiversion"]},"loglevel":{"name":"loglevel","type":"option","hidden":true,"multiple":false,"deprecated":{"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."},"deprecateAliases":true},"source-org":{"name":"source-org","type":"option","char":"o","summary":"ID or locally authenticated username or alias of scratch org to snapshot.","required":true,"multiple":false,"deprecateAliases":true,"aliases":["sourceorg"]},"name":{"name":"name","type":"option","char":"n","summary":"Unique name of snapshot.","required":true,"multiple":false,"deprecateAliases":true,"aliases":["snapshotname"]},"description":{"name":"description","type":"option","char":"d","summary":"Description of snapshot.","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.","multiple":false,"deprecateAliases":true}},"args":[],"hasDynamicHelp":true},"org:delete:shape":{"id":"org:delete:shape","summary":"Delete all org shapes for a target org.","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.","strict":true,"pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":["force:org:shape:delete"],"examples":["Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg","Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"],"deprecateAliases":true,"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false,"deprecateAliases":true},"target-org":{"name":"target-org","type":"option","char":"o","summary":"Username or alias of the target org.","required":true,"multiple":false,"deprecateAliases":true,"aliases":["targetusername","u"]},"api-version":{"name":"api-version","type":"option","description":"Override the api version used for api requests made by this command","multiple":false,"deprecateAliases":true,"aliases":["apiversion"]},"loglevel":{"name":"loglevel","type":"option","hidden":true,"multiple":false,"deprecated":{"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."},"deprecateAliases":true},"no-prompt":{"name":"no-prompt","type":"boolean","char":"p","summary":"Don't prompt for confirmation.","allowNo":false,"deprecateAliases":true,"aliases":["noprompt"]}},"args":[],"hasDynamicHelp":true},"org:delete:snapshot":{"id":"org:delete:snapshot","summary":"Delete a scratch org snapshot.","description":"Dev Hub admins can delete any snapshot, while users can delete only their own unless a Dev Hub admin gives the user Modify All permissions.","strict":true,"pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":["force:org:snapshot:delete"],"examples":["Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...","Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"],"deprecateAliases":true,"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false,"deprecateAliases":true},"target-dev-hub":{"name":"target-dev-hub","type":"option","char":"v","summary":"Username or alias of the Dev Hub org.","required":true,"multiple":false,"deprecateAliases":true,"aliases":["targetdevhubusername"]},"api-version":{"name":"api-version","type":"option","description":"Override the api version used for api requests made by this command","multiple":false,"deprecateAliases":true,"aliases":["apiversion"]},"loglevel":{"name":"loglevel","type":"option","hidden":true,"multiple":false,"deprecated":{"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."},"deprecateAliases":true},"snapshot":{"name":"snapshot","type":"option","char":"s","summary":"Name or ID of snapshot to delete.","description":"The IDs of scratch org snapshots start with 0Oo.","required":true,"multiple":false,"deprecateAliases":true}},"args":[],"hasDynamicHelp":true},"org:get:snapshot":{"id":"org:get:snapshot","summary":"Get details about a scratch org snapshot.","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\".","strict":true,"pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":["force:org:snapshot:get"],"examples":["Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...","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"],"deprecateAliases":true,"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false,"deprecateAliases":true},"target-dev-hub":{"name":"target-dev-hub","type":"option","char":"v","summary":"Username or alias of the Dev Hub org.","required":true,"multiple":false,"deprecateAliases":true,"aliases":["targetdevhubusername"]},"api-version":{"name":"api-version","type":"option","description":"Override the api version used for api requests made by this command","multiple":false,"deprecateAliases":true,"aliases":["apiversion"]},"loglevel":{"name":"loglevel","type":"option","hidden":true,"multiple":false,"deprecated":{"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."},"deprecateAliases":true},"snapshot":{"name":"snapshot","type":"option","char":"s","summary":"Name or ID of snapshot to retrieve.","description":"The IDs of scratch org snapshots start with 0Oo.","required":true,"multiple":false,"deprecateAliases":true}},"args":[],"hasDynamicHelp":true},"org:list:shape":{"id":"org:list:shape","summary":"List all org shapes you’ve created.","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.","strict":true,"pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":["force:org:shape:list"],"examples":["List all org shapes you've created:\n<%= config.bin %> <%= command.id %>","List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"],"deprecateAliases":true,"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false,"deprecateAliases":true},"verbose":{"name":"verbose","type":"boolean","summary":"List more information about each org shape.","hidden":true,"allowNo":false,"deprecateAliases":true},"loglevel":{"name":"loglevel","type":"option","hidden":true,"multiple":false,"deprecated":{"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."},"deprecateAliases":true}},"args":[]},"org:list:snapshot":{"id":"org:list:snapshot","summary":"List scratch org snapshots.","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\".","strict":true,"pluginName":"@salesforce/plugin-signups","pluginAlias":"@salesforce/plugin-signups","pluginType":"core","aliases":["force:org:snapshot:list"],"examples":["List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>","List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"],"deprecateAliases":true,"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false,"deprecateAliases":true},"target-dev-hub":{"name":"target-dev-hub","type":"option","char":"v","summary":"Username or alias of the Dev Hub org.","required":true,"multiple":false,"deprecateAliases":true,"aliases":["targetdevhubusername"]},"api-version":{"name":"api-version","type":"option","description":"Override the api version used for api requests made by this command","multiple":false,"deprecateAliases":true,"aliases":["apiversion"]},"loglevel":{"name":"loglevel","type":"option","hidden":true,"multiple":false,"deprecated":{"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."},"deprecateAliases":true}},"args":[],"hasDynamicHelp":true}}}
1
+ {
2
+ "version": "1.4.0",
3
+ "commands": {
4
+ "org:create:shape": {
5
+ "id": "org:create:shape",
6
+ "summary": "Create a scratch org configuration (shape) based on the specified source org.",
7
+ "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 %> force:org:create\" command.",
8
+ "strict": true,
9
+ "pluginName": "@salesforce/plugin-signups",
10
+ "pluginAlias": "@salesforce/plugin-signups",
11
+ "pluginType": "core",
12
+ "aliases": [
13
+ "force:org:shape:create"
14
+ ],
15
+ "examples": [
16
+ "Create an org shape for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg"
17
+ ],
18
+ "deprecateAliases": true,
19
+ "flags": {
20
+ "json": {
21
+ "name": "json",
22
+ "type": "boolean",
23
+ "description": "Format output as json.",
24
+ "helpGroup": "GLOBAL",
25
+ "allowNo": false,
26
+ "deprecateAliases": true
27
+ },
28
+ "target-org": {
29
+ "name": "target-org",
30
+ "type": "option",
31
+ "char": "o",
32
+ "summary": "Username or alias of the target org.",
33
+ "required": true,
34
+ "multiple": false,
35
+ "deprecateAliases": true,
36
+ "aliases": [
37
+ "targetusername",
38
+ "u"
39
+ ]
40
+ },
41
+ "api-version": {
42
+ "name": "api-version",
43
+ "type": "option",
44
+ "description": "Override the api version used for api requests made by this command",
45
+ "multiple": false,
46
+ "deprecateAliases": true,
47
+ "aliases": [
48
+ "apiversion"
49
+ ]
50
+ },
51
+ "loglevel": {
52
+ "name": "loglevel",
53
+ "type": "option",
54
+ "hidden": true,
55
+ "multiple": false,
56
+ "deprecated": {
57
+ "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."
58
+ },
59
+ "deprecateAliases": true
60
+ }
61
+ },
62
+ "args": {},
63
+ "hasDynamicHelp": true
64
+ },
65
+ "org:create:snapshot": {
66
+ "id": "org:create:snapshot",
67
+ "summary": "Create a snapshot of a scratch org.",
68
+ "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 %> force:org:create\" to create the scratch org.",
69
+ "strict": true,
70
+ "pluginName": "@salesforce/plugin-signups",
71
+ "pluginAlias": "@salesforce/plugin-signups",
72
+ "pluginType": "core",
73
+ "aliases": [
74
+ "force:org:snapshot:create"
75
+ ],
76
+ "examples": [
77
+ "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'",
78
+ "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"
79
+ ],
80
+ "deprecateAliases": true,
81
+ "flags": {
82
+ "json": {
83
+ "name": "json",
84
+ "type": "boolean",
85
+ "description": "Format output as json.",
86
+ "helpGroup": "GLOBAL",
87
+ "allowNo": false,
88
+ "deprecateAliases": true
89
+ },
90
+ "target-dev-hub": {
91
+ "name": "target-dev-hub",
92
+ "type": "option",
93
+ "char": "v",
94
+ "summary": "Username or alias of the Dev Hub org.",
95
+ "required": true,
96
+ "multiple": false,
97
+ "deprecateAliases": true,
98
+ "aliases": [
99
+ "targetdevhubusername"
100
+ ]
101
+ },
102
+ "api-version": {
103
+ "name": "api-version",
104
+ "type": "option",
105
+ "description": "Override the api version used for api requests made by this command",
106
+ "multiple": false,
107
+ "deprecateAliases": true,
108
+ "aliases": [
109
+ "apiversion"
110
+ ]
111
+ },
112
+ "loglevel": {
113
+ "name": "loglevel",
114
+ "type": "option",
115
+ "hidden": true,
116
+ "multiple": false,
117
+ "deprecated": {
118
+ "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."
119
+ },
120
+ "deprecateAliases": true
121
+ },
122
+ "source-org": {
123
+ "name": "source-org",
124
+ "type": "option",
125
+ "char": "o",
126
+ "summary": "ID or locally authenticated username or alias of scratch org to snapshot.",
127
+ "required": true,
128
+ "multiple": false,
129
+ "deprecateAliases": true,
130
+ "aliases": [
131
+ "sourceorg"
132
+ ]
133
+ },
134
+ "name": {
135
+ "name": "name",
136
+ "type": "option",
137
+ "char": "n",
138
+ "summary": "Unique name of snapshot.",
139
+ "required": true,
140
+ "multiple": false,
141
+ "deprecateAliases": true,
142
+ "aliases": [
143
+ "snapshotname"
144
+ ]
145
+ },
146
+ "description": {
147
+ "name": "description",
148
+ "type": "option",
149
+ "char": "d",
150
+ "summary": "Description of snapshot.",
151
+ "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.",
152
+ "multiple": false,
153
+ "deprecateAliases": true
154
+ }
155
+ },
156
+ "args": {},
157
+ "hasDynamicHelp": true
158
+ },
159
+ "org:delete:shape": {
160
+ "id": "org:delete:shape",
161
+ "summary": "Delete all org shapes for a target org.",
162
+ "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.",
163
+ "strict": true,
164
+ "pluginName": "@salesforce/plugin-signups",
165
+ "pluginAlias": "@salesforce/plugin-signups",
166
+ "pluginType": "core",
167
+ "aliases": [
168
+ "force:org:shape:delete"
169
+ ],
170
+ "examples": [
171
+ "Delete all org shapes for the source org with alias SourceOrg:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg",
172
+ "Delete all org shapes without prompting:\n<%= config.bin %> <%= command.id %> --target-org SourceOrg --no-prompt"
173
+ ],
174
+ "deprecateAliases": true,
175
+ "flags": {
176
+ "json": {
177
+ "name": "json",
178
+ "type": "boolean",
179
+ "description": "Format output as json.",
180
+ "helpGroup": "GLOBAL",
181
+ "allowNo": false,
182
+ "deprecateAliases": true
183
+ },
184
+ "target-org": {
185
+ "name": "target-org",
186
+ "type": "option",
187
+ "char": "o",
188
+ "summary": "Username or alias of the target org.",
189
+ "required": true,
190
+ "multiple": false,
191
+ "deprecateAliases": true,
192
+ "aliases": [
193
+ "targetusername",
194
+ "u"
195
+ ]
196
+ },
197
+ "api-version": {
198
+ "name": "api-version",
199
+ "type": "option",
200
+ "description": "Override the api version used for api requests made by this command",
201
+ "multiple": false,
202
+ "deprecateAliases": true,
203
+ "aliases": [
204
+ "apiversion"
205
+ ]
206
+ },
207
+ "loglevel": {
208
+ "name": "loglevel",
209
+ "type": "option",
210
+ "hidden": true,
211
+ "multiple": false,
212
+ "deprecated": {
213
+ "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."
214
+ },
215
+ "deprecateAliases": true
216
+ },
217
+ "no-prompt": {
218
+ "name": "no-prompt",
219
+ "type": "boolean",
220
+ "char": "p",
221
+ "summary": "Don't prompt for confirmation.",
222
+ "allowNo": false,
223
+ "deprecateAliases": true,
224
+ "aliases": [
225
+ "noprompt"
226
+ ]
227
+ }
228
+ },
229
+ "args": {},
230
+ "hasDynamicHelp": true
231
+ },
232
+ "org:delete:snapshot": {
233
+ "id": "org:delete:snapshot",
234
+ "summary": "Delete a scratch org snapshot.",
235
+ "description": "Dev Hub admins can delete any snapshot, while users can delete only their own unless a Dev Hub admin gives the user Modify All permissions.",
236
+ "strict": true,
237
+ "pluginName": "@salesforce/plugin-signups",
238
+ "pluginAlias": "@salesforce/plugin-signups",
239
+ "pluginType": "core",
240
+ "aliases": [
241
+ "force:org:snapshot:delete"
242
+ ],
243
+ "examples": [
244
+ "Delete a snapshot from the default Dev Hub using the snapshot ID:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
245
+ "Delete a snapshot from the specified Dev Hub using the snapshot name:\n<%= config.bin %> <%= command.id %> --snapshot BaseSnapshot --target-dev-hub SnapshotDevHub"
246
+ ],
247
+ "deprecateAliases": true,
248
+ "flags": {
249
+ "json": {
250
+ "name": "json",
251
+ "type": "boolean",
252
+ "description": "Format output as json.",
253
+ "helpGroup": "GLOBAL",
254
+ "allowNo": false,
255
+ "deprecateAliases": true
256
+ },
257
+ "target-dev-hub": {
258
+ "name": "target-dev-hub",
259
+ "type": "option",
260
+ "char": "v",
261
+ "summary": "Username or alias of the Dev Hub org.",
262
+ "required": true,
263
+ "multiple": false,
264
+ "deprecateAliases": true,
265
+ "aliases": [
266
+ "targetdevhubusername"
267
+ ]
268
+ },
269
+ "api-version": {
270
+ "name": "api-version",
271
+ "type": "option",
272
+ "description": "Override the api version used for api requests made by this command",
273
+ "multiple": false,
274
+ "deprecateAliases": true,
275
+ "aliases": [
276
+ "apiversion"
277
+ ]
278
+ },
279
+ "loglevel": {
280
+ "name": "loglevel",
281
+ "type": "option",
282
+ "hidden": true,
283
+ "multiple": false,
284
+ "deprecated": {
285
+ "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."
286
+ },
287
+ "deprecateAliases": true
288
+ },
289
+ "snapshot": {
290
+ "name": "snapshot",
291
+ "type": "option",
292
+ "char": "s",
293
+ "summary": "Name or ID of snapshot to delete.",
294
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
295
+ "required": true,
296
+ "multiple": false,
297
+ "deprecateAliases": true
298
+ }
299
+ },
300
+ "args": {},
301
+ "hasDynamicHelp": true
302
+ },
303
+ "org:get:snapshot": {
304
+ "id": "org:get:snapshot",
305
+ "summary": "Get details about a scratch org snapshot.",
306
+ "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\".",
307
+ "strict": true,
308
+ "pluginName": "@salesforce/plugin-signups",
309
+ "pluginAlias": "@salesforce/plugin-signups",
310
+ "pluginType": "core",
311
+ "aliases": [
312
+ "force:org:snapshot:get"
313
+ ],
314
+ "examples": [
315
+ "Get snapshot details using its ID and the default Dev Hub org:\n<%= config.bin %> <%= command.id %> --snapshot 0Oo...",
316
+ "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"
317
+ ],
318
+ "deprecateAliases": true,
319
+ "flags": {
320
+ "json": {
321
+ "name": "json",
322
+ "type": "boolean",
323
+ "description": "Format output as json.",
324
+ "helpGroup": "GLOBAL",
325
+ "allowNo": false,
326
+ "deprecateAliases": true
327
+ },
328
+ "target-dev-hub": {
329
+ "name": "target-dev-hub",
330
+ "type": "option",
331
+ "char": "v",
332
+ "summary": "Username or alias of the Dev Hub org.",
333
+ "required": true,
334
+ "multiple": false,
335
+ "deprecateAliases": true,
336
+ "aliases": [
337
+ "targetdevhubusername"
338
+ ]
339
+ },
340
+ "api-version": {
341
+ "name": "api-version",
342
+ "type": "option",
343
+ "description": "Override the api version used for api requests made by this command",
344
+ "multiple": false,
345
+ "deprecateAliases": true,
346
+ "aliases": [
347
+ "apiversion"
348
+ ]
349
+ },
350
+ "loglevel": {
351
+ "name": "loglevel",
352
+ "type": "option",
353
+ "hidden": true,
354
+ "multiple": false,
355
+ "deprecated": {
356
+ "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."
357
+ },
358
+ "deprecateAliases": true
359
+ },
360
+ "snapshot": {
361
+ "name": "snapshot",
362
+ "type": "option",
363
+ "char": "s",
364
+ "summary": "Name or ID of snapshot to retrieve.",
365
+ "description": "The IDs of scratch org snapshots start with 0Oo.",
366
+ "required": true,
367
+ "multiple": false,
368
+ "deprecateAliases": true
369
+ }
370
+ },
371
+ "args": {},
372
+ "hasDynamicHelp": true
373
+ },
374
+ "org:list:shape": {
375
+ "id": "org:list:shape",
376
+ "summary": "List all org shapes you’ve created.",
377
+ "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.",
378
+ "strict": true,
379
+ "pluginName": "@salesforce/plugin-signups",
380
+ "pluginAlias": "@salesforce/plugin-signups",
381
+ "pluginType": "core",
382
+ "aliases": [
383
+ "force:org:shape:list"
384
+ ],
385
+ "examples": [
386
+ "List all org shapes you've created:\n<%= config.bin %> <%= command.id %>",
387
+ "List all org shapes in JSON format and write the output to a file:\n<%= config.bin %> <%= command.id %> --json > tmp/MyOrgShapeList.json"
388
+ ],
389
+ "deprecateAliases": true,
390
+ "flags": {
391
+ "json": {
392
+ "name": "json",
393
+ "type": "boolean",
394
+ "description": "Format output as json.",
395
+ "helpGroup": "GLOBAL",
396
+ "allowNo": false,
397
+ "deprecateAliases": true
398
+ },
399
+ "verbose": {
400
+ "name": "verbose",
401
+ "type": "boolean",
402
+ "summary": "List more information about each org shape.",
403
+ "hidden": true,
404
+ "allowNo": false,
405
+ "deprecateAliases": true
406
+ },
407
+ "loglevel": {
408
+ "name": "loglevel",
409
+ "type": "option",
410
+ "hidden": true,
411
+ "multiple": false,
412
+ "deprecated": {
413
+ "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."
414
+ },
415
+ "deprecateAliases": true
416
+ }
417
+ },
418
+ "args": {}
419
+ },
420
+ "org:list:snapshot": {
421
+ "id": "org:list:snapshot",
422
+ "summary": "List scratch org snapshots.",
423
+ "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\".",
424
+ "strict": true,
425
+ "pluginName": "@salesforce/plugin-signups",
426
+ "pluginAlias": "@salesforce/plugin-signups",
427
+ "pluginType": "core",
428
+ "aliases": [
429
+ "force:org:snapshot:list"
430
+ ],
431
+ "examples": [
432
+ "List snapshots in the default Dev Hub:\n<%= config.bin %> <%= command.id %>",
433
+ "List snapshots in the Dev Hub with alias SnapshotDevHub:\n<%= config.bin %> <%= command.id %> --target-dev-hub SnapshotDevHub"
434
+ ],
435
+ "deprecateAliases": true,
436
+ "flags": {
437
+ "json": {
438
+ "name": "json",
439
+ "type": "boolean",
440
+ "description": "Format output as json.",
441
+ "helpGroup": "GLOBAL",
442
+ "allowNo": false,
443
+ "deprecateAliases": true
444
+ },
445
+ "target-dev-hub": {
446
+ "name": "target-dev-hub",
447
+ "type": "option",
448
+ "char": "v",
449
+ "summary": "Username or alias of the Dev Hub org.",
450
+ "required": true,
451
+ "multiple": false,
452
+ "deprecateAliases": true,
453
+ "aliases": [
454
+ "targetdevhubusername"
455
+ ]
456
+ },
457
+ "api-version": {
458
+ "name": "api-version",
459
+ "type": "option",
460
+ "description": "Override the api version used for api requests made by this command",
461
+ "multiple": false,
462
+ "deprecateAliases": true,
463
+ "aliases": [
464
+ "apiversion"
465
+ ]
466
+ },
467
+ "loglevel": {
468
+ "name": "loglevel",
469
+ "type": "option",
470
+ "hidden": true,
471
+ "multiple": false,
472
+ "deprecated": {
473
+ "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."
474
+ },
475
+ "deprecateAliases": true
476
+ }
477
+ },
478
+ "args": {},
479
+ "hasDynamicHelp": true
480
+ }
481
+ }
482
+ }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-signups",
3
3
  "description": "Commands to interact with org shapes",
4
- "version": "1.3.1",
4
+ "version": "1.4.0",
5
5
  "author": "Salesforce",
6
6
  "main": "lib/index.js",
7
7
  "bugs": "https://github.com/forcedotcom/cli/issues",
8
8
  "dependencies": {
9
- "@oclif/core": "^1.23.0",
10
- "@salesforce/core": "^3.33.0",
11
- "@salesforce/sf-plugins-core": "^1.21.3",
9
+ "@oclif/core": "^2.0.7",
10
+ "@salesforce/core": "^3.33.1",
11
+ "@salesforce/sf-plugins-core": "^2.0.1",
12
12
  "chalk": "^4.1.2",
13
13
  "change-case": "^4.1.2",
14
14
  "tslib": "^2"
@@ -18,11 +18,11 @@
18
18
  "@salesforce/cli-plugins-testkit": "^3.2.17",
19
19
  "@salesforce/dev-config": "^3.0.1",
20
20
  "@salesforce/dev-scripts": "^3.1.0",
21
- "@salesforce/plugin-command-reference": "^2.2.9",
21
+ "@salesforce/plugin-command-reference": "^2.2.10",
22
22
  "@salesforce/prettier-config": "^0.0.2",
23
23
  "@salesforce/ts-sinon": "1.4.4",
24
24
  "@salesforce/ts-types": "^1.7.2",
25
- "@swc/core": "^1.3.24",
25
+ "@swc/core": "^1.3.29",
26
26
  "@types/chai-as-promised": "^7.1.5",
27
27
  "@types/chai-string": "^1.4.2",
28
28
  "@types/inquirer": "^9.0.3",
@@ -33,18 +33,18 @@
33
33
  "chai-as-promised": "7.1.1",
34
34
  "chai-string": "^1.5.0",
35
35
  "eslint": "^8.31.0",
36
- "eslint-config-prettier": "^8.5.0",
36
+ "eslint-config-prettier": "^8.6.0",
37
37
  "eslint-config-salesforce": "^1.1.0",
38
38
  "eslint-config-salesforce-license": "^0.2.0",
39
39
  "eslint-config-salesforce-typescript": "^1.1.1",
40
40
  "eslint-plugin-header": "^3.1.1",
41
41
  "eslint-plugin-import": "^2.27.4",
42
- "eslint-plugin-jsdoc": "^39.6.4",
42
+ "eslint-plugin-jsdoc": "^39.6.9",
43
43
  "eslint-plugin-sf-plugin": "^1.3.1",
44
44
  "husky": "^7.0.4",
45
45
  "mocha": "^9.1.3",
46
46
  "nyc": "^15.1.0",
47
- "oclif": "^3.2.28",
47
+ "oclif": "^3.6.1",
48
48
  "prettier": "^2.8.1",
49
49
  "pretty-quick": "^3.1.0",
50
50
  "shx": "0.3.4",
@@ -124,7 +124,7 @@
124
124
  "access": "public"
125
125
  },
126
126
  "sfdx": {
127
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.3.1.crt",
128
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.3.1.sig"
127
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.4.0.crt",
128
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-signups/1.4.0.sig"
129
129
  }
130
130
  }