@salesforce/plugin-org 2.1.7 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commands/force/org/clone.js +1 -2
- package/lib/commands/force/org/clone.js.map +1 -1
- package/lib/commands/force/org/create.d.ts +0 -1
- package/lib/commands/force/org/create.js +2 -21
- package/lib/commands/force/org/create.js.map +1 -1
- package/lib/commands/force/org/display.js +3 -4
- package/lib/commands/force/org/display.js.map +1 -1
- package/lib/commands/force/org/list.js +4 -4
- package/lib/commands/force/org/list.js.map +1 -1
- package/lib/commands/force/org/open.js +1 -2
- package/lib/commands/force/org/open.js.map +1 -1
- package/lib/commands/force/org/status.js +1 -2
- package/lib/commands/force/org/status.js.map +1 -1
- package/lib/shared/orgListUtil.js +4 -6
- package/lib/shared/orgListUtil.js.map +1 -1
- package/lib/shared/utils.js +1 -1
- package/lib/shared/utils.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +11 -11
- package/CHANGELOG.md +0 -287
- package/lib/shared/orgHooks.d.ts +0 -22
- package/lib/shared/orgHooks.js +0 -9
- package/lib/shared/orgHooks.js.map +0 -1
|
@@ -29,7 +29,6 @@ class OrgCloneCommand extends command_1.SfdxCommand {
|
|
|
29
29
|
this.ux.log(sandboxReporter_1.SandboxReporter.sandboxProgress(results));
|
|
30
30
|
});
|
|
31
31
|
lifecycle.on(core_1.SandboxEvents.EVENT_RESULT, async (results) => {
|
|
32
|
-
var _a;
|
|
33
32
|
const { sandboxReadyForUse, data } = sandboxReporter_1.SandboxReporter.logSandboxProcessResult(results);
|
|
34
33
|
this.ux.log(sandboxReadyForUse);
|
|
35
34
|
this.ux.styledHeader('Sandbox Org Cloning Status');
|
|
@@ -37,7 +36,7 @@ class OrgCloneCommand extends command_1.SfdxCommand {
|
|
|
37
36
|
key: { header: 'Name' },
|
|
38
37
|
value: { header: 'Value' },
|
|
39
38
|
});
|
|
40
|
-
if (
|
|
39
|
+
if (results?.sandboxRes?.authUserName) {
|
|
41
40
|
if (this.flags.setalias) {
|
|
42
41
|
const stateAggregator = await core_1.StateAggregator.getInstance();
|
|
43
42
|
stateAggregator.aliases.set(this.flags.setalias, results.sandboxRes.authUserName);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clone.js","sourceRoot":"","sources":["../../../../src/commands/force/org/clone.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2BAAyB;AACzB,yBAAyB;AACzB,iDAAsE;AACtE,2CAa0B;AAC1B,yCAAuD;AACvD,qEAAkE;AAElE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;AAE1E,MAAa,eAAgB,SAAQ,qBAAW;IAoCvC,KAAK,CAAC,GAAG;QACd,MAAM,SAAS,GAAG,gBAAS,CAAC,WAAW,EAAE,CAAC;QAC1C,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,eAAQ,CAAC,OAAO,EAAE;YACxC,4DAA4D;YAC5D,SAAS,CAAC,EAAE,CAAC,oBAAa,CAAC,kBAAkB,EAAE,KAAK,EAAE,OAA6B,EAAE,EAAE;gBACrF,yCAAyC;gBACzC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YACxF,CAAC,CAAC,CAAC;YAEH,4DAA4D;YAC5D,SAAS,CAAC,EAAE,CAAC,oBAAa,CAAC,YAAY,EAAE,KAAK,EAAE,OAAoB,EAAE,EAAE;gBACtE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,iCAAe,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC;YACxD,CAAC,CAAC,CAAC;YAEH,SAAS,CAAC,EAAE,CAAC,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only varargs = true;
|
|
16
16
|
static readonly aliases: string[];
|
|
17
17
|
static readonly flagsConfig: FlagsConfig;
|
|
18
|
-
protected readonly lifecycleEventNames: string[];
|
|
19
18
|
private sandboxAuth?;
|
|
20
19
|
run(): Promise<SandboxProcessObject | ScratchOrgProcessObject>;
|
|
21
20
|
private validateSandboxFlags;
|
|
@@ -16,10 +16,6 @@ const sandboxReporter_1 = require("../../../shared/sandboxReporter");
|
|
|
16
16
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
17
17
|
const messages = core_1.Messages.loadMessages('@salesforce/plugin-org', 'create');
|
|
18
18
|
class Create extends command_1.SfdxCommand {
|
|
19
|
-
constructor() {
|
|
20
|
-
super(...arguments);
|
|
21
|
-
this.lifecycleEventNames = ['postorgcreate'];
|
|
22
|
-
}
|
|
23
19
|
async run() {
|
|
24
20
|
this.logger.debug('Create started with args %s ', this.flags);
|
|
25
21
|
if (this.flags.type === core_1.OrgTypes.Sandbox) {
|
|
@@ -105,7 +101,6 @@ class Create extends command_1.SfdxCommand {
|
|
|
105
101
|
this.sandboxAuth = results;
|
|
106
102
|
});
|
|
107
103
|
lifecycle.on(core_1.SandboxEvents.EVENT_RESULT, async (results) => {
|
|
108
|
-
var _a;
|
|
109
104
|
const { sandboxReadyForUse, data } = sandboxReporter_1.SandboxReporter.logSandboxProcessResult(results);
|
|
110
105
|
this.ux.log(sandboxReadyForUse);
|
|
111
106
|
this.ux.styledHeader('Sandbox Org Creation Status');
|
|
@@ -113,7 +108,7 @@ class Create extends command_1.SfdxCommand {
|
|
|
113
108
|
key: { header: 'Name' },
|
|
114
109
|
value: { header: 'Value' },
|
|
115
110
|
});
|
|
116
|
-
if (
|
|
111
|
+
if (results.sandboxRes?.authUserName) {
|
|
117
112
|
if (this.flags.setalias) {
|
|
118
113
|
const stateAggregator = await core_1.StateAggregator.getInstance();
|
|
119
114
|
stateAggregator.aliases.set(this.flags.setalias, results.sandboxRes.authUserName);
|
|
@@ -137,7 +132,7 @@ class Create extends command_1.SfdxCommand {
|
|
|
137
132
|
catch (e) {
|
|
138
133
|
// guaranteed to be SfdxError from core;
|
|
139
134
|
const err = e;
|
|
140
|
-
if (err
|
|
135
|
+
if (err?.message.includes('The org cannot be found')) {
|
|
141
136
|
// there was most likely an issue with DNS when auth'ing to the new sandbox, but it was created.
|
|
142
137
|
if (this.flags.setalias && this.sandboxAuth) {
|
|
143
138
|
const stateAggregator = await core_1.StateAggregator.getInstance();
|
|
@@ -199,20 +194,6 @@ class Create extends command_1.SfdxCommand {
|
|
|
199
194
|
};
|
|
200
195
|
const { username, scratchOrgInfo, authFields, warnings } = await this.hubOrg.scratchOrgCreate(createCommandOptions);
|
|
201
196
|
await core_1.Lifecycle.getInstance().emit('scratchOrgInfo', scratchOrgInfo);
|
|
202
|
-
// emit postorgcreate event for hook
|
|
203
|
-
const postOrgCreateHookInfo = [authFields].map((element) => ({
|
|
204
|
-
accessToken: element.accessToken,
|
|
205
|
-
clientId: element.clientId,
|
|
206
|
-
created: element.created,
|
|
207
|
-
createdOrgInstance: element.createdOrgInstance,
|
|
208
|
-
devHubUsername: element.devHubUsername,
|
|
209
|
-
expirationDate: element.expirationDate,
|
|
210
|
-
instanceUrl: element.instanceUrl,
|
|
211
|
-
loginUrl: element.loginUrl,
|
|
212
|
-
orgId: element.orgId,
|
|
213
|
-
username: element.username,
|
|
214
|
-
}))[0];
|
|
215
|
-
await core_1.Lifecycle.getInstance().emit('postorgcreate', postOrgCreateHookInfo);
|
|
216
197
|
this.logger.debug(`orgConfig.loginUrl: ${authFields.loginUrl}`);
|
|
217
198
|
this.logger.debug(`orgConfig.instanceUrl: ${authFields.instanceUrl}`);
|
|
218
199
|
this.ux.log(messages.getMessage('scratchOrgCreateSuccess', [authFields.orgId, username]));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/force/org/create.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yBAAyB;AACzB,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QACrB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC;KACnD,CAAC;IACF,kBAAkB,EAAE,eAAK,CAAC,OAAO,CAAC;QAChC,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC;KAC7D,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACrB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC;KACnD,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,OAAO,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC;QAC9C,GAAG,EAAE,CAAC;QACN,OAAO,EAAE,cAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;KAC7B,CAAC;IACF,YAAY,EAAE,eAAK,CAAC,OAAO,CAAC;QAC1B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC;QACtD,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,EAAE;QACP,OAAO,EAAE,CAAC;KACX,CAAC;IACF,KAAK,EAAE,eAAK,CAAC,MAAM,CAAC;QAClB,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,CAAC;QACV,GAAG,EAAE,EAAE;QACP,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC;KAChD,CAAC;CACH,CAAC"}
|
|
@@ -72,16 +72,15 @@ class OrgDisplayCommand extends command_1.SfdxCommand {
|
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
async getScratchOrgInformation(orgId) {
|
|
75
|
-
var _a, _b, _c;
|
|
76
75
|
const hubOrg = await this.org.getDevHubOrg();
|
|
77
76
|
const result = (await orgListUtil_1.OrgListUtil.retrieveScratchOrgInfoFromDevHub(hubOrg.getUsername(), [core_1.sfdc.trimTo15(orgId)]))[0];
|
|
78
77
|
if (result) {
|
|
79
78
|
return {
|
|
80
79
|
status: result.Status,
|
|
81
80
|
expirationDate: result.ExpirationDate,
|
|
82
|
-
createdBy:
|
|
83
|
-
edition:
|
|
84
|
-
namespace:
|
|
81
|
+
createdBy: result.CreatedBy?.Username,
|
|
82
|
+
edition: result.Edition ?? undefined,
|
|
83
|
+
namespace: result.Namespace ?? undefined,
|
|
85
84
|
orgName: result.OrgName,
|
|
86
85
|
createdDate: result.CreatedDate,
|
|
87
86
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../../src/commands/force/org/display.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yBAAyB;AACzB,iDAAsE;AACtE,2CAAqE;AACrE,yCAAuD;AAGvD,iDAA2D;AAC3D,mEAAgE;AAChE,6DAA0D;AAE1D,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC;AAC5E,MAAM,cAAc,GAAG,eAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,UAAU,CAAC,CAAC;AACnF,MAAa,iBAAkB,SAAQ,qBAAW;IAQzC,KAAK,CAAC,GAAG;QACd,IAAI;YACF,kGAAkG;YAClG,MAAM,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;SAC9B;QAAC,OAAO,KAAK,EAAE;YACd,wFAAwF;YACxF,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC;SAChD;QACD,kCAAkC;QAClC,MAAM,QAAQ,GAAG,MAAM,eAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,QAAQ,CAAC,SAAS,CA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AM,CAAC,WAAW,EAAE,EAAE,CAAC,WAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CACjG,CAAC,CAAC,CAAC,CAAC;QAEL,IAAI,MAAM,EAAE;YACV,OAAO;gBACL,MAAM,EAAE,MAAM,CAAC,MAAM;gBACrB,cAAc,EAAE,MAAM,CAAC,cAAc;gBACrC,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,QAAQ;gBACrC,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,SAAS;gBACpC,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,SAAS;gBACxC,OAAO,EAAE,MAAM,CAAC,OAAO;gBACvB,WAAW,EAAE,MAAM,CAAC,WAAW;aAChC,CAAC;SACH;QACD,MAAM,IAAI,cAAO,CACf,QAAQ,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAC,WAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,EAC1F,eAAe,EACf,CAAC,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC,CAChD,CAAC;IACJ,CAAC;;AA1FH,8CA2FC;AA1FwB,6BAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,0BAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AACzD,kCAAgB,GAAG,IAAI,CAAC;AACxB,6BAAW,GAAgB;IAChD,OAAO,EAAE,eAAK,CAAC,OAAO,EAAE;CACzB,CAAC"}
|
|
@@ -93,11 +93,11 @@ class OrgListCommand extends command_1.SfdxCommand {
|
|
|
93
93
|
let nonScratchOrgColumns = {
|
|
94
94
|
defaultMarker: {
|
|
95
95
|
header: '',
|
|
96
|
-
get: (data) =>
|
|
96
|
+
get: (data) => data.defaultMarker ?? '',
|
|
97
97
|
},
|
|
98
98
|
alias: {
|
|
99
99
|
header: 'ALIAS',
|
|
100
|
-
get: (data) =>
|
|
100
|
+
get: (data) => data.alias ?? '',
|
|
101
101
|
},
|
|
102
102
|
username: { header: 'USERNAME' },
|
|
103
103
|
orgId: { header: 'ORG ID' },
|
|
@@ -136,11 +136,11 @@ class OrgListCommand extends command_1.SfdxCommand {
|
|
|
136
136
|
let scratchOrgColumns = {
|
|
137
137
|
defaultMarker: {
|
|
138
138
|
header: '',
|
|
139
|
-
get: (data) =>
|
|
139
|
+
get: (data) => data.defaultMarker ?? '',
|
|
140
140
|
},
|
|
141
141
|
alias: {
|
|
142
142
|
header: 'ALIAS',
|
|
143
|
-
get: (data) =>
|
|
143
|
+
get: (data) => data.alias ?? '',
|
|
144
144
|
},
|
|
145
145
|
username: { header: 'USERNAME' },
|
|
146
146
|
orgId: { header: 'ORG ID' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/force/org/list.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2BAAyB;AAEzB,iDAAsE;AACtE,2CAA8G;AAC9G,yCAAyC;AAEzC,6DAAqF;AACrF,mEAAiE;AAGjE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;AAEzE,MAAa,cAAe,SAAQ,qBAAW;IAA/C;;QA2LU,iBAAY,GAAG,CAAC,UAA8B,EAAY,EAAE;YAClE,IAAI,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC;YACzC,OAAO,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;QACjD,CAAC,CAAC;IACJ,CAAC;IAvKQ,KAAK,CAAC,GAAG;QACd,IAAI,SAAS,GAAa,EAAE,CAAC;QAC7B,IAAI;YACF,SAAS,GAAG,CAAC,MAAM,eAAQ,CAAC,qBAAqB,EAAE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AAK,CAAC,OAAO,CAAC;QACrB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;KAC5C,CAAC;IACF,GAAG,EAAE,eAAK,CAAC,OAAO,CAAC;QACjB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC;KACxC,CAAC;IACF,KAAK,EAAE,eAAK,CAAC,OAAO,CAAC;QACnB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC;KAC1C,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,OAAO,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC;QAC5C,SAAS,EAAE,CAAC,OAAO,CAAC;KACrB,CAAC;IACF,oBAAoB,EAAE,eAAK,CAAC,OAAO,CAAC;QAClC,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;KACzD,CAAC;CACH,CAAC"}
|
|
@@ -18,7 +18,6 @@ const messages = core_1.Messages.loadMessages('@salesforce/plugin-org', 'open');
|
|
|
18
18
|
const sharedMessages = core_1.Messages.loadMessages('@salesforce/plugin-org', 'messages');
|
|
19
19
|
class OrgOpenCommand extends command_1.SfdxCommand {
|
|
20
20
|
async run() {
|
|
21
|
-
var _a;
|
|
22
21
|
const frontDoorUrl = await this.buildFrontdoorUrl();
|
|
23
22
|
const url = this.flags.path ? `${frontDoorUrl}&retURL=${this.flags.path}` : frontDoorUrl;
|
|
24
23
|
const orgId = this.org.getOrgId();
|
|
@@ -50,7 +49,7 @@ class OrgOpenCommand extends command_1.SfdxCommand {
|
|
|
50
49
|
}
|
|
51
50
|
catch (err) {
|
|
52
51
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call
|
|
53
|
-
if (
|
|
52
|
+
if (err.message?.includes('timeout')) {
|
|
54
53
|
const domain = `https://${/https?:\/\/([^.]*)/.exec(url)[1]}.lightning.force.com`;
|
|
55
54
|
const timeout = new kit_1.Duration(new kit_1.Env().getNumber('SFDX_DOMAIN_RETRY', 240), kit_1.Duration.Unit.SECONDS);
|
|
56
55
|
this.logger.debug(`Did not find IP for ${domain} after ${timeout.seconds} seconds`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open.js","sourceRoot":"","sources":["../../../../src/commands/force/org/open.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2BAAyB;AAEzB,iDAAsE;AACtE,2CAAmE;AACnE,yCAAgD;AAChD,6BAA8B;AAC9B,iDAAgD;AAEhD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;AACzE,MAAM,cAAc,GAAG,eAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,UAAU,CAAC,CAAC;AAEnF,MAAa,cAAe,SAAQ,qBAAW;IAyBtC,KAAK,CAAC,GAAG
|
|
1
|
+
{"version":3,"file":"open.js","sourceRoot":"","sources":["../../../../src/commands/force/org/open.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2BAAyB;AAEzB,iDAAsE;AACtE,2CAAmE;AACnE,yCAAgD;AAChD,6BAA8B;AAC9B,iDAAgD;AAEhD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;AACzE,MAAM,cAAc,GAAG,eAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,UAAU,CAAC,CAAC;AAEnF,MAAa,cAAe,SAAQ,qBAAW;IAyBtC,KAAK,CAAC,GAAG;QACd,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpD,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAA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AE,eAAK,CAAC,OAAO,CAAC;QACrB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;KAC5C,CAAC;CACH,CAAC"}
|
|
@@ -23,7 +23,6 @@ class OrgStatusCommand extends command_1.SfdxCommand {
|
|
|
23
23
|
this.ux.log(sandboxReporter_1.SandboxReporter.sandboxProgress(results));
|
|
24
24
|
});
|
|
25
25
|
lifecycle.on(core_1.SandboxEvents.EVENT_RESULT, async (results) => {
|
|
26
|
-
var _a;
|
|
27
26
|
const resultMsg = `Sandbox ${results.sandboxProcessObj.SandboxName}(${results.sandboxProcessObj.Id}) is ready for use.`;
|
|
28
27
|
this.ux.log(resultMsg);
|
|
29
28
|
const { data } = sandboxReporter_1.SandboxReporter.logSandboxProcessResult(results);
|
|
@@ -32,7 +31,7 @@ class OrgStatusCommand extends command_1.SfdxCommand {
|
|
|
32
31
|
key: { header: 'Name' },
|
|
33
32
|
value: { header: 'Value' },
|
|
34
33
|
});
|
|
35
|
-
if (
|
|
34
|
+
if (results.sandboxRes?.authUserName) {
|
|
36
35
|
if (this.flags.setalias) {
|
|
37
36
|
const stateAggregator = await core_1.StateAggregator.getInstance();
|
|
38
37
|
stateAggregator.aliases.set(this.flags.setalias, results.sandboxRes.authUserName);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../../../src/commands/force/org/status.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2BAAyB;AACzB,iDAAsE;AACtE,2CAU0B;AAC1B,yCAA2C;AAC3C,qEAAkE;AAElE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;AAE3E,MAAa,gBAAiB,SAAQ,qBAAW;IA4BxC,KAAK,CAAC,GAAG;QACd,IAAI,CAAC,MAAM,CAAC,KA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,CAAC,UAAU,CAAC,0BAA0B,CAAC;KAC7D,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACrB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC;KACnD,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,OAAO,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC;QAC9C,GAAG,EAAE,cAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;QACxB,OAAO,EAAE,cAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;KAC7B,CAAC;CACH,CAAC"}
|
|
@@ -60,8 +60,7 @@ class OrgListUtil {
|
|
|
60
60
|
const orgIdsGroupedByDevHub = scratchOrgs
|
|
61
61
|
.filter((fields) => fields.devHubUsername)
|
|
62
62
|
.reduce((accum, fields) => {
|
|
63
|
-
|
|
64
|
-
accum[fields.devHubUsername] = [...((_a = accum[fields.devHubUsername]) !== null && _a !== void 0 ? _a : []), core_1.sfdc.trimTo15(fields.orgId)];
|
|
63
|
+
accum[fields.devHubUsername] = [...(accum[fields.devHubUsername] ?? []), core_1.sfdc.trimTo15(fields.orgId)];
|
|
65
64
|
return accum;
|
|
66
65
|
}, {});
|
|
67
66
|
const updatedContents = (await Promise.all(Object.entries(orgIdsGroupedByDevHub).map(async ([devHubUsername, orgIds]) => OrgListUtil.retrieveScratchOrgInfoFromDevHub(devHubUsername, orgIds)))).reduce((accumulator, iterator) => [...accumulator, ...iterator], []);
|
|
@@ -78,7 +77,7 @@ class OrgListUtil {
|
|
|
78
77
|
try {
|
|
79
78
|
const orgUsername = (0, path_1.basename)(fileName, '.json');
|
|
80
79
|
const auth = await core_1.AuthInfo.create({ username: orgUsername });
|
|
81
|
-
const userId = auth
|
|
80
|
+
const userId = auth?.getFields().userId;
|
|
82
81
|
// no userid? Definitely an org primary user
|
|
83
82
|
if (!userId) {
|
|
84
83
|
return auth;
|
|
@@ -249,7 +248,6 @@ class OrgListUtil {
|
|
|
249
248
|
* @returns {Promise.<string>}
|
|
250
249
|
*/
|
|
251
250
|
static async determineConnectedStatusForNonScratchOrg(username) {
|
|
252
|
-
var _a, _b, _c;
|
|
253
251
|
try {
|
|
254
252
|
const org = await core_1.Org.create({ aliasOrUsername: username });
|
|
255
253
|
if (org.getField(core_1.Org.Fields.DEV_HUB_USERNAME)) {
|
|
@@ -264,7 +262,7 @@ class OrgListUtil {
|
|
|
264
262
|
const logger = await OrgListUtil.retrieveLogger();
|
|
265
263
|
logger.trace(`error refreshing auth for org: ${org.getUsername()}`);
|
|
266
264
|
logger.trace(error);
|
|
267
|
-
return (
|
|
265
|
+
return (error.code ?? error.message);
|
|
268
266
|
}
|
|
269
267
|
}
|
|
270
268
|
catch (err) {
|
|
@@ -272,7 +270,7 @@ class OrgListUtil {
|
|
|
272
270
|
const logger = await OrgListUtil.retrieveLogger();
|
|
273
271
|
logger.trace(`error refreshing auth for org: ${username}`);
|
|
274
272
|
logger.trace(error);
|
|
275
|
-
return (
|
|
273
|
+
return (error.code ?? error.message ?? 'Unknown');
|
|
276
274
|
}
|
|
277
275
|
}
|
|
278
276
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orgListUtil.js","sourceRoot":"","sources":["../../src/shared/orgListUtil.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,+BAAsC;AACtC,kCAAkC;AAElC,2CAAkH;AAGlH,6CAA2C;AAC3C,mCAA6C;AAgB7C,MAAa,WAAW;IAGf,MAAM,CAAC,KAAK,CAAC,cAAc;QAChC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE;YACvB,WAAW,CAAC,MAAM,GAAG,MAAM,aAAM,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;SACxD;QACD,OAAO,WAAW,CAAC,MAAM,CAAC;IAC5B,CAAC;IAED;;;;;;;OAOG;IACI,MAAM,CAAC,KAAK,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AM,CAAC,EAAE,eAAe,EAAE,QAAQ,EAAE,CAAC,CAAC;YAE5D,IAAI,GAAG,CAAC,QAAQ,CAAC,UAAG,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE;gBAC7C,OAAO;aACR;YAED,IAAI;gBACF,MAAM,GAAG,CAAC,WAAW,EAAE,CAAC;gBACxB,OAAO,WAAW,CAAC;aACpB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,KAAK,GAAG,GAAc,CAAC;gBAC7B,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,cAAc,EAAE,CAAC;gBAClD,MAAM,CAAC,KAAK,CAAC,kCAAkC,GAAG,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;gBACpE,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;gBACpB,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,OAAO,CAAW,CAAC;aAChD;SACF;QAAC,OAAO,GAAG,EAAE;YACZ,MAAM,KAAK,GAAG,GAAc,CAAC;YAC7B,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,cAAc,EAAE,CAAC;YAClD,MAAM,CAAC,KAAK,CAAC,kCAAkC,QAAQ,EAAE,CAAC,CAAC;YAC3D,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACpB,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,OAAO,IAAI,SAAS,CAAW,CAAC;SAC7D;IACH,CAAC;CACF;AArTD,kCAqTC;AAEM,MAAM,yBAAyB,GAAG,CAAC,GAAuB,EAAW,EAAE;IAC5E,OAAO,GAAG,CAAC,MAAM,KAAK,QAAQ,CAAC;AACjC,CAAC,CAAC;AAFW,QAAA,yBAAyB,6BAEpC"}
|
package/lib/shared/utils.js
CHANGED
|
@@ -7,7 +7,7 @@ const getAliasByUsername = async (username) => {
|
|
|
7
7
|
const stateAggregator = await core_1.StateAggregator.getInstance();
|
|
8
8
|
const keys = stateAggregator.aliases.getAll(username);
|
|
9
9
|
// use the most recently added alias for that username
|
|
10
|
-
return
|
|
10
|
+
return keys?.length ? keys[keys.length - 1] : undefined;
|
|
11
11
|
};
|
|
12
12
|
exports.getAliasByUsername = getAliasByUsername;
|
|
13
13
|
const openUrl = async (url, options) => {
|
package/lib/shared/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/shared/utils.ts"],"names":[],"mappings":";;;AAOA,2CAAmD;AACnD,6BAA6B;AAEtB,MAAM,kBAAkB,GAAG,KAAK,EAAE,QAAgB,EAAmB,EAAE;IAC5E,MAAM,eAAe,GAAG,MAAM,sBAAe,CAAC,WAAW,EAAE,CAAC;IAC5D,MAAM,IAAI,GAAG,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACtD,sDAAsD;IACtD,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/shared/utils.ts"],"names":[],"mappings":";;;AAOA,2CAAmD;AACnD,6BAA6B;AAEtB,MAAM,kBAAkB,GAAG,KAAK,EAAE,QAAgB,EAAmB,EAAE;IAC5E,MAAM,eAAe,GAAG,MAAM,sBAAe,CAAC,WAAW,EAAE,CAAC;IAC5D,MAAM,IAAI,GAAG,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACtD,sDAAsD;IACtD,OAAO,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC1D,CAAC,CAAC;AALW,QAAA,kBAAkB,sBAK7B;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,GAAW,EAAE,OAAqB,EAAyB,EAAE;IACzF,OAAO,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAC5B,CAAC,CAAC;AAFW,QAAA,OAAO,WAElB"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.1.7","commands":{"force:org:clone":{"id":"force:org:clone","description":"clone a sandbox org\nThere are two ways to clone a sandbox: either specify a sandbox definition file or provide key=value pairs at the command line. Key-value pairs at the command-line override their equivalent sandbox definition file values. In either case, you must specify both the \"SandboxName\" and \"SourceSandboxName\" options to set the names of the new sandbox and the one being cloned, respectively. \n\nSet the --targetusername (-u) parameter to a production org with sandbox licenses. The --type (-t) parameter is required and must be set to \"sandbox\".","strict":true,"usage":"<%= command.id %> [name=value...] -t sandbox [-f <filepath>] [-s] [-a <string>] [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:clone -t sandbox -f config/dev-sandbox-def.json -u prodOrg -a MyDevSandbox","$ sfdx force:org:clone -t sandbox SandboxName=NewClonedSandbox SourceSandboxName=ExistingSandbox -u prodOrg -a MyDevSandbox"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"type":{"name":"type","type":"option","char":"t","description":"type of org to create","required":true,"helpValue":"(sandbox)","multiple":false,"options":["sandbox"]},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to the sandbox definition file","multiple":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the cloned org as your default","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"alias for the cloned org","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"number of minutes to wait while polling for status","multiple":false,"default":{"quantity":6,"unit":0}}},"args":[],"requiresProject":false,"requiresUsername":true,"varargs":true,"SANDBOXDEF_SRC_SANDBOXNAME":"SourceSandboxName","flagsConfig":{"type":{"kind":"enum","helpValue":"(sandbox)","char":"t","description":"type of org to create","required":true,"options":["sandbox"],"input":[],"multiple":false,"type":"option"},"definitionfile":{"kind":"filepath","char":"f","description":"path to the sandbox definition file","input":[],"multiple":false,"type":"option"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the cloned org as your default","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"alias for the cloned org","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"number of minutes to wait while polling for status","longDescription":"Sets the streaming client socket timeout, in minutes. If the streaming client socket has no contact from the server for a number of minutes, the client exits. Specify a longer wait time if timeouts occur frequently.","min":{"quantity":2,"unit":0},"default":{"quantity":6,"unit":0},"input":[],"multiple":false,"type":"option"}}},"force:org:create":{"id":"force:org:create","description":"create a scratch or sandbox org \nCreates a scratch org or a sandbox org using the values specified in a configuration file or key=value pairs that you specify on the command line. Values specified on the command line override values in the configuration file. Specify a configuration file or provide key=value pairs while creating a scratch org or a sandbox. When creating scratch orgs, —targetdevhubusername (-v) must be a Dev Hub org. When creating sandboxes, the --targetusername (-u) must be a production org with sandbox licenses. The —type (-t) is required if creating a sandbox.\n\n","strict":true,"usage":"<%= command.id %> [name=value...] [-t scratch|sandbox] [-f <filepath>] [-n] [-c] [-i <string>] [-s] [-a <string>] [-w <minutes>] [-d <integer>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":["force:org:beta:create"],"examples":["$ sfdx force:org:create -f config/enterprise-scratch-def.json -a MyScratchOrg","$ sfdx force:org:create edition=Developer -a MyScratchOrg -s -v devHub","$ sfdx force:org:create -f config/enterprise-scratch-def.json -a ScratchOrgWithOverrides username=testuser1@mycompany.org","$ sfdx force:org:create -t sandbox -f config/dev-sandbox-def.json -a MyDevSandbox -u prodOrg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"type":{"name":"type","type":"option","char":"t","description":"type of org to create","helpValue":"(scratch|sandbox)","multiple":false,"options":["scratch","sandbox"],"default":"scratch"},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to an org definition file","multiple":false},"nonamespace":{"name":"nonamespace","type":"boolean","char":"n","description":"create the scratch org with no namespace","allowNo":false},"noancestors":{"name":"noancestors","type":"boolean","char":"c","description":"do not include second-generation package ancestors in the scratch org","allowNo":false},"clientid":{"name":"clientid","type":"option","char":"i","description":"connected app consumer key; not supported for sandbox org creation","multiple":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the created org as the default username","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"alias for the created org","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"the streaming client socket timeout (in minutes)","multiple":false,"default":{"quantity":6,"unit":0}},"durationdays":{"name":"durationdays","type":"option","char":"d","description":"duration of the scratch org (in days) (default:7, min:1, max:30)","multiple":false,"default":7},"retry":{"name":"retry","type":"option","description":"Number of scratch org auth retries after scratch org is successfully signed up.","hidden":true,"multiple":false,"default":0}},"args":[],"supportsDevhubUsername":true,"supportsUsername":true,"varargs":true,"flagsConfig":{"type":{"kind":"enum","helpValue":"(scratch|sandbox)","char":"t","description":"type of org to create","options":["scratch","sandbox"],"default":"scratch","input":[],"multiple":false,"type":"option"},"definitionfile":{"kind":"filepath","char":"f","description":"path to an org definition file","input":[],"multiple":false,"type":"option"},"nonamespace":{"kind":"boolean","char":"n","description":"create the scratch org with no namespace","allowNo":false,"type":"boolean"},"noancestors":{"kind":"boolean","char":"c","description":"do not include second-generation package ancestors in the scratch org","allowNo":false,"type":"boolean"},"clientid":{"kind":"string","char":"i","description":"connected app consumer key; not supported for sandbox org creation","input":[],"multiple":false,"type":"option"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the created org as the default username","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"alias for the created org","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"the streaming client socket timeout (in minutes)","min":6,"default":{"quantity":6,"unit":0},"input":[],"multiple":false,"type":"option"},"durationdays":{"kind":"integer","char":"d","description":"duration of the scratch org (in days) (default:7, min:1, max:30)","min":1,"max":30,"default":7,"input":[],"multiple":false,"type":"option"},"retry":{"kind":"number","hidden":true,"default":0,"max":10,"description":"Number of scratch org auth retries after scratch org is successfully signed up.","input":[],"multiple":false,"type":"option"}}},"force:org:delete":{"id":"force:org:delete","description":"mark a scratch or sandbox org for deletion \nTo mark the org for deletion without being prompted to confirm, specify --noprompt.","strict":true,"usage":"<%= command.id %> [-p] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:delete -u me@my.org","$ sfdx force:org:delete -u MyOrgAlias -p"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"no prompt to confirm deletion","allowNo":false}},"args":[],"requiresUsername":true,"supportsDevhubUsername":true,"flagsConfig":{"noprompt":{"kind":"boolean","char":"p","description":"no prompt to confirm deletion","allowNo":false,"type":"boolean"}}},"force:org:display":{"id":"force:org:display","description":"get the description for the current or target org\nOutput includes your access token, client Id, connected status, org ID, instance URL, username, and alias, if applicable.\nUse --verbose to include the SFDX auth URL. WARNING: The SFDX auth URL contains sensitive information, such as a refresh token that can be used to access an org. Don't share or distribute this URL or token.\nIncluding --verbose displays the sfdxAuthUrl property only if you authenticated to the org using auth:web:login (not auth:jwt:grant)","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:display","$ sfdx force:org:display -u me@my.org","$ sfdx force:org:display -u TestOrg1 --json","$ sfdx force:org:display -u TestOrg1 --json > tmp/MyOrgDesc.json"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"emit additional command output to stdout","allowNo":false}},"args":[],"requiresUsername":true,"flagsConfig":{"verbose":{"type":"boolean","kind":"boolean","description":"emit additional command output to stdout","longDescription":"Emit additional command output to stdout.","allowNo":false}}},"force:org:list":{"id":"force:org:list","description":"list all orgs you’ve created or authenticated to","strict":true,"usage":"<%= command.id %> [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:list","$ sfdx force:org:list --verbose --json","$ sfdx force:org:list --verbose --json > tmp/MyOrgList.json"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"verbose":{"name":"verbose","type":"boolean","description":"list more information about each org","allowNo":false},"all":{"name":"all","type":"boolean","description":"include expired, deleted, and unknown-status scratch orgs","allowNo":false},"clean":{"name":"clean","type":"boolean","description":"remove all local org authorizations for non-active scratch orgs. Use auth:logout to remove non-scratch orgs","allowNo":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","allowNo":false,"dependsOn":["clean"]},"skipconnectionstatus":{"name":"skipconnectionstatus","type":"boolean","description":"skip retrieving the connection status of non-scratch orgs","allowNo":false}},"args":[],"requiresProject":false,"flagsConfig":{"verbose":{"description":"list more information about each org","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false},"all":{"kind":"boolean","description":"include expired, deleted, and unknown-status scratch orgs","allowNo":false,"type":"boolean"},"clean":{"kind":"boolean","description":"remove all local org authorizations for non-active scratch orgs. Use auth:logout to remove non-scratch orgs","allowNo":false,"type":"boolean"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for confirmation","dependsOn":["clean"],"allowNo":false,"type":"boolean"},"skipconnectionstatus":{"kind":"boolean","description":"skip retrieving the connection status of non-scratch orgs","allowNo":false,"type":"boolean"}}},"force:org:open":{"id":"force:org:open","description":"open your default scratch org, or another specified org\nTo open a specific page, specify the portion of the URL after \"https://MyDomainName.my.salesforce.com/\" as --path.\nFor example, specify \"--path lightning\" to open Lightning Experience, or specify \"--path /apex/YourPage\" to open a Visualforce page.\nTo generate a URL but not launch it in your browser, specify --urlonly.\nTo open in a specific browser, use the --browser parameter. Supported browsers are \"chrome\", \"edge\", and \"firefox\". If you don't specify --browser, the org opens in your default browser.","strict":true,"usage":"<%= command.id %> [-b <string> | -r] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:open","$ sfdx force:org:open -u me@my.org","$ sfdx force:org:open -u MyTestOrg1","$ sfdx force:org:open -r -p lightning","$ sfdx force:org:open -u me@my.org -b firefox"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"browser":{"name":"browser","type":"option","char":"b","description":"browser where the org opens","multiple":false,"options":["chrome","edge","firefox"],"exclusive":["urlonly"]},"path":{"name":"path","type":"option","char":"p","description":"navigation URL path","multiple":false},"urlonly":{"name":"urlonly","type":"boolean","char":"r","description":"display navigation URL, but don’t launch browser","allowNo":false}},"args":[],"requiresUsername":true,"flagsConfig":{"browser":{"kind":"string","char":"b","description":"browser where the org opens","options":["chrome","edge","firefox"],"exclusive":["urlonly"],"input":[],"multiple":false,"type":"option"},"path":{"kind":"string","char":"p","description":"navigation URL path","env":"FORCE_OPEN_URL","input":[],"multiple":false,"type":"option"},"urlonly":{"kind":"boolean","char":"r","description":"display navigation URL, but don’t launch browser","allowNo":false,"type":"boolean"}}},"force:org:status":{"id":"force:org:status","description":"report status of sandbox creation or clone and authenticate to it\nUse this command to check the status of your sandbox creation or clone and, if the sandbox is ready, authenticate to it.\nUse the --wait (-w) parameter to specify the number of minutes that the command waits for the sandbox creation or clone to complete before returning control of the terminal to you.\nSet the --targetusername (-u) parameter to the username or alias of the production org that contains the sandbox license.","strict":true,"usage":"<%= command.id %> -n <string> [-s] [-a <string>] [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:status --sandboxname DevSbx1 --setalias MySandbox -u prodOrg","$ sfdx force:org:status --sandboxname DevSbx1 --wait 45 --setdefaultusername -u prodOrg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"sandboxname":{"name":"sandboxname","type":"option","char":"n","description":"name of the sandbox org to check status for","required":true,"multiple":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the created or cloned org as your default","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"alias for the created or cloned org","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"number of minutes to wait while polling for status","multiple":false,"default":{"quantity":6,"unit":0}}},"args":[],"requiresProject":false,"requiresUsername":true,"flagsConfig":{"sandboxname":{"kind":"string","char":"n","description":"name of the sandbox org to check status for","required":true,"input":[],"multiple":false,"type":"option"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the created or cloned org as your default","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"alias for the created or cloned org","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"number of minutes to wait while polling for status","min":{"quantity":2,"unit":0},"default":{"quantity":6,"unit":0},"input":[],"multiple":false,"type":"option"}}}}}
|
|
1
|
+
{"version":"2.2.1","commands":{"force:org:clone":{"id":"force:org:clone","description":"clone a sandbox org\nThere are two ways to clone a sandbox: either specify a sandbox definition file or provide key=value pairs at the command line. Key-value pairs at the command-line override their equivalent sandbox definition file values. In either case, you must specify both the \"SandboxName\" and \"SourceSandboxName\" options to set the names of the new sandbox and the one being cloned, respectively. \n\nSet the --targetusername (-u) parameter to a production org with sandbox licenses. The --type (-t) parameter is required and must be set to \"sandbox\".","strict":true,"usage":"<%= command.id %> [name=value...] -t sandbox [-f <filepath>] [-s] [-a <string>] [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:clone -t sandbox -f config/dev-sandbox-def.json -u prodOrg -a MyDevSandbox","$ sfdx force:org:clone -t sandbox SandboxName=NewClonedSandbox SourceSandboxName=ExistingSandbox -u prodOrg -a MyDevSandbox"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"type":{"name":"type","type":"option","char":"t","description":"type of org to create","required":true,"helpValue":"(sandbox)","multiple":false,"options":["sandbox"]},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to the sandbox definition file","multiple":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the cloned org as your default","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"alias for the cloned org","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"number of minutes to wait while polling for status","multiple":false,"default":{"quantity":6,"unit":0}}},"args":[],"requiresProject":false,"requiresUsername":true,"varargs":true,"SANDBOXDEF_SRC_SANDBOXNAME":"SourceSandboxName","flagsConfig":{"type":{"kind":"enum","helpValue":"(sandbox)","char":"t","description":"type of org to create","required":true,"options":["sandbox"],"input":[],"multiple":false,"type":"option"},"definitionfile":{"kind":"filepath","char":"f","description":"path to the sandbox definition file","input":[],"multiple":false,"type":"option"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the cloned org as your default","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"alias for the cloned org","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"number of minutes to wait while polling for status","longDescription":"Sets the streaming client socket timeout, in minutes. If the streaming client socket has no contact from the server for a number of minutes, the client exits. Specify a longer wait time if timeouts occur frequently.","min":{"quantity":2,"unit":0},"default":{"quantity":6,"unit":0},"input":[],"multiple":false,"type":"option"}}},"force:org:create":{"id":"force:org:create","description":"create a scratch or sandbox org \nCreates a scratch org or a sandbox org using the values specified in a configuration file or key=value pairs that you specify on the command line. Values specified on the command line override values in the configuration file. Specify a configuration file or provide key=value pairs while creating a scratch org or a sandbox. When creating scratch orgs, —targetdevhubusername (-v) must be a Dev Hub org. When creating sandboxes, the --targetusername (-u) must be a production org with sandbox licenses. The —type (-t) is required if creating a sandbox.\n\n","strict":true,"usage":"<%= command.id %> [name=value...] [-t scratch|sandbox] [-f <filepath>] [-n] [-c] [-i <string>] [-s] [-a <string>] [-w <minutes>] [-d <integer>] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":["force:org:beta:create"],"examples":["$ sfdx force:org:create -f config/enterprise-scratch-def.json -a MyScratchOrg","$ sfdx force:org:create edition=Developer -a MyScratchOrg -s -v devHub","$ sfdx force:org:create -f config/enterprise-scratch-def.json -a ScratchOrgWithOverrides username=testuser1@mycompany.org","$ sfdx force:org:create -t sandbox -f config/dev-sandbox-def.json -a MyDevSandbox -u prodOrg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"type":{"name":"type","type":"option","char":"t","description":"type of org to create","helpValue":"(scratch|sandbox)","multiple":false,"options":["scratch","sandbox"],"default":"scratch"},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to an org definition file","multiple":false},"nonamespace":{"name":"nonamespace","type":"boolean","char":"n","description":"create the scratch org with no namespace","allowNo":false},"noancestors":{"name":"noancestors","type":"boolean","char":"c","description":"do not include second-generation package ancestors in the scratch org","allowNo":false},"clientid":{"name":"clientid","type":"option","char":"i","description":"connected app consumer key; not supported for sandbox org creation","multiple":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the created org as the default username","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"alias for the created org","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"the streaming client socket timeout (in minutes)","multiple":false,"default":{"quantity":6,"unit":0}},"durationdays":{"name":"durationdays","type":"option","char":"d","description":"duration of the scratch org (in days) (default:7, min:1, max:30)","multiple":false,"default":7},"retry":{"name":"retry","type":"option","description":"Number of scratch org auth retries after scratch org is successfully signed up.","hidden":true,"multiple":false,"default":0}},"args":[],"supportsDevhubUsername":true,"supportsUsername":true,"varargs":true,"flagsConfig":{"type":{"kind":"enum","helpValue":"(scratch|sandbox)","char":"t","description":"type of org to create","options":["scratch","sandbox"],"default":"scratch","input":[],"multiple":false,"type":"option"},"definitionfile":{"kind":"filepath","char":"f","description":"path to an org definition file","input":[],"multiple":false,"type":"option"},"nonamespace":{"kind":"boolean","char":"n","description":"create the scratch org with no namespace","allowNo":false,"type":"boolean"},"noancestors":{"kind":"boolean","char":"c","description":"do not include second-generation package ancestors in the scratch org","allowNo":false,"type":"boolean"},"clientid":{"kind":"string","char":"i","description":"connected app consumer key; not supported for sandbox org creation","input":[],"multiple":false,"type":"option"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the created org as the default username","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"alias for the created org","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"the streaming client socket timeout (in minutes)","min":6,"default":{"quantity":6,"unit":0},"input":[],"multiple":false,"type":"option"},"durationdays":{"kind":"integer","char":"d","description":"duration of the scratch org (in days) (default:7, min:1, max:30)","min":1,"max":30,"default":7,"input":[],"multiple":false,"type":"option"},"retry":{"kind":"number","hidden":true,"default":0,"max":10,"description":"Number of scratch org auth retries after scratch org is successfully signed up.","input":[],"multiple":false,"type":"option"}}},"force:org:delete":{"id":"force:org:delete","description":"mark a scratch or sandbox org for deletion \nTo mark the org for deletion without being prompted to confirm, specify --noprompt.","strict":true,"usage":"<%= command.id %> [-p] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:delete -u me@my.org","$ sfdx force:org:delete -u MyOrgAlias -p"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"no prompt to confirm deletion","allowNo":false}},"args":[],"requiresUsername":true,"supportsDevhubUsername":true,"flagsConfig":{"noprompt":{"kind":"boolean","char":"p","description":"no prompt to confirm deletion","allowNo":false,"type":"boolean"}}},"force:org:display":{"id":"force:org:display","description":"get the description for the current or target org\nOutput includes your access token, client Id, connected status, org ID, instance URL, username, and alias, if applicable.\nUse --verbose to include the SFDX auth URL. WARNING: The SFDX auth URL contains sensitive information, such as a refresh token that can be used to access an org. Don't share or distribute this URL or token.\nIncluding --verbose displays the sfdxAuthUrl property only if you authenticated to the org using auth:web:login (not auth:jwt:grant)","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:display","$ sfdx force:org:display -u me@my.org","$ sfdx force:org:display -u TestOrg1 --json","$ sfdx force:org:display -u TestOrg1 --json > tmp/MyOrgDesc.json"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"emit additional command output to stdout","allowNo":false}},"args":[],"requiresUsername":true,"flagsConfig":{"verbose":{"type":"boolean","kind":"boolean","description":"emit additional command output to stdout","longDescription":"Emit additional command output to stdout.","allowNo":false}}},"force:org:list":{"id":"force:org:list","description":"list all orgs you’ve created or authenticated to","strict":true,"usage":"<%= command.id %> [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:list","$ sfdx force:org:list --verbose --json","$ sfdx force:org:list --verbose --json > tmp/MyOrgList.json"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"verbose":{"name":"verbose","type":"boolean","description":"list more information about each org","allowNo":false},"all":{"name":"all","type":"boolean","description":"include expired, deleted, and unknown-status scratch orgs","allowNo":false},"clean":{"name":"clean","type":"boolean","description":"remove all local org authorizations for non-active scratch orgs. Use auth:logout to remove non-scratch orgs","allowNo":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","allowNo":false,"dependsOn":["clean"]},"skipconnectionstatus":{"name":"skipconnectionstatus","type":"boolean","description":"skip retrieving the connection status of non-scratch orgs","allowNo":false}},"args":[],"requiresProject":false,"flagsConfig":{"verbose":{"description":"list more information about each org","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false},"all":{"kind":"boolean","description":"include expired, deleted, and unknown-status scratch orgs","allowNo":false,"type":"boolean"},"clean":{"kind":"boolean","description":"remove all local org authorizations for non-active scratch orgs. Use auth:logout to remove non-scratch orgs","allowNo":false,"type":"boolean"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for confirmation","dependsOn":["clean"],"allowNo":false,"type":"boolean"},"skipconnectionstatus":{"kind":"boolean","description":"skip retrieving the connection status of non-scratch orgs","allowNo":false,"type":"boolean"}}},"force:org:open":{"id":"force:org:open","description":"open your default scratch org, or another specified org\nTo open a specific page, specify the portion of the URL after \"https://MyDomainName.my.salesforce.com/\" as --path.\nFor example, specify \"--path lightning\" to open Lightning Experience, or specify \"--path /apex/YourPage\" to open a Visualforce page.\nTo generate a URL but not launch it in your browser, specify --urlonly.\nTo open in a specific browser, use the --browser parameter. Supported browsers are \"chrome\", \"edge\", and \"firefox\". If you don't specify --browser, the org opens in your default browser.","strict":true,"usage":"<%= command.id %> [-b <string> | -r] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:open","$ sfdx force:org:open -u me@my.org","$ sfdx force:org:open -u MyTestOrg1","$ sfdx force:org:open -r -p lightning","$ sfdx force:org:open -u me@my.org -b firefox"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"browser":{"name":"browser","type":"option","char":"b","description":"browser where the org opens","multiple":false,"options":["chrome","edge","firefox"],"exclusive":["urlonly"]},"path":{"name":"path","type":"option","char":"p","description":"navigation URL path","multiple":false},"urlonly":{"name":"urlonly","type":"boolean","char":"r","description":"display navigation URL, but don’t launch browser","allowNo":false}},"args":[],"requiresUsername":true,"flagsConfig":{"browser":{"kind":"string","char":"b","description":"browser where the org opens","options":["chrome","edge","firefox"],"exclusive":["urlonly"],"input":[],"multiple":false,"type":"option"},"path":{"kind":"string","char":"p","description":"navigation URL path","env":"FORCE_OPEN_URL","input":[],"multiple":false,"type":"option"},"urlonly":{"kind":"boolean","char":"r","description":"display navigation URL, but don’t launch browser","allowNo":false,"type":"boolean"}}},"force:org:status":{"id":"force:org:status","description":"report status of sandbox creation or clone and authenticate to it\nUse this command to check the status of your sandbox creation or clone and, if the sandbox is ready, authenticate to it.\nUse the --wait (-w) parameter to specify the number of minutes that the command waits for the sandbox creation or clone to complete before returning control of the terminal to you.\nSet the --targetusername (-u) parameter to the username or alias of the production org that contains the sandbox license.","strict":true,"usage":"<%= command.id %> -n <string> [-s] [-a <string>] [-w <minutes>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-org","pluginAlias":"@salesforce/plugin-org","pluginType":"core","aliases":[],"examples":["$ sfdx force:org:status --sandboxname DevSbx1 --setalias MySandbox -u prodOrg","$ sfdx force:org:status --sandboxname DevSbx1 --wait 45 --setdefaultusername -u prodOrg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"sandboxname":{"name":"sandboxname","type":"option","char":"n","description":"name of the sandbox org to check status for","required":true,"multiple":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the created or cloned org as your default","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"alias for the created or cloned org","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"number of minutes to wait while polling for status","multiple":false,"default":{"quantity":6,"unit":0}}},"args":[],"requiresProject":false,"requiresUsername":true,"flagsConfig":{"sandboxname":{"kind":"string","char":"n","description":"name of the sandbox org to check status for","required":true,"input":[],"multiple":false,"type":"option"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the created or cloned org as your default","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"alias for the created or cloned org","input":[],"multiple":false,"type":"option"},"wait":{"kind":"minutes","char":"w","description":"number of minutes to wait while polling for status","min":{"quantity":2,"unit":0},"default":{"quantity":6,"unit":0},"input":[],"multiple":false,"type":"option"}}}}}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-org",
|
|
3
3
|
"description": "Commands to interact with Salesforce orgs",
|
|
4
|
-
"version": "2.1
|
|
4
|
+
"version": "2.2.1",
|
|
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.
|
|
10
|
-
"@salesforce/command": "^5.2.
|
|
11
|
-
"@salesforce/core": "^3.
|
|
12
|
-
"@salesforce/kit": "^1.
|
|
9
|
+
"@oclif/core": "^1.16.1",
|
|
10
|
+
"@salesforce/command": "^5.2.6",
|
|
11
|
+
"@salesforce/core": "^3.30.0",
|
|
12
|
+
"@salesforce/kit": "^1.6.0",
|
|
13
13
|
"open": "8.4.0",
|
|
14
14
|
"tslib": "^2"
|
|
15
15
|
},
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"@oclif/dev-cli": "^1",
|
|
18
18
|
"@oclif/plugin-command-snapshot": "^3.1.3",
|
|
19
19
|
"@oclif/test": "^2.1.1",
|
|
20
|
-
"@salesforce/cli-plugins-testkit": "^2.3.
|
|
21
|
-
"@salesforce/dev-config": "^3.0
|
|
22
|
-
"@salesforce/dev-scripts": "^2.0.
|
|
20
|
+
"@salesforce/cli-plugins-testkit": "^2.3.13",
|
|
21
|
+
"@salesforce/dev-config": "^3.1.0",
|
|
22
|
+
"@salesforce/dev-scripts": "^2.0.4",
|
|
23
23
|
"@salesforce/plugin-command-reference": "^1.3.0",
|
|
24
24
|
"@salesforce/prettier-config": "^0.0.2",
|
|
25
25
|
"@salesforce/ts-sinon": "1.3.21",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"shelljs": "^0.8.5",
|
|
49
49
|
"shx": "0.3.4",
|
|
50
50
|
"sinon": "10.0.0",
|
|
51
|
-
"ts-node": "^10.
|
|
51
|
+
"ts-node": "^10.9.1",
|
|
52
52
|
"typescript": "^4.4.4"
|
|
53
53
|
},
|
|
54
54
|
"config": {
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"access": "public"
|
|
121
121
|
},
|
|
122
122
|
"sfdx": {
|
|
123
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.1.
|
|
124
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.1.
|
|
123
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.2.1.crt",
|
|
124
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.2.1.sig"
|
|
125
125
|
}
|
|
126
126
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
### [2.1.7](https://github.com/salesforcecli/plugin-org/compare/v2.0.7...v2.1.7) (2022-08-11)
|
|
6
|
-
|
|
7
|
-
### [2.0.7](https://github.com/salesforcecli/plugin-org/compare/v2.0.6...v2.0.7) (2022-07-29)
|
|
8
|
-
|
|
9
|
-
### Bug Fixes
|
|
10
|
-
|
|
11
|
-
- bump sfdx-core ([#362](https://github.com/salesforcecli/plugin-org/issues/362)) ([8353f03](https://github.com/salesforcecli/plugin-org/commit/8353f03cc55e2d628e81c7b3c088784482f1061a))
|
|
12
|
-
|
|
13
|
-
### [2.0.6](https://github.com/salesforcecli/plugin-org/compare/v2.0.5...v2.0.6) (2022-07-28)
|
|
14
|
-
|
|
15
|
-
### Bug Fixes
|
|
16
|
-
|
|
17
|
-
- bump salesforce/core ([1875ad1](https://github.com/salesforcecli/plugin-org/commit/1875ad196cc11076659457dee08a1994f8d671af))
|
|
18
|
-
- org list now lists all scratch orgs properly ([2555e1a](https://github.com/salesforcecli/plugin-org/commit/2555e1abcc503c8b3c0dcaa2dfdec7e994d0bf52))
|
|
19
|
-
|
|
20
|
-
### [2.0.5](https://github.com/salesforcecli/plugin-org/compare/v2.0.4...v2.0.5) (2022-07-15)
|
|
21
|
-
|
|
22
|
-
### Bug Fixes
|
|
23
|
-
|
|
24
|
-
- set scratch org duration to 7days by default ([1884454](https://github.com/salesforcecli/plugin-org/commit/188445420d753e8c8088e38a87ef045bed3d9c13))
|
|
25
|
-
|
|
26
|
-
### [2.0.4](https://github.com/salesforcecli/plugin-org/compare/v2.0.3...v2.0.4) (2022-07-15)
|
|
27
|
-
|
|
28
|
-
### Bug Fixes
|
|
29
|
-
|
|
30
|
-
- bump version of @salesforce/core ([b435562](https://github.com/salesforcecli/plugin-org/commit/b435562e3dc8a2e1b92c61b4dc4f7711440aaed9))
|
|
31
|
-
- use newer core scratchOrgCreate ([6694302](https://github.com/salesforcecli/plugin-org/commit/6694302a74192d4eedc4e4f5541a423c1c0f965f))
|
|
32
|
-
|
|
33
|
-
### [2.0.3](https://github.com/salesforcecli/plugin-org/compare/v2.0.2...v2.0.3) (2022-07-13)
|
|
34
|
-
|
|
35
|
-
### Bug Fixes
|
|
36
|
-
|
|
37
|
-
- bump version of @salesforce/core ([1d7a9e4](https://github.com/salesforcecli/plugin-org/commit/1d7a9e4a92e8495b81065a7295190a40329e3a08))
|
|
38
|
-
|
|
39
|
-
### [2.0.2](https://github.com/salesforcecli/plugin-org/compare/v2.0.1...v2.0.2) (2022-07-07)
|
|
40
|
-
|
|
41
|
-
### [2.0.1](https://github.com/salesforcecli/plugin-org/compare/v2.0.0...v2.0.1) (2022-06-28)
|
|
42
|
-
|
|
43
|
-
### Bug Fixes
|
|
44
|
-
|
|
45
|
-
- improve example ([d8d1a9d](https://github.com/salesforcecli/plugin-org/commit/d8d1a9d5b9dc8a823146f2b9cf742af8790602a1))
|
|
46
|
-
|
|
47
|
-
## [2.0.0](https://github.com/salesforcecli/plugin-org/compare/v1.13.2...v2.0.0) (2022-06-27)
|
|
48
|
-
|
|
49
|
-
### Features
|
|
50
|
-
|
|
51
|
-
- use StateAggregator [sb-nuts] ([8abe9d7](https://github.com/salesforcecli/plugin-org/commit/8abe9d7abe2c8f5fb19fd9c092218a9b5c40e130))
|
|
52
|
-
|
|
53
|
-
### Bug Fixes
|
|
54
|
-
|
|
55
|
-
- do not use deprecated config var for org create ([52a3437](https://github.com/salesforcecli/plugin-org/commit/52a3437fd416c843ff6780585241a17575b7bd6a))
|
|
56
|
-
- handle orgs with no alias ([e89ce56](https://github.com/salesforcecli/plugin-org/commit/e89ce56baaa5361398737280d290db0c062b3a25))
|
|
57
|
-
- parking orbit plugin-org ([cb631c9](https://github.com/salesforcecli/plugin-org/commit/cb631c9de35c6805ca16c93217a3932b5f5b1ec8))
|
|
58
|
-
- print defaultmarker for org ([4f95931](https://github.com/salesforcecli/plugin-org/commit/4f959312bf9283c362cc28d647764b025c370105))
|
|
59
|
-
- **status:** write config file after the alias is set [sb-nuts] ([57ae082](https://github.com/salesforcecli/plugin-org/commit/57ae0829af4adc3b39d0a659829afef9e3b54677))
|
|
60
|
-
|
|
61
|
-
### [1.13.2](https://github.com/salesforcecli/plugin-org/compare/v1.13.1...v1.13.2) (2022-05-20)
|
|
62
|
-
|
|
63
|
-
### Bug Fixes
|
|
64
|
-
|
|
65
|
-
- add back a long description that got lost ([83a2341](https://github.com/salesforcecli/plugin-org/commit/83a2341f96908f33647b609f7082f0f9e52bc289))
|
|
66
|
-
- update list so the examples render correctly in CLI Ref ([7c024a6](https://github.com/salesforcecli/plugin-org/commit/7c024a6272b70121e32ece4063c17a7c13c080db))
|
|
67
|
-
- update messages so the examples render correctly in CLI Ref ([1329901](https://github.com/salesforcecli/plugin-org/commit/13299011fb917f77008f985af6b70bf005a2f4b6))
|
|
68
|
-
- update open so the examples render correctly in CLI Ref ([73f60ff](https://github.com/salesforcecli/plugin-org/commit/73f60ffeeb934eee1a2af584357aa7b24b62bad6))
|
|
69
|
-
- update status so the examples render correctly in CLI Ref ([0d3792f](https://github.com/salesforcecli/plugin-org/commit/0d3792fa3019eb008e39716c5aacfaebb0a33bc2))
|
|
70
|
-
|
|
71
|
-
### [1.13.1](https://github.com/salesforcecli/plugin-org/compare/v1.13.0...v1.13.1) (2022-05-11)
|
|
72
|
-
|
|
73
|
-
## [1.13.0](https://github.com/salesforcecli/plugin-org/compare/v1.12.1...v1.13.0) (2022-05-10)
|
|
74
|
-
|
|
75
|
-
### Features
|
|
76
|
-
|
|
77
|
-
- clone command ([481b19d](https://github.com/salesforcecli/plugin-org/commit/481b19d3869ed426bc483a256f486bb0823225ac))
|
|
78
|
-
- clone command ([48b2b85](https://github.com/salesforcecli/plugin-org/commit/48b2b85b9bc21856fe35d81b5b2bc595744aa63c))
|
|
79
|
-
|
|
80
|
-
### Bug Fixes
|
|
81
|
-
|
|
82
|
-
- bump core ([78186ed](https://github.com/salesforcecli/plugin-org/commit/78186ed0e2f525aab5fa3d741ad67d4e5c4f7f8c))
|
|
83
|
-
- test and snapshot updates ([6b469ea](https://github.com/salesforcecli/plugin-org/commit/6b469ea8301377ec4acad8fcbc98e9a6bb4ba5e0))
|
|
84
|
-
|
|
85
|
-
### [1.12.1](https://github.com/salesforcecli/plugin-org/compare/v1.12.0...v1.12.1) (2022-04-29)
|
|
86
|
-
|
|
87
|
-
### Bug Fixes
|
|
88
|
-
|
|
89
|
-
- docs for clean flag ([be868ab](https://github.com/salesforcecli/plugin-org/commit/be868ab5ea13099ba2b3f6a90581609eb0c55164))
|
|
90
|
-
|
|
91
|
-
## [1.12.0](https://github.com/salesforcecli/plugin-org/compare/v1.11.2...v1.12.0) (2022-04-22)
|
|
92
|
-
|
|
93
|
-
### Features
|
|
94
|
-
|
|
95
|
-
- new command org:status ([9524fb6](https://github.com/salesforcecli/plugin-org/commit/9524fb67285cf608d4f7a4dd9c11b2475f643866))
|
|
96
|
-
|
|
97
|
-
### Bug Fixes
|
|
98
|
-
|
|
99
|
-
- for set alias ([99c77f0](https://github.com/salesforcecli/plugin-org/commit/99c77f0be12df5c03ee8b1f11e7c9425910ec1b1))
|
|
100
|
-
|
|
101
|
-
### [1.11.2](https://github.com/salesforcecli/plugin-org/compare/v1.11.1...v1.11.2) (2022-02-21)
|
|
102
|
-
|
|
103
|
-
### Bug Fixes
|
|
104
|
-
|
|
105
|
-
- only local config ([54e7b93](https://github.com/salesforcecli/plugin-org/commit/54e7b934008bae5a12934932c239c6ff59e2f22e))
|
|
106
|
-
- try to create local config first ([f84c64f](https://github.com/salesforcecli/plugin-org/commit/f84c64f46ed5141bab3167cba04f75ad4e59484b))
|
|
107
|
-
- use Aliases.parseAndUpdate ([0b1860f](https://github.com/salesforcecli/plugin-org/commit/0b1860fb1b535ff2b5a84e4dcb1b691c4b85cdba))
|
|
108
|
-
|
|
109
|
-
### [1.11.1](https://github.com/salesforcecli/plugin-org/compare/v1.11.0...v1.11.1) (2022-01-28)
|
|
110
|
-
|
|
111
|
-
### Features
|
|
112
|
-
|
|
113
|
-
- scratchOrg create ([955667e](https://github.com/salesforcecli/plugin-org/commit/955667e2d3e7e6444903c89ad065b9161444b22b))
|
|
114
|
-
|
|
115
|
-
### Bug Fixes
|
|
116
|
-
|
|
117
|
-
- add initial org:beta:create command ([1cf6bdb](https://github.com/salesforcecli/plugin-org/commit/1cf6bdb1399e20e2fc72a9f0c15080e95b26e219))
|
|
118
|
-
- add initial org:beta:create command ([d2a89e2](https://github.com/salesforcecli/plugin-org/commit/d2a89e24a956136bb11d161618234b33842787e7))
|
|
119
|
-
- add org:beta:create command for sandboxes, UTs ([654ca50](https://github.com/salesforcecli/plugin-org/commit/654ca50ee2192342c6df382e9e20f8b33f9fd73f))
|
|
120
|
-
- add sandbox create/open/delete NUT ([60c81aa](https://github.com/salesforcecli/plugin-org/commit/60c81aa6330b87cecb06a84cca2994c7d466c3f5))
|
|
121
|
-
- bump testkit to fix yarn.lock ([454afbd](https://github.com/salesforcecli/plugin-org/commit/454afbd6649e2ceaabdaeeb27ce9a3d5e5f9c813))
|
|
122
|
-
- disable nuts-on-windows w/latest ([0bf02b1](https://github.com/salesforcecli/plugin-org/commit/0bf02b191d2ef039c5800ef233bba142b82bf975))
|
|
123
|
-
- manual release for beta:org:create ([a33137f](https://github.com/salesforcecli/plugin-org/commit/a33137f04602bb36033c73132098e311206ebafe))
|
|
124
|
-
- merge conflicts ([cd02453](https://github.com/salesforcecli/plugin-org/commit/cd024538fe2616fe3b46ef477d268e41f2516bea))
|
|
125
|
-
- use compatible types from command/test ([a4de0b0](https://github.com/salesforcecli/plugin-org/commit/a4de0b06be0f899b07a6651b61febf6732069ef0))
|
|
126
|
-
|
|
127
|
-
## [1.11.0](https://github.com/salesforcecli/plugin-org/compare/v1.10.1...v1.11.0) (2021-12-02)
|
|
128
|
-
|
|
129
|
-
### Features
|
|
130
|
-
|
|
131
|
-
- bump deps ([fbd44e7](https://github.com/salesforcecli/plugin-org/commit/fbd44e7872c691c290a62f8ad739e323854f8de0))
|
|
132
|
-
|
|
133
|
-
### [1.10.1](https://github.com/salesforcecli/plugin-org/compare/v1.10.0...v1.10.1) (2021-12-01)
|
|
134
|
-
|
|
135
|
-
### Bug Fixes
|
|
136
|
-
|
|
137
|
-
- org:delete scratch org + sandboxes ([#228](https://github.com/salesforcecli/plugin-org/issues/228)) ([ab4b7a2](https://github.com/salesforcecli/plugin-org/commit/ab4b7a234c22d226aa148002daf578ee8a7975e6))
|
|
138
|
-
|
|
139
|
-
## [1.10.0](https://github.com/salesforcecli/plugin-org/compare/v1.9.2...v1.10.0) (2021-11-30)
|
|
140
|
-
|
|
141
|
-
### Features
|
|
142
|
-
|
|
143
|
-
- do not display url for basic org:open ([b20ac79](https://github.com/salesforcecli/plugin-org/commit/b20ac7901bd44a680ac32c0e17ae4398ef97b9ce))
|
|
144
|
-
|
|
145
|
-
### [1.9.2](https://github.com/salesforcecli/plugin-org/compare/v1.9.1...v1.9.2) (2021-11-18)
|
|
146
|
-
|
|
147
|
-
### Bug Fixes
|
|
148
|
-
|
|
149
|
-
- update domain URL to be more secure ([769ddd8](https://github.com/salesforcecli/plugin-org/commit/769ddd8184d43a3e974f539378b8e10768b29eef))
|
|
150
|
-
|
|
151
|
-
### [1.9.1](https://github.com/salesforcecli/plugin-org/compare/v1.9.0...v1.9.1) (2021-11-15)
|
|
152
|
-
|
|
153
|
-
### Bug Fixes
|
|
154
|
-
|
|
155
|
-
- add warning about using --verbose.. ([5bd1511](https://github.com/salesforcecli/plugin-org/commit/5bd151136806b7f3a7056cf5c3a4bdc09a1b0d35))
|
|
156
|
-
|
|
157
|
-
## [1.9.0](https://github.com/salesforcecli/plugin-org/compare/v1.8.4...v1.9.0) (2021-10-22)
|
|
158
|
-
|
|
159
|
-
### Features
|
|
160
|
-
|
|
161
|
-
- support targeting browser in "open" command ([c06442b](https://github.com/salesforcecli/plugin-org/commit/c06442b9f42641d535674b0f258f2c6039d5370b))
|
|
162
|
-
|
|
163
|
-
### [1.8.4](https://github.com/salesforcecli/plugin-org/compare/v1.8.3...v1.8.4) (2021-10-20)
|
|
164
|
-
|
|
165
|
-
### Bug Fixes
|
|
166
|
-
|
|
167
|
-
- remove extraneous single quote ([62269a2](https://github.com/salesforcecli/plugin-org/commit/62269a24d2d0f3cdcd1277882e2ea51e41cb617e))
|
|
168
|
-
|
|
169
|
-
### [1.8.3](https://github.com/salesforcecli/plugin-org/compare/v1.8.2...v1.8.3) (2021-10-13)
|
|
170
|
-
|
|
171
|
-
### Bug Fixes
|
|
172
|
-
|
|
173
|
-
- warnings for json, too ([e4d5cf1](https://github.com/salesforcecli/plugin-org/commit/e4d5cf15451f6b4ed36279191655dcbba4e80b51))
|
|
174
|
-
|
|
175
|
-
### [1.8.2](https://github.com/salesforcecli/plugin-org/compare/v1.8.1...v1.8.2) (2021-10-12)
|
|
176
|
-
|
|
177
|
-
### [1.8.1](https://github.com/salesforcecli/plugin-org/compare/v1.8.0...v1.8.1) (2021-10-06)
|
|
178
|
-
|
|
179
|
-
### Bug Fixes
|
|
180
|
-
|
|
181
|
-
- update deps ([254039c](https://github.com/salesforcecli/plugin-org/commit/254039c59bbb88a85fe32d0c705a58d808d330df))
|
|
182
|
-
|
|
183
|
-
## [1.8.0](https://github.com/salesforcecli/plugin-org/compare/v1.7.0...v1.8.0) (2021-09-29)
|
|
184
|
-
|
|
185
|
-
### Features
|
|
186
|
-
|
|
187
|
-
- security warnings for display/open ([b2599be](https://github.com/salesforcecli/plugin-org/commit/b2599bed02bccf72b8b6a8766334caa41b5603a4))
|
|
188
|
-
|
|
189
|
-
## [1.7.0](https://github.com/salesforcecli/plugin-org/compare/v1.6.9...v1.7.0) (2021-08-20)
|
|
190
|
-
|
|
191
|
-
### Features
|
|
192
|
-
|
|
193
|
-
- namespace on orgList ([b1d2c61](https://github.com/salesforcecli/plugin-org/commit/b1d2c616fac9b182f2483685e0fd46fd96a28259))
|
|
194
|
-
|
|
195
|
-
### [1.6.9](https://github.com/salesforcecli/plugin-org/compare/v1.6.7...v1.6.9) (2021-08-05)
|
|
196
|
-
|
|
197
|
-
### [1.6.7](https://github.com/salesforcecli/plugin-org/compare/v1.6.6...v1.6.7) (2021-06-15)
|
|
198
|
-
|
|
199
|
-
### Bug Fixes
|
|
200
|
-
|
|
201
|
-
- use most recent alias ([0ab922a](https://github.com/salesforcecli/plugin-org/commit/0ab922a96cab70f64bdc5e4d104b007a34def1b0))
|
|
202
|
-
|
|
203
|
-
### [1.6.6](https://github.com/salesforcecli/plugin-org/compare/v1.6.5...v1.6.6) (2021-05-10)
|
|
204
|
-
|
|
205
|
-
### [1.6.5](https://github.com/salesforcecli/plugin-org/compare/v1.6.4...v1.6.5) (2021-05-05)
|
|
206
|
-
|
|
207
|
-
### [1.6.4](https://github.com/salesforcecli/plugin-org/compare/v1.6.3...v1.6.4) (2021-04-23)
|
|
208
|
-
|
|
209
|
-
### Bug Fixes
|
|
210
|
-
|
|
211
|
-
- force release of 1.6.4 ([50ee064](https://github.com/salesforcecli/plugin-org/commit/50ee064e73f4473c3b0830e5371d30dd09f88085))
|
|
212
|
-
|
|
213
|
-
### [1.6.3](https://github.com/salesforcecli/plugin-org/compare/v1.6.2...v1.6.3) (2021-04-20)
|
|
214
|
-
|
|
215
|
-
### Bug Fixes
|
|
216
|
-
|
|
217
|
-
- add missing message ([40d1cca](https://github.com/salesforcecli/plugin-org/commit/40d1ccad42a961d4452f77262b28e87351534b82))
|
|
218
|
-
|
|
219
|
-
### [1.6.2](https://github.com/salesforcecli/plugin-org/compare/v1.6.1...v1.6.2) (2021-04-06)
|
|
220
|
-
|
|
221
|
-
### Bug Fixes
|
|
222
|
-
|
|
223
|
-
- leif .yml merge [skip-validate-pr] ([dd28564](https://github.com/salesforcecli/plugin-org/commit/dd28564f4ae1095ad9f2304a33804ad49f1e6b82))
|
|
224
|
-
- leif .yml merge [skip-validate-pr] ([217473e](https://github.com/salesforcecli/plugin-org/commit/217473e1ddb03dd0a606b0f859322c6d3eeb5421))
|
|
225
|
-
|
|
226
|
-
### [1.6.1](https://github.com/salesforcecli/plugin-org/compare/v1.6.0...v1.6.1) (2021-03-30)
|
|
227
|
-
|
|
228
|
-
## [1.6.0](https://github.com/salesforcecli/plugin-org/compare/v1.3.3...v1.6.0) (2021-03-25)
|
|
229
|
-
|
|
230
|
-
### Bug Fixes
|
|
231
|
-
|
|
232
|
-
- clean up a few messages ([3cee3a2](https://github.com/salesforcecli/plugin-org/commit/3cee3a2d71c95b2c37f2fb7c664c0f1a8faad39f))
|
|
233
|
-
- error handling for no scratch org info from the hub ([d536bad](https://github.com/salesforcecli/plugin-org/commit/d536badb53580a73603bc9125a49029f5962cbbe))
|
|
234
|
-
- list command shows orgs that have userId ([b26a656](https://github.com/salesforcecli/plugin-org/commit/b26a656185bd84b182be29fc401231698644b499))
|
|
235
|
-
- shane's suggestion ([0f03592](https://github.com/salesforcecli/plugin-org/commit/0f0359274ca218ac8d6044c9f6282fe85c480d82))
|
|
236
|
-
|
|
237
|
-
### [1.3.3](https://github.com/salesforcecli/plugin-org/compare/v1.3.2...v1.3.3) (2021-03-03)
|
|
238
|
-
|
|
239
|
-
### Bug Fixes
|
|
240
|
-
|
|
241
|
-
- no devhub on display ([3d220ab](https://github.com/salesforcecli/plugin-org/commit/3d220ab2cff97a6fc9bfc8697a26606f70a9509e))
|
|
242
|
-
|
|
243
|
-
### [1.3.2](https://github.com/salesforcecli/plugin-org/compare/v1.3.1...v1.3.2) (2021-02-19)
|
|
244
|
-
|
|
245
|
-
### Bug Fixes
|
|
246
|
-
|
|
247
|
-
- refresh before reading files ([aa2e612](https://github.com/salesforcecli/plugin-org/commit/aa2e612738718911008b8ceaac2b4507b2fb4d1d))
|
|
248
|
-
|
|
249
|
-
### [1.3.1](https://github.com/salesforcecli/plugin-org/compare/v1.3.0...v1.3.1) (2021-02-16)
|
|
250
|
-
|
|
251
|
-
### Bug Fixes
|
|
252
|
-
|
|
253
|
-
- no connectStatus json ([5704c3f](https://github.com/salesforcecli/plugin-org/commit/5704c3f973f0936709347bdfb9acadcf2fd3c90a))
|
|
254
|
-
- no json connectedStatus on skipconnection ([7889c4b](https://github.com/salesforcecli/plugin-org/commit/7889c4ba5110b84357f8ec1f33f81acf51f33a82))
|
|
255
|
-
- org:list updates devhub status ([df45fd9](https://github.com/salesforcecli/plugin-org/commit/df45fd9f3a39d106066d3ccf6450eda38313c152))
|
|
256
|
-
|
|
257
|
-
## [1.3.0](https://github.com/salesforcecli/plugin-org/compare/v1.2.0...v1.3.0) (2021-02-16)
|
|
258
|
-
|
|
259
|
-
### Features
|
|
260
|
-
|
|
261
|
-
- uses default username ([5654f9e](https://github.com/salesforcecli/plugin-org/commit/5654f9e9fd26a421054b6f200a65e56f85e69975))
|
|
262
|
-
|
|
263
|
-
### Bug Fixes
|
|
264
|
-
|
|
265
|
-
- org:display default username ([bc815da](https://github.com/salesforcecli/plugin-org/commit/bc815da15b3c0a6e910a4b1752ad39489cabc7c9))
|
|
266
|
-
|
|
267
|
-
## [1.2.0](https://github.com/salesforcecli/plugin-org/compare/v1.1.3...v1.2.0) (2021-02-16)
|
|
268
|
-
|
|
269
|
-
### Features
|
|
270
|
-
|
|
271
|
-
- add deprecation warning ([64f0f72](https://github.com/salesforcecli/plugin-org/commit/64f0f72f0d4794ae076c71a731552103dc437a49))
|
|
272
|
-
|
|
273
|
-
### [1.1.3](https://github.com/salesforcecli/plugin-org/compare/v1.1.2...v1.1.3) (2021-02-04)
|
|
274
|
-
|
|
275
|
-
### Bug Fixes
|
|
276
|
-
|
|
277
|
-
- handle remaining orgs when decryption fails ([6276d49](https://github.com/salesforcecli/plugin-org/commit/6276d49228129cd252e9f8c98fa134146b579891))
|
|
278
|
-
- unencrypt access tokens on org:list ([38f17a0](https://github.com/salesforcecli/plugin-org/commit/38f17a0fed306d0ff0345db1cc466c7e04206379))
|
|
279
|
-
- warning and instructions for unable to clean ([78e7702](https://github.com/salesforcecli/plugin-org/commit/78e7702c3cd19c6f071152e909a5f64551f21de0))
|
|
280
|
-
|
|
281
|
-
### 1.1.2 (2021-02-03)
|
|
282
|
-
|
|
283
|
-
### Bug Fixes
|
|
284
|
-
|
|
285
|
-
- ask internal about url, not domain ([dec90df](https://github.com/salesforcecli/plugin-org/commit/dec90dfda8ae7e737580a51f818b50711eea9349))
|
|
286
|
-
- changes from code review ([b0a24a5](https://github.com/salesforcecli/plugin-org/commit/b0a24a51197415ab09b6691912e3f8db030f01d0))
|
|
287
|
-
- default open behavior ([6dc3f2f](https://github.com/salesforcecli/plugin-org/commit/6dc3f2f7ea4b13a0dbcc6adc1b9a135b3e4d7f54))
|
package/lib/shared/orgHooks.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as Config from '@oclif/config';
|
|
2
|
-
import { Optional } from '@salesforce/ts-types';
|
|
3
|
-
import { AuthFields } from '@salesforce/core';
|
|
4
|
-
declare type HookOpts<T> = {
|
|
5
|
-
Command: Config.Command.Class;
|
|
6
|
-
argv: string[];
|
|
7
|
-
commandId: string;
|
|
8
|
-
result: Optional<T>;
|
|
9
|
-
};
|
|
10
|
-
export declare type OrgCreateResult = Pick<AuthFields, 'accessToken' | 'clientId' | 'created' | 'createdOrgInstance' | 'devHubUsername' | 'expirationDate' | 'instanceUrl' | 'loginUrl' | 'orgId' | 'username'>;
|
|
11
|
-
declare type PostOrgCreateOpts = HookOpts<OrgCreateResult>;
|
|
12
|
-
/**
|
|
13
|
-
* Extends OCLIF's Hooks interface to add types for hooks that run on sfdx org commands
|
|
14
|
-
*/
|
|
15
|
-
export interface OrgHooks extends Config.Hooks {
|
|
16
|
-
postorgcreate: PostOrgCreateOpts;
|
|
17
|
-
}
|
|
18
|
-
export declare type OrgHook<T> = (this: Config.Hook.Context, options: T extends keyof Config.Hooks ? OrgHooks[T] : T) => any;
|
|
19
|
-
export declare namespace OrgHook {
|
|
20
|
-
type PostOrgCreate = Config.Hook<OrgHooks['postorgcreate']>;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
package/lib/shared/orgHooks.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2021, salesforce.com, inc.
|
|
4
|
-
* All rights reserved.
|
|
5
|
-
* Licensed under the BSD 3-Clause license.
|
|
6
|
-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
//# sourceMappingURL=orgHooks.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"orgHooks.js","sourceRoot":"","sources":["../../src/shared/orgHooks.ts"],"names":[],"mappings":";AAAA;;;;;GAKG"}
|