@salesforce/plugin-org 2.2.8 → 2.2.9
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.d.ts +0 -1
- package/lib/commands/force/org/clone.js +3 -7
- 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 +4 -16
- package/lib/commands/force/org/create.js.map +1 -1
- package/lib/commands/force/org/display.js +2 -0
- package/lib/commands/force/org/display.js.map +1 -1
- package/lib/commands/force/org/list.js +1 -0
- package/lib/commands/force/org/list.js.map +1 -1
- package/lib/commands/force/org/open.js +10 -10
- package/lib/commands/force/org/open.js.map +1 -1
- package/lib/commands/force/org/status.js +3 -1
- package/lib/commands/force/org/status.js.map +1 -1
- package/lib/shared/orgHighlighter.js +22 -24
- package/lib/shared/orgHighlighter.js.map +1 -1
- package/lib/shared/orgListUtil.js +5 -4
- package/lib/shared/orgListUtil.js.map +1 -1
- package/lib/shared/utils.d.ts +1 -0
- package/lib/shared/utils.js +8 -4
- package/lib/shared/utils.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +17 -23
|
@@ -12,6 +12,7 @@ const fs = require("fs");
|
|
|
12
12
|
const command_1 = require("@salesforce/command");
|
|
13
13
|
const core_1 = require("@salesforce/core");
|
|
14
14
|
const kit_1 = require("@salesforce/kit");
|
|
15
|
+
const utils_1 = require("../../../shared/utils");
|
|
15
16
|
const sandboxReporter_1 = require("../../../shared/sandboxReporter");
|
|
16
17
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
17
18
|
const messages = core_1.Messages.loadMessages('@salesforce/plugin-org', 'clone');
|
|
@@ -66,10 +67,10 @@ class OrgCloneCommand extends command_1.SfdxCommand {
|
|
|
66
67
|
let sandboxDefFileContents = this.readJsonDefFile();
|
|
67
68
|
let capitalizedVarArgs = {};
|
|
68
69
|
if (sandboxDefFileContents) {
|
|
69
|
-
sandboxDefFileContents =
|
|
70
|
+
sandboxDefFileContents = (0, utils_1.lowerToUpper)(sandboxDefFileContents);
|
|
70
71
|
}
|
|
71
72
|
if (this.varargs) {
|
|
72
|
-
capitalizedVarArgs =
|
|
73
|
+
capitalizedVarArgs = (0, utils_1.lowerToUpper)(this.varargs);
|
|
73
74
|
}
|
|
74
75
|
// varargs override file input
|
|
75
76
|
const sandboxReq = { SandboxName: undefined, ...sandboxDefFileContents, ...capitalizedVarArgs };
|
|
@@ -89,11 +90,6 @@ class OrgCloneCommand extends command_1.SfdxCommand {
|
|
|
89
90
|
}
|
|
90
91
|
return { sandboxReq, srcSandboxName };
|
|
91
92
|
}
|
|
92
|
-
lowerToUpper(object) {
|
|
93
|
-
// the API has keys defined in capital camel case, while the definition schema has them as lower camel case
|
|
94
|
-
// we need to convert lower camel case to upper before merging options so they will override properly
|
|
95
|
-
return Object.fromEntries(Object.entries(object).map(([key, value]) => [(0, kit_1.upperFirst)(key), value]));
|
|
96
|
-
}
|
|
97
93
|
readJsonDefFile() {
|
|
98
94
|
// the -f option
|
|
99
95
|
if (this.flags.definitionfile) {
|
|
@@ -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,
|
|
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,yCAA2C;AAC3C,iDAAqD;AACrD,qEAAkE;AAElE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;AAE1E,MAAa,eAA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AC,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,eAAe,EAAE,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC;QACtD,GAAG,EAAE,cAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;QACxB,OAAO,EAAE,cAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;KAC7B,CAAC;CACH,CAAC"}
|
|
@@ -18,7 +18,6 @@ export declare class Create extends SfdxCommand {
|
|
|
18
18
|
private sandboxAuth?;
|
|
19
19
|
run(): Promise<SandboxProcessObject | ScratchOrgProcessObject>;
|
|
20
20
|
private validateSandboxFlags;
|
|
21
|
-
private lowerToUpper;
|
|
22
21
|
private createSandboxRequest;
|
|
23
22
|
private createSandbox;
|
|
24
23
|
private readJsonDefFile;
|
|
@@ -12,6 +12,7 @@ const fs = require("fs");
|
|
|
12
12
|
const command_1 = require("@salesforce/command");
|
|
13
13
|
const kit_1 = require("@salesforce/kit");
|
|
14
14
|
const core_1 = require("@salesforce/core");
|
|
15
|
+
const utils_1 = require("../../../shared/utils");
|
|
15
16
|
const sandboxReporter_1 = require("../../../shared/sandboxReporter");
|
|
16
17
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
17
18
|
const messages = core_1.Messages.loadMessages('@salesforce/plugin-org', 'create');
|
|
@@ -47,28 +48,15 @@ class Create extends command_1.SfdxCommand {
|
|
|
47
48
|
this.ux.warn(messages.getMessage('durationDaysNotSupported', [this.flags.durationdays]));
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
|
-
lowerToUpper(object) {
|
|
51
|
-
// the API has keys defined in capital camel case, while the definition schema has them as lower camel case
|
|
52
|
-
// we need to convert lower camel case to upper before merging options so they will override properly
|
|
53
|
-
Object.keys(object).map((key) => {
|
|
54
|
-
const upperCase = key.charAt(0).toUpperCase();
|
|
55
|
-
if (key.charAt(0) !== upperCase) {
|
|
56
|
-
const capitalKey = upperCase + key.slice(1);
|
|
57
|
-
object[capitalKey] = object[key];
|
|
58
|
-
delete object[key];
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
return object;
|
|
62
|
-
}
|
|
63
51
|
createSandboxRequest() {
|
|
64
52
|
this.logger.debug('Create Varargs: %s ', this.varargs);
|
|
65
53
|
let sandboxDefFileContents = this.readJsonDefFile();
|
|
66
54
|
let capitalizedVarArgs = {};
|
|
67
55
|
if (sandboxDefFileContents) {
|
|
68
|
-
sandboxDefFileContents =
|
|
56
|
+
sandboxDefFileContents = (0, utils_1.lowerToUpper)(sandboxDefFileContents);
|
|
69
57
|
}
|
|
70
58
|
if (this.varargs) {
|
|
71
|
-
capitalizedVarArgs =
|
|
59
|
+
capitalizedVarArgs = (0, utils_1.lowerToUpper)(this.varargs);
|
|
72
60
|
}
|
|
73
61
|
// varargs override file input
|
|
74
62
|
const sandboxReq = { SandboxName: undefined, ...sandboxDefFileContents, ...capitalizedVarArgs };
|
|
@@ -127,7 +115,7 @@ class Create extends command_1.SfdxCommand {
|
|
|
127
115
|
this.logger.debug('Calling create with SandboxRequest: %s ', sandboxReq);
|
|
128
116
|
const wait = this.flags.wait;
|
|
129
117
|
try {
|
|
130
|
-
return prodOrg.createSandbox(sandboxReq, { wait });
|
|
118
|
+
return await prodOrg.createSandbox(sandboxReq, { wait });
|
|
131
119
|
}
|
|
132
120
|
catch (e) {
|
|
133
121
|
// guaranteed to be SfdxError from core;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../src/commands/force/org/create.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yBAAyB;AACzB,yB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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"}
|
|
@@ -63,6 +63,8 @@ class OrgDisplayCommand extends command_1.SfdxCommand {
|
|
|
63
63
|
.sort() // this command always alphabetizes the table rows
|
|
64
64
|
.map((key) => ({
|
|
65
65
|
key: (0, kit_1.camelCaseToTitleCase)(key),
|
|
66
|
+
// TS won't infer types of the values of OrgDisplayReturn, even thought it's typed (they're all string or date)
|
|
67
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-argument
|
|
66
68
|
value: (0, orgHighlighter_1.getStyledValue)(key, result[key]),
|
|
67
69
|
}));
|
|
68
70
|
this.ux.styledHeader('Org Description');
|
|
@@ -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;
|
|
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;AAEvD,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,CAAC,IAAI,CAAC,CAAC;QAExC,MAAM,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;QAC3C,MAAM,c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AAW,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;;AA5FH,8CA6FC;AA5FwB,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"}
|
|
@@ -123,6 +123,7 @@ class OrgListCommand extends command_1.SfdxCommand {
|
|
|
123
123
|
this.ux.table(scratchOrgs.map((row) => (0, orgHighlighter_1.getStyledObject)(row)), this.getScratchOrgColumnData());
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
+
// eslint-disable-next-line class-methods-use-this
|
|
126
127
|
extractDefaultOrgStatus(val) {
|
|
127
128
|
if (val.isDefaultDevHubUsername) {
|
|
128
129
|
val.defaultMarker = '(D)';
|
|
@@ -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,C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|
}
|
|
50
50
|
catch (err) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
if (err instanceof Error) {
|
|
52
|
+
if (err.message?.includes('timeout')) {
|
|
53
|
+
const domain = `https://${/https?:\/\/([^.]*)/.exec(url)[1]}.lightning.force.com`;
|
|
54
|
+
const timeout = new kit_1.Duration(new kit_1.Env().getNumber('SFDX_DOMAIN_RETRY', 240), kit_1.Duration.Unit.SECONDS);
|
|
55
|
+
this.logger.debug(`Did not find IP for ${domain} after ${timeout.seconds} seconds`);
|
|
56
|
+
throw new core_1.SfError(messages.getMessage('domainTimeoutError'), 'domainTimeoutError');
|
|
57
|
+
}
|
|
58
|
+
throw core_1.SfError.wrap(err);
|
|
57
59
|
}
|
|
58
|
-
throw
|
|
60
|
+
throw err;
|
|
59
61
|
}
|
|
60
62
|
const openOptions = typeof this.flags.browser === 'string' ? { app: { name: open.apps[this.flags.browser] } } : {};
|
|
61
63
|
await (0, utils_1.openUrl)(url, openOptions);
|
|
@@ -85,9 +87,7 @@ OrgOpenCommand.flagsConfig = {
|
|
|
85
87
|
char: 'p',
|
|
86
88
|
description: messages.getMessage('cliPath'),
|
|
87
89
|
env: 'FORCE_OPEN_URL',
|
|
88
|
-
parse: (input) =>
|
|
89
|
-
return Promise.resolve(encodeURIComponent(decodeURIComponent(input)));
|
|
90
|
-
},
|
|
90
|
+
parse: (input) => Promise.resolve(encodeURIComponent(decodeURIComponent(input))),
|
|
91
91
|
}),
|
|
92
92
|
urlonly: command_1.flags.boolean({
|
|
93
93
|
char: 'r',
|
|
@@ -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,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,KAAK,EAAE,EAAE,CAAC,CAAC;QACxD,OAAO,GAAG,gBAAgB,4BAA4B,WAAW,EAAE,CAAC;IACtE,CAAC;;AAnFH,wCAoFC;AAnFwB,0BAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,uBAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,QAAG,CAAC,CAAC;AACtD,+BAAgB,GAAG,IAAI,CAAC;AACxB,0BAAW,GAAgB;IAChD,OAAO,EAAE,eAAK,CAAC,MAAM,CAAC;QACpB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;QAC3C,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAC;QACtC,SAAS,EAAE,CAAC,SAAS,CAAC;KACvB,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;QAC3C,GAAG,EAAE,gBAAgB;QACrB,KAAK,EAAE,CAAC,KAAa,EAAmB,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC;KAC1G,CAAC;IACF,OAAO,EAAE,eAAK,CAAC,OAAO,CAAC;QACrB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;KAC5C,CAAC;CACH,CAAC"}
|
|
@@ -47,7 +47,9 @@ class OrgStatusCommand extends command_1.SfdxCommand {
|
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
this.logger.debug('Calling auth for SandboxName args: %s ', this.flags.sandboxname);
|
|
50
|
-
const results = await this.org.sandboxStatus(this.flags.sandboxname, {
|
|
50
|
+
const results = await this.org.sandboxStatus(this.flags.sandboxname, {
|
|
51
|
+
wait: this.flags.wait,
|
|
52
|
+
});
|
|
51
53
|
this.logger.debug('Results for auth call: %s ', results);
|
|
52
54
|
if (!results) {
|
|
53
55
|
this.ux.styledHeader('Sandbox Org Creation Status');
|
|
@@ -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,KAAK,CAAC,8BAA8B,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;QAC9D,MAAM,SAAS,GAAG,gBAAS,CAAC,WAAW,EAAE,CAAC;QAE1C,4DAA4D;QAC5D,SAAS,CAAC,EAAE,CAAC,oBAAa,CAAC,YAAY,EAAE,KAAK,EAAE,OAAoB,EAAE,EAAE;YACtE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,iCAAe,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;QAEH,SAAS,CAAC,EAAE,CAAC,oBAAa,CAAC,YAAY,EAAE,KAAK,EAAE,OAAoB,EAAE,EAAE;YACtE,MAAM,SAAS,GAAG,WAAW,OAAO,CAAC,iBAAiB,CAAC,WAAW,IAAI,OAAO,CAAC,iBAAiB,CAAC,EAAE,qBAAqB,CAAC;YACxH,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YACvB,MAAM,EAAE,IAAI,EAAE,GAAG,iCAAe,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAA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,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,cAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;QACxB,OAAO,EAAE,cAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;KAC7B,CAAC;CACH,CAAC"}
|
|
@@ -8,36 +8,34 @@ exports.getStyledObject = exports.getStyledValue = void 0;
|
|
|
8
8
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
9
9
|
*/
|
|
10
10
|
const chalk = require("chalk");
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
11
|
+
const styledProperties = new Map([
|
|
12
|
+
[
|
|
13
|
+
'status',
|
|
14
|
+
new Map([
|
|
15
|
+
['Active', chalk.green],
|
|
16
|
+
['else', chalk.red],
|
|
17
|
+
]),
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
'connectedStatus',
|
|
21
|
+
new Map([
|
|
22
|
+
['Connected', chalk.green],
|
|
23
|
+
['else', chalk.red],
|
|
24
|
+
]),
|
|
25
|
+
],
|
|
26
|
+
]);
|
|
24
27
|
const getStyledValue = (key, value) => {
|
|
25
|
-
if (styledProperties
|
|
26
|
-
return
|
|
27
|
-
? chalk[styledProperties[key][value]](value)
|
|
28
|
-
: chalk[styledProperties[key].else](value);
|
|
28
|
+
if (!value || !styledProperties.has(key)) {
|
|
29
|
+
return value;
|
|
29
30
|
}
|
|
30
|
-
return value
|
|
31
|
+
return styledProperties.get(key).has(value)
|
|
32
|
+
? styledProperties.get(key).get(value)(value)
|
|
33
|
+
: styledProperties.get(key).get('else')(value);
|
|
31
34
|
};
|
|
32
35
|
exports.getStyledValue = getStyledValue;
|
|
33
36
|
const getStyledObject = (objectToStyle) => {
|
|
34
37
|
const clonedObject = { ...objectToStyle };
|
|
35
|
-
|
|
36
|
-
if (Reflect.has(clonedObject, key)) {
|
|
37
|
-
clonedObject[key] = (0, exports.getStyledValue)(key, clonedObject[key]);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return clonedObject;
|
|
38
|
+
return Object.fromEntries(Object.entries(clonedObject).map(([key, value]) => [key, (0, exports.getStyledValue)(key, value)]));
|
|
41
39
|
};
|
|
42
40
|
exports.getStyledObject = getStyledObject;
|
|
43
41
|
//# sourceMappingURL=orgHighlighter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orgHighlighter.js","sourceRoot":"","sources":["../../src/shared/orgHighlighter.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,+
|
|
1
|
+
{"version":3,"file":"orgHighlighter.js","sourceRoot":"","sources":["../../src/shared/orgHighlighter.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,+BAA+B;AAG/B,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC;IAC/B;QACE,QAAQ;QACR,IAAI,GAAG,CAAC;YACN,CAAC,QAAQ,EAAE,KAAK,CAAC,KAAK,CAAC;YACvB,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC;SACpB,CAAC;KACH;IACD;QACE,iBAAiB;QACjB,IAAI,GAAG,CAAC;YACN,CAAC,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC;YAC1B,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC;SACpB,CAAC;KACH;CACF,CAAC,CAAC;AAEI,MAAM,cAAc,GAAG,CAAC,GAAW,EAAE,KAAa,EAAU,EAAE;IACnE,IAAI,CAAC,KAAK,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;QACxC,OAAO,KAAK,CAAC;KACd;IACD,OAAO,gBAAgB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC;QACzC,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC;QAC7C,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC;AACnD,CAAC,CAAC;AAPW,QAAA,cAAc,kBAOzB;AAEK,MAAM,eAAe,GAAG,CAAC,aAAiC,EAAsB,EAAE;IACvF,MAAM,YAAY,GAAG,EAAE,GAAG,aAAa,EAAE,CAAC;IAC1C,OAAO,MAAM,CAAC,WAAW,CACvB,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,IAAA,sBAAc,EAAC,GAAG,EAAE,KAAe,CAAC,CAAC,CAAC,CAChG,CAAC;AACJ,CAAC,CAAC;AALW,QAAA,eAAe,mBAK1B"}
|
|
@@ -126,10 +126,12 @@ class OrgListUtil {
|
|
|
126
126
|
currentValue = OrgListUtil.removeRestrictedInfoFromConfig(authInfo.getFields(true));
|
|
127
127
|
}
|
|
128
128
|
catch (error) {
|
|
129
|
+
// eslint-disable-next-line no-await-in-loop
|
|
129
130
|
const logger = await OrgListUtil.retrieveLogger();
|
|
130
131
|
logger.warn(`Error decrypting ${authInfo.getUsername()}`);
|
|
131
132
|
currentValue = OrgListUtil.removeRestrictedInfoFromConfig(authInfo.getFields());
|
|
132
133
|
}
|
|
134
|
+
// eslint-disable-next-line no-await-in-loop
|
|
133
135
|
const [alias, lastUsed] = await Promise.all([
|
|
134
136
|
(0, utils_1.getAliasByUsername)(currentValue.username),
|
|
135
137
|
fs.stat((0, path_1.join)(core_1.Global.SFDX_DIR, `${currentValue.username}.json`)),
|
|
@@ -218,6 +220,7 @@ class OrgListUtil {
|
|
|
218
220
|
scratchOrgInfo.namespace = updatedOrgInfo.Namespace;
|
|
219
221
|
}
|
|
220
222
|
else {
|
|
223
|
+
// eslint-disable-next-line no-await-in-loop
|
|
221
224
|
const logger = await OrgListUtil.retrieveLogger();
|
|
222
225
|
logger.warn(`Can't find ${scratchOrgInfo.username} in the updated contents`);
|
|
223
226
|
}
|
|
@@ -235,7 +238,7 @@ class OrgListUtil {
|
|
|
235
238
|
try {
|
|
236
239
|
const org = await core_1.Org.create({ aliasOrUsername: username });
|
|
237
240
|
// true forces a server check instead of relying on AuthInfo file cache
|
|
238
|
-
return org.determineIfDevHubOrg(true);
|
|
241
|
+
return await org.determineIfDevHubOrg(true);
|
|
239
242
|
}
|
|
240
243
|
catch {
|
|
241
244
|
return false;
|
|
@@ -275,8 +278,6 @@ class OrgListUtil {
|
|
|
275
278
|
}
|
|
276
279
|
}
|
|
277
280
|
exports.OrgListUtil = OrgListUtil;
|
|
278
|
-
const identifyActiveOrgByStatus = (org) =>
|
|
279
|
-
return org.status === 'Active';
|
|
280
|
-
};
|
|
281
|
+
const identifyActiveOrgByStatus = (org) => org.status === 'Active';
|
|
281
282
|
exports.identifyActiveOrgByStatus = identifyActiveOrgByStatus;
|
|
282
283
|
//# sourceMappingURL=orgListUtil.js.map
|
|
@@ -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,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C,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;AAxTD,kCAwTC;AAEM,MAAM,yBAAyB,GAAG,CAAC,GAAuB,EAAW,EAAE,CAAC,GAAG,CAAC,MAAM,KAAK,QAAQ,CAAC;AAA1F,QAAA,yBAAyB,6BAAiE"}
|
package/lib/shared/utils.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ import { ChildProcess } from 'child_process';
|
|
|
2
2
|
import * as open from 'open';
|
|
3
3
|
export declare const getAliasByUsername: (username: string) => Promise<string>;
|
|
4
4
|
export declare const openUrl: (url: string, options: open.Options) => Promise<ChildProcess>;
|
|
5
|
+
export declare const lowerToUpper: (object: Record<string, unknown>) => Record<string, unknown>;
|
package/lib/shared/utils.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.openUrl = exports.getAliasByUsername = void 0;
|
|
3
|
+
exports.lowerToUpper = exports.openUrl = exports.getAliasByUsername = void 0;
|
|
4
|
+
const kit_1 = require("@salesforce/kit");
|
|
4
5
|
const core_1 = require("@salesforce/core");
|
|
5
6
|
const open = require("open");
|
|
6
7
|
const getAliasByUsername = async (username) => {
|
|
@@ -10,8 +11,11 @@ const getAliasByUsername = async (username) => {
|
|
|
10
11
|
return keys?.length ? keys[keys.length - 1] : undefined;
|
|
11
12
|
};
|
|
12
13
|
exports.getAliasByUsername = getAliasByUsername;
|
|
13
|
-
const openUrl = async (url, options) =>
|
|
14
|
-
return open(url, options);
|
|
15
|
-
};
|
|
14
|
+
const openUrl = async (url, options) => open(url, options);
|
|
16
15
|
exports.openUrl = openUrl;
|
|
16
|
+
const lowerToUpper = (object) =>
|
|
17
|
+
// the API has keys defined in capital camel case, while the definition schema has them as lower camel case
|
|
18
|
+
// we need to convert lower camel case to upper before merging options so they will override properly
|
|
19
|
+
Object.fromEntries(Object.entries(object).map(([key, value]) => [(0, kit_1.upperFirst)(key), value]));
|
|
20
|
+
exports.lowerToUpper = lowerToUpper;
|
|
17
21
|
//# sourceMappingURL=utils.js.map
|
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,IAAI,EAAE,MAAM,CAAC,CAAC,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-
{"version":"2.2.8","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.9","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,48 +1,47 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-org",
|
|
3
3
|
"description": "Commands to interact with Salesforce orgs",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.9",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@oclif/core": "^1.16.4",
|
|
10
|
-
"@salesforce/command": "^5.2.
|
|
10
|
+
"@salesforce/command": "^5.2.12",
|
|
11
11
|
"@salesforce/core": "^3.30.12",
|
|
12
12
|
"@salesforce/kit": "^1.6.1",
|
|
13
13
|
"open": "8.4.0",
|
|
14
14
|
"tslib": "^2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@oclif/plugin-command-snapshot": "^3.2.
|
|
18
|
-
"@oclif/test": "^2.2.
|
|
19
|
-
"@salesforce/cli-plugins-testkit": "^3.
|
|
17
|
+
"@oclif/plugin-command-snapshot": "^3.2.3",
|
|
18
|
+
"@oclif/test": "^2.2.3",
|
|
19
|
+
"@salesforce/cli-plugins-testkit": "^3.2.1",
|
|
20
20
|
"@salesforce/dev-config": "^3.1.0",
|
|
21
|
-
"@salesforce/dev-scripts": "^
|
|
21
|
+
"@salesforce/dev-scripts": "^3.1.0",
|
|
22
22
|
"@salesforce/plugin-command-reference": "^1.3.0",
|
|
23
23
|
"@salesforce/prettier-config": "^0.0.2",
|
|
24
24
|
"@salesforce/ts-sinon": "1.4.0",
|
|
25
|
+
"@types/chai-as-promised": "^7.1.5",
|
|
25
26
|
"@types/shelljs": "^0.8.10",
|
|
26
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
27
|
-
"@typescript-eslint/parser": "^
|
|
27
|
+
"@typescript-eslint/eslint-plugin": "^5.33.0",
|
|
28
|
+
"@typescript-eslint/parser": "^5.33.0",
|
|
28
29
|
"chai": "^4.2.0",
|
|
29
30
|
"chai-as-promised": "^7.1.1",
|
|
30
|
-
"
|
|
31
|
-
"eslint": "^
|
|
32
|
-
"eslint-config-
|
|
33
|
-
"eslint-config-salesforce": "^0.1.6",
|
|
31
|
+
"eslint": "^8.21.0",
|
|
32
|
+
"eslint-config-prettier": "^8.5.0",
|
|
33
|
+
"eslint-config-salesforce": "^1.1.0",
|
|
34
34
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
35
|
-
"eslint-config-salesforce-typescript": "^
|
|
35
|
+
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
36
36
|
"eslint-plugin-header": "^3.0.0",
|
|
37
37
|
"eslint-plugin-import": "2.26.0",
|
|
38
|
-
"eslint-plugin-jsdoc": "^
|
|
39
|
-
"eslint-plugin-prettier": "^3.1.3",
|
|
38
|
+
"eslint-plugin-jsdoc": "^39.3.6",
|
|
40
39
|
"husky": "^7.0.4",
|
|
41
40
|
"mocha": "^9.1.3",
|
|
42
41
|
"moment": "^2.29.1",
|
|
43
42
|
"nyc": "^15.1.0",
|
|
44
43
|
"oclif": "^3.2.12",
|
|
45
|
-
"prettier": "^2.
|
|
44
|
+
"prettier": "^2.7.1",
|
|
46
45
|
"pretty-quick": "^3.1.0",
|
|
47
46
|
"shelljs": "^0.8.5",
|
|
48
47
|
"shx": "0.3.4",
|
|
@@ -50,11 +49,6 @@
|
|
|
50
49
|
"ts-node": "^10.9.1",
|
|
51
50
|
"typescript": "^4.8.4"
|
|
52
51
|
},
|
|
53
|
-
"config": {
|
|
54
|
-
"commitizen": {
|
|
55
|
-
"path": "cz-conventional-changelog"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
52
|
"engines": {
|
|
59
53
|
"node": ">=14.0.0"
|
|
60
54
|
},
|
|
@@ -119,7 +113,7 @@
|
|
|
119
113
|
"access": "public"
|
|
120
114
|
},
|
|
121
115
|
"sfdx": {
|
|
122
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.2.
|
|
123
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.2.
|
|
116
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.2.9.crt",
|
|
117
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.2.9.sig"
|
|
124
118
|
}
|
|
125
119
|
}
|