Skip to content

Commit 5b0e144

Browse files
author
SF-CLI-BOT
committed
chore(release): 0.0.7 [ci skip]
1 parent d43a09a commit 5b0e144

File tree

3 files changed

+43
-31
lines changed

3 files changed

+43
-31
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [0.0.7](https://github.com/salesforcecli/plugin-env/compare/v0.0.6...v0.0.7) (2021-06-21)
6+
7+
8+
### Bug Fixes
9+
10+
* update help [skip-validate-pr] ([#71](https://github.com/salesforcecli/plugin-env/issues/71)) ([d43a09a](https://github.com/salesforcecli/plugin-env/commit/d43a09a7f9f659965eada455a613eb3400e0cf28))
11+
512
### [0.0.6](https://github.com/salesforcecli/plugin-env/compare/v0.0.5...v0.0.6) (2021-06-09)
613

714
### [0.0.5](https://github.com/salesforcecli/plugin-env/compare/v0.0.4...v0.0.5) (2021-06-09)

README.md

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,9 @@ sfdx plugins
6363
## Commands
6464

6565
<!-- commands -->
66-
67-
- [`sf env:display`](#sf-envdisplay)
68-
- [`sf env:list`](#sf-envlist)
69-
- [`sf env:open`](#sf-envopen)
66+
* [`sf env:display`](#sf-envdisplay)
67+
* [`sf env:list`](#sf-envlist)
68+
* [`sf env:open`](#sf-envopen)
7069

7170
## `sf env:display`
7271

@@ -78,13 +77,14 @@ USAGE
7877
7978
OPTIONS
8079
-e, --environment=environment Environment name or alias to display.
80+
--json format output as json
8181
8282
EXAMPLES
8383
sf env display -e my-scratch-org
8484
sf env display -e user@name.com
8585
```
8686

87-
_See code: [src/commands/env/display.ts](https://github.com/salesforcecli/plugin-env/blob/v0.0.5/src/commands/env/display.ts)_
87+
_See code: [src/commands/env/display.ts](https://github.com/salesforcecli/plugin-env/blob/v0.0.6/src/commands/env/display.ts)_
8888

8989
## `sf env:list`
9090

@@ -100,6 +100,7 @@ OPTIONS
100100
--columns=columns only show provided columns (comma-separated)
101101
--csv output is csv format [alias: --output=csv]
102102
--filter=filter filter property by partial string matching, ex: name=foo
103+
--json format output as json
103104
--no-header hide table header from output
104105
--no-truncate do not truncate output to fit screen
105106
--output=csv|json|yaml output in a more machine friendly format
@@ -110,7 +111,7 @@ EXAMPLES
110111
sf env list --all
111112
```
112113

113-
_See code: [src/commands/env/list.ts](https://github.com/salesforcecli/plugin-env/blob/v0.0.5/src/commands/env/list.ts)_
114+
_See code: [src/commands/env/list.ts](https://github.com/salesforcecli/plugin-env/blob/v0.0.6/src/commands/env/list.ts)_
114115

115116
## `sf env:open`
116117

@@ -121,41 +122,45 @@ USAGE
121122
$ sf env:open
122123
123124
OPTIONS
124-
-e, --target-env=target-env Environment name or alias to open.
125-
-p, --path=path Path to append to the end of the login URL.
126-
-r, --url-only Display the URL, but don’t launch it in a browser.
127-
--browser=browser Browser in which to open the environment.
125+
-e, --target-env=target-env
126+
Specify the login user or alias that’s associated with the environment. For scratch orgs, the login user is
127+
generated by the command that created the scratch org. You can also set an alias for the scratch org when you create
128+
it.
128129
129-
DESCRIPTION
130-
If you run the command without flags, it attempts to open your default environment in your default web browser.
130+
For Dev Hubs, sandboxes, and production orgs, specify the alias you set when you logged into the org with "sf
131+
login".
131132
132-
Each of your environments is associated with an instance URL, such as https://login.salesforce.com. To open a specific
133-
web page at that URL, specify the portion of the URL after "<URL>/" with the --path flag, such as /apex/YourPage to
134-
open a Visualforce page.
135-
You can open the following types of environments in a web browser: scratch orgs, sandboxes, Dev Hubs, and production
136-
orgs.
133+
-p, --path=path
134+
Each of your environments is associated with an instance URL, such as https://<mydomian>.my.salesforce.com. To open
135+
a specific web page at that URL, specify the portion of the URL after "<URL>/" with the --path flag, such as
136+
/apex/YourPage to open a Visualforce page.
137137
138-
If you run the command without flags, it attempts to open your default environment in your default web browser.
138+
-r, --url-only
139+
140+
--browser=browser
141+
Specify a browser by its app name according to your operating system. For example, Chrome’s app name is "google
142+
chrome" on macOS, "google-chrome" on Linux and "chrome" on Windows. So to open an environment in Chrome on macOS,
143+
specify --browser "google chrome". If you don’t specify --browser, the environment opens in your default browser.
139144
140-
Each of your environments is associated with an instance URL, such as https://login.salesforce.com. To open a specific
141-
web page at that URL, specify the portion of the URL after "<URL>/" with the --path flag, such as /apex/YourPage to
142-
open a Visualforce page.
145+
For convenience, "chrome", "firefox", and "edge" are mapped to the OS specific app name.
146+
147+
--json
148+
format output as json
149+
150+
DESCRIPTION
151+
If you run the command without flags, it attempts to open your default environment in your default web browser.
143152
144153
EXAMPLES
145154
To open your default environment, run the command without flags:
146155
sf env open
147-
This example opens the Visualforce page /apex/StartHere in a scratch org
148-
with alias "test-org":
156+
This example opens the Visualforce page /apex/StartHere in a scratch org with alias "test-org":
149157
sf env open --target-env test-org --path /apex/StartHere
150-
If you want to view the URL for the preceding command, but not launch it in a browser,
151-
add the --url-only flag:
158+
If you want to view the URL for the preceding command, but not launch it in a browser:
152159
sf env open --target-env test-org --path /apex/StartHere --url-only
153-
The preceding examples open the environment in your default web browser. To use
154-
a different browser, set the --browser flag to its OS-specific name. For example,
155-
to use Chrome on macOS:
160+
The preceding examples open the environment in your default web browser. To use a different browser, set the --browser
161+
flag to its OS-specific name. For example, to use Chrome on macOS:
156162
sf env open --target-env test-org --path /apex/StartHere --browser "google chrome"
157163
```
158164

159-
_See code: [src/commands/env/open.ts](https://github.com/salesforcecli/plugin-env/blob/v0.0.5/src/commands/env/open.ts)_
160-
165+
_See code: [src/commands/env/open.ts](https://github.com/salesforcecli/plugin-env/blob/v0.0.6/src/commands/env/open.ts)_
161166
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-env",
33
"description": "An sf plugin for logging into and interacting with different Salesforce environments.",
4-
"version": "0.0.6",
4+
"version": "0.0.7",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)