@salesforce/plugin-org 2.10.12 → 2.11.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/README.md +19 -15
- package/lib/commands/org/open.js +16 -0
- package/lib/commands/org/open.js.map +1 -1
- package/messages/open.md +13 -0
- package/oclif.manifest.json +3 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -160,7 +160,7 @@ FLAG DESCRIPTIONS
|
|
|
160
160
|
for a number of minutes, the client exits. Specify a longer wait time if timeouts occur frequently.
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
-
_See code: [src/commands/force/org/clone.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
163
|
+
_See code: [src/commands/force/org/clone.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/force/org/clone.ts)_
|
|
164
164
|
|
|
165
165
|
## `sf force:org:create`
|
|
166
166
|
|
|
@@ -208,7 +208,7 @@ EXAMPLES
|
|
|
208
208
|
$ sf force:org:create -t sandbox -f config/dev-sandbox-def.json -a MyDevSandbox -u prodOrg
|
|
209
209
|
```
|
|
210
210
|
|
|
211
|
-
_See code: [src/commands/force/org/create.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
211
|
+
_See code: [src/commands/force/org/create.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/force/org/create.ts)_
|
|
212
212
|
|
|
213
213
|
## `sf force:org:delete`
|
|
214
214
|
|
|
@@ -240,7 +240,7 @@ EXAMPLES
|
|
|
240
240
|
$ sf force:org:delete -u MyOrgAlias -p
|
|
241
241
|
```
|
|
242
242
|
|
|
243
|
-
_See code: [src/commands/force/org/delete.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
243
|
+
_See code: [src/commands/force/org/delete.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/force/org/delete.ts)_
|
|
244
244
|
|
|
245
245
|
## `sf force:org:status`
|
|
246
246
|
|
|
@@ -278,7 +278,7 @@ EXAMPLES
|
|
|
278
278
|
$ sf force:org:status --sandboxname DevSbx1 --wait 45 --setdefaultusername -u prodOrg
|
|
279
279
|
```
|
|
280
280
|
|
|
281
|
-
_See code: [src/commands/force/org/status.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
281
|
+
_See code: [src/commands/force/org/status.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/force/org/status.ts)_
|
|
282
282
|
|
|
283
283
|
## `sf org:create:sandbox`
|
|
284
284
|
|
|
@@ -383,7 +383,7 @@ FLAG DESCRIPTIONS
|
|
|
383
383
|
sandbox.
|
|
384
384
|
```
|
|
385
385
|
|
|
386
|
-
_See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
386
|
+
_See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/org/create/sandbox.ts)_
|
|
387
387
|
|
|
388
388
|
## `sf org:create:scratch`
|
|
389
389
|
|
|
@@ -536,7 +536,7 @@ FLAG DESCRIPTIONS
|
|
|
536
536
|
Omit this flag to have Salesforce generate a unique username for your org.
|
|
537
537
|
```
|
|
538
538
|
|
|
539
|
-
_See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
539
|
+
_See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/org/create/scratch.ts)_
|
|
540
540
|
|
|
541
541
|
## `sf org:delete:sandbox`
|
|
542
542
|
|
|
@@ -578,7 +578,7 @@ EXAMPLES
|
|
|
578
578
|
$ sf org:delete:sandbox --target-org my-sandbox --no-prompt
|
|
579
579
|
```
|
|
580
580
|
|
|
581
|
-
_See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
581
|
+
_See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/org/delete/sandbox.ts)_
|
|
582
582
|
|
|
583
583
|
## `sf org:delete:scratch`
|
|
584
584
|
|
|
@@ -620,7 +620,7 @@ EXAMPLES
|
|
|
620
620
|
$ sf org:delete:scratch --target-org my-scratch-org --no-prompt
|
|
621
621
|
```
|
|
622
622
|
|
|
623
|
-
_See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
623
|
+
_See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/org/delete/scratch.ts)_
|
|
624
624
|
|
|
625
625
|
## `sf org:display`
|
|
626
626
|
|
|
@@ -663,7 +663,7 @@ EXAMPLES
|
|
|
663
663
|
$ sf org:display --target-org TestOrg1 --verbose
|
|
664
664
|
```
|
|
665
665
|
|
|
666
|
-
_See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
666
|
+
_See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/org/display.ts)_
|
|
667
667
|
|
|
668
668
|
## `sf org:list`
|
|
669
669
|
|
|
@@ -701,7 +701,7 @@ EXAMPLES
|
|
|
701
701
|
$ sf org:list --clean
|
|
702
702
|
```
|
|
703
703
|
|
|
704
|
-
_See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
704
|
+
_See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/org/list.ts)_
|
|
705
705
|
|
|
706
706
|
## `sf org:list:metadata`
|
|
707
707
|
|
|
@@ -765,7 +765,7 @@ FLAG DESCRIPTIONS
|
|
|
765
765
|
Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
|
|
766
766
|
```
|
|
767
767
|
|
|
768
|
-
_See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
768
|
+
_See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/org/list/metadata.ts)_
|
|
769
769
|
|
|
770
770
|
## `sf org:list:metadata-types`
|
|
771
771
|
|
|
@@ -818,7 +818,7 @@ FLAG DESCRIPTIONS
|
|
|
818
818
|
Override the api version used for api requests made by this command
|
|
819
819
|
```
|
|
820
820
|
|
|
821
|
-
_See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
821
|
+
_See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/org/list/metadata-types.ts)_
|
|
822
822
|
|
|
823
823
|
## `sf org:open`
|
|
824
824
|
|
|
@@ -877,9 +877,13 @@ EXAMPLES
|
|
|
877
877
|
Open a local Lightning page in your default org's Lightning App Builder:
|
|
878
878
|
|
|
879
879
|
$ sf org:open --source-path force-app/main/default/flexipages/Hello.flexipage-meta.xml
|
|
880
|
+
|
|
881
|
+
Open a local Flow in Flow Builder:
|
|
882
|
+
|
|
883
|
+
$ sf org:open --source-path force-app/main/default/flows/Hello.flow-meta.xml
|
|
880
884
|
```
|
|
881
885
|
|
|
882
|
-
_See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
886
|
+
_See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/org/open.ts)_
|
|
883
887
|
|
|
884
888
|
## `sf org:resume:sandbox`
|
|
885
889
|
|
|
@@ -941,7 +945,7 @@ FLAG DESCRIPTIONS
|
|
|
941
945
|
returns the job ID. To resume checking the sandbox creation, rerun this command.
|
|
942
946
|
```
|
|
943
947
|
|
|
944
|
-
_See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
948
|
+
_See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/org/resume/sandbox.ts)_
|
|
945
949
|
|
|
946
950
|
## `sf org:resume:scratch`
|
|
947
951
|
|
|
@@ -987,6 +991,6 @@ FLAG DESCRIPTIONS
|
|
|
987
991
|
The job ID is valid for 24 hours after you start the scratch org creation.
|
|
988
992
|
```
|
|
989
993
|
|
|
990
|
-
_See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/2.
|
|
994
|
+
_See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/2.11.1/src/commands/org/resume/scratch.ts)_
|
|
991
995
|
|
|
992
996
|
<!-- commandsstop -->
|
package/lib/commands/org/open.js
CHANGED
|
@@ -97,11 +97,17 @@ class OrgOpenCommand extends sf_plugins_core_1.SfCommand {
|
|
|
97
97
|
else if (typeName === 'ApexPage') {
|
|
98
98
|
return `/apex/${path.basename(file).replace('.page-meta.xml', '').replace('.page', '')}`;
|
|
99
99
|
}
|
|
100
|
+
else if (typeName === 'Flow') {
|
|
101
|
+
return `/builder_platform_interaction/flowBuilder.app?flowId=${await flowFileNameToId(this.conn, file)}`;
|
|
102
|
+
}
|
|
100
103
|
else {
|
|
101
104
|
return 'lightning/setup/FlexiPageList/home';
|
|
102
105
|
}
|
|
103
106
|
}
|
|
104
107
|
catch (error) {
|
|
108
|
+
if (error instanceof Error && error.name === 'FlowIdNotFoundError') {
|
|
109
|
+
this.error(error);
|
|
110
|
+
}
|
|
105
111
|
return 'lightning/setup/FlexiPageList/home';
|
|
106
112
|
}
|
|
107
113
|
}
|
|
@@ -143,4 +149,14 @@ OrgOpenCommand.flags = {
|
|
|
143
149
|
summary: messages.getMessage('flags.source-file.summary'),
|
|
144
150
|
}),
|
|
145
151
|
};
|
|
152
|
+
/** query the rest API to turn a flow's filepath into a FlowId (starts with 301) */
|
|
153
|
+
const flowFileNameToId = async (conn, filePath) => {
|
|
154
|
+
try {
|
|
155
|
+
const flow = await conn.singleRecordQuery(`SELECT DurableId FROM FlowVersionView WHERE FlowDefinitionView.ApiName = '${path.basename(filePath, '.flow-meta.xml')}' ORDER BY VersionNumber DESC LIMIT 1`);
|
|
156
|
+
return flow.DurableId;
|
|
157
|
+
}
|
|
158
|
+
catch (error) {
|
|
159
|
+
throw messages.createError('FlowIdNotFound', [filePath]);
|
|
160
|
+
}
|
|
161
|
+
};
|
|
146
162
|
//# sourceMappingURL=open.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open.js","sourceRoot":"","sources":["../../../src/commands/org/open.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,6BAA6B;AAC7B,iEAMqC;AACrC,2CAAuF;AACvF,yCAAgD;AAChD,+EAAsE;AACtE,6BAA8B;AAC9B,8CAA6C;AAE7C,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,2BAAwB;IA0CnD,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;QAEnD,IAAI,CAAC,GAAG,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;QAC/B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;QAEzD,IAAI,GAAG,GAAG,MAAM,IAAI,CAAC,iBAAiB,EAAE,CAAC;QAEzC,IAAI,KAAK,CAAC,aAAa,CAAC,EAAE;YACxB,GAAG,IAAI,WAAW,MAAM,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC;SACtE;aAAM,IAAI,KAAK,CAAC,IAAI,EAAE;YACrB,GAAG,IAAI,WAAW,KAAK,CAAC,IAAI,EAAE,CAAC;SAChC;QAED,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,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IAAI,EAAE,GAAG;QACT,OAAO,EAAE,CAAC,YAAY,CAAC;QACvB,SAAS,EAAE,CAAC,MAAM,CAAC;QACnB,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,CAAC;KAC1D,CAAC;CACH,CAAC;AAoHJ,oFAAoF;AACpF,MAAM,gBAAgB,GAAG,KAAK,EAAE,IAAgB,EAAE,QAAgB,EAAmB,EAAE;IACrF,IAAI;QACF,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,iBAAiB,CACvC,6EAA6E,IAAI,CAAC,QAAQ,CACxF,QAAQ,EACR,gBAAgB,CACjB,uCAAuC,CACzC,CAAC;QACF,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;IAAC,OAAO,KAAK,EAAE;QACd,MAAM,QAAQ,CAAC,WAAW,CAAC,gBAAgB,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;KAC1D;AACH,CAAC,CAAC"}
|
package/messages/open.md
CHANGED
|
@@ -30,6 +30,10 @@ To open in a specific browser, use the --browser flag. Supported browsers are "c
|
|
|
30
30
|
|
|
31
31
|
$ <%= config.bin %> <%= command.id %> --source-path force-app/main/default/flexipages/Hello.flexipage-meta.xml
|
|
32
32
|
|
|
33
|
+
- Open a local Flow in Flow Builder:
|
|
34
|
+
|
|
35
|
+
$ <%= config.bin %> <%= command.id %> --source-path force-app/main/default/flows/Hello.flow-meta.xml
|
|
36
|
+
|
|
33
37
|
# flags.browser.summary
|
|
34
38
|
|
|
35
39
|
Browser where the org opens.
|
|
@@ -67,3 +71,12 @@ Waiting to resolve the Lightning Experience-enabled custom domain...
|
|
|
67
71
|
# domainTimeoutError
|
|
68
72
|
|
|
69
73
|
The Lightning Experience-enabled custom domain is unavailable.
|
|
74
|
+
|
|
75
|
+
# FlowIdNotFound
|
|
76
|
+
|
|
77
|
+
No ID not found for Flow %s.
|
|
78
|
+
|
|
79
|
+
# FlowIdNotFound.actions
|
|
80
|
+
|
|
81
|
+
- Check that the Flow you want to open is deployed to the org.
|
|
82
|
+
- Run `sf org open -p lightning/setup/Flows/home` to open the list of Flows
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
2
|
+
"version": "2.11.1",
|
|
3
3
|
"commands": {
|
|
4
4
|
"org:display": {
|
|
5
5
|
"id": "org:display",
|
|
@@ -169,7 +169,8 @@
|
|
|
169
169
|
"Open your default org in your default browser:\n$ <%= config.bin %> <%= command.id %>",
|
|
170
170
|
"Open the org with alias MyTestOrg1 in the Firefox browser:\n$ <%= config.bin %> <%= command.id %> --target-org MyTestOrg1 --browser firefox",
|
|
171
171
|
"Display the navigation URL for the Lightning Experience page for your default org, but don't open the page in a browser:\n$ <%= config.bin %> <%= command.id %> --url-only --path lightning",
|
|
172
|
-
"Open a local Lightning page in your default org's Lightning App Builder:\n$ <%= config.bin %> <%= command.id %> --source-path force-app/main/default/flexipages/Hello.flexipage-meta.xml"
|
|
172
|
+
"Open a local Lightning page in your default org's Lightning App Builder:\n$ <%= config.bin %> <%= command.id %> --source-path force-app/main/default/flexipages/Hello.flexipage-meta.xml",
|
|
173
|
+
"Open a local Flow in Flow Builder:\n$ <%= config.bin %> <%= command.id %> --source-path force-app/main/default/flows/Hello.flow-meta.xml"
|
|
173
174
|
],
|
|
174
175
|
"deprecateAliases": true,
|
|
175
176
|
"flags": {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-org",
|
|
3
3
|
"description": "Commands to interact with Salesforce orgs",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.11.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@oclif/plugin-command-snapshot": "^4.0.14",
|
|
19
|
-
"@salesforce/cli-plugins-testkit": "^4.
|
|
19
|
+
"@salesforce/cli-plugins-testkit": "^4.4.6",
|
|
20
20
|
"@salesforce/dev-config": "^4.0.1",
|
|
21
|
-
"@salesforce/dev-scripts": "^5.
|
|
21
|
+
"@salesforce/dev-scripts": "^5.11.0",
|
|
22
22
|
"@salesforce/plugin-command-reference": "^3.0.38",
|
|
23
23
|
"@salesforce/plugin-source": "^2.10.38",
|
|
24
24
|
"@salesforce/prettier-config": "^0.0.3",
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
238
|
"sfdx": {
|
|
239
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.
|
|
240
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.
|
|
239
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.11.1.crt",
|
|
240
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/2.11.1.sig"
|
|
241
241
|
}
|
|
242
242
|
}
|