Skip to content

Commit 0beb428

Browse files
fix: edit updated messages for "org open" (new --source-file flag)
1 parent ddb4685 commit 0beb428

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

messages/open.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ Open your default scratch org, or another specified org, in a browser.
44

55
# description
66

7-
To open a specific page, specify the portion of the URL after "https://MyDomainName.my.salesforce.com/" as the value for
8-
the --path flag. For example, specify "--path lightning" to open Lightning Experience, or specify "--path
9-
/apex/YourPage" to open a Visualforce page.
7+
To open a specific page, specify the portion of the URL after "https://MyDomainName.my.salesforce.com/" as the value for the --path flag. For example, specify "--path lightning" to open Lightning Experience, or specify "--path /apex/YourPage" to open a Visualforce page.
8+
9+
Use the --source-file to open a Lightning Page from your local project in Lightning App Builder. Lightning page files have the suffix .flexipage-meta.xml, and are stored in the "flexipages" directory.
1010

1111
To generate a URL but not launch it in your browser, specify --url-only.
1212

13-
To open in a specific browser, use the --browser flag. Supported browsers are "chrome", "edge", and "firefox". If you
14-
don't specify --browser, the org opens in your default browser.
13+
To open in a specific browser, use the --browser flag. Supported browsers are "chrome", "edge", and "firefox". If you don't specify --browser, the org opens in your default browser.
1514

1615
# examples
1716

@@ -23,22 +22,21 @@ don't specify --browser, the org opens in your default browser.
2322

2423
$ <%= config.bin %> <%= command.id %> --target-org MyTestOrg1 --browser firefox
2524

26-
- Display the navigation URL for the Lightning Experience page for your default org, but don't open the page in a
27-
browser:
25+
- Display the navigation URL for the Lightning Experience page for your default org, but don't open the page in a browser:
2826

2927
$ <%= config.bin %> <%= command.id %> --url-only --path lightning
3028

31-
- Open a specific ApexPage or Flexipage in the org using the --source-path flag
29+
- Open a local Lightning page in your default org's Lightning App Builder:
3230

33-
$ <%= config.bin %> <%= command.id %> --source-path <path to page>
31+
$ <%= config.bin %> <%= command.id %> --source-path force-app/main/default/flexipages/Hello.flexipage-meta.xml
3432

3533
# flags.browser.summary
3634

3735
Browser where the org opens.
3836

3937
# flags.source-file.summary
4038

41-
Path to an ApexPage or FlexiPage to open in the browser.
39+
Path to an ApexPage or FlexiPage to open in Lightning App Builder.
4240

4341
# flags.path.summary
4442

0 commit comments

Comments
 (0)