docs: align sf-web-open.ps1 help with bash script
- Marked -to as (recommended) - Replaced default-org example with explicit org + custom path example - Keeps examples consistent across Bash and PowerShell and with environments without a default org
This commit is contained in:
@@ -14,7 +14,7 @@ USAGE:
|
|||||||
sf-web-open.ps1 -hp
|
sf-web-open.ps1 -hp
|
||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
-to Target org alias or username to pass as --target-org
|
-to Target org alias or username to pass as --target-org (recommended)
|
||||||
-pt Path - relative path to open inside the org (e.g., "/lightning/setup/SetupOneHome/home")
|
-pt Path - relative path to open inside the org (e.g., "/lightning/setup/SetupOneHome/home")
|
||||||
-ur URL-only: print the URL instead of opening a browser (passes --url-only)
|
-ur URL-only: print the URL instead of opening a browser (passes --url-only)
|
||||||
-hp Help - show this help
|
-hp Help - show this help
|
||||||
@@ -29,8 +29,8 @@ EXAMPLES:
|
|||||||
3) Get just the URL for scripting:
|
3) Get just the URL for scripting:
|
||||||
sf-web-open.ps1 -to "NUSHUB-DR2" -ur
|
sf-web-open.ps1 -to "NUSHUB-DR2" -ur
|
||||||
|
|
||||||
4) Open the current default org (no -to provided):
|
4) Open org with custom path:
|
||||||
sf-web-open.ps1
|
sf-web-open.ps1 -to "MYORG" -pt "/lightning/setup/ObjectManager/home"
|
||||||
"@
|
"@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user