@salesforce/plugin-org 1.9.2 → 1.10.0

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/CHANGELOG.md CHANGED
@@ -2,72 +2,69 @@
2
2
 
3
3
  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.
4
4
 
5
- ### [1.9.2](https://github.com/salesforcecli/plugin-org/compare/v1.9.1...v1.9.2) (2021-11-18)
5
+ ## [1.10.0](https://github.com/salesforcecli/plugin-org/compare/v1.9.2...v1.10.0) (2021-11-30)
6
+
7
+ ### Features
6
8
 
9
+ - do not display url for basic org:open ([b20ac79](https://github.com/salesforcecli/plugin-org/commit/b20ac7901bd44a680ac32c0e17ae4398ef97b9ce))
10
+
11
+ ### [1.9.2](https://github.com/salesforcecli/plugin-org/compare/v1.9.1...v1.9.2) (2021-11-18)
7
12
 
8
13
  ### Bug Fixes
9
14
 
10
- * update domain URL to be more secure ([769ddd8](https://github.com/salesforcecli/plugin-org/commit/769ddd8184d43a3e974f539378b8e10768b29eef))
15
+ - update domain URL to be more secure ([769ddd8](https://github.com/salesforcecli/plugin-org/commit/769ddd8184d43a3e974f539378b8e10768b29eef))
11
16
 
12
17
  ### [1.9.1](https://github.com/salesforcecli/plugin-org/compare/v1.9.0...v1.9.1) (2021-11-15)
13
18
 
14
-
15
19
  ### Bug Fixes
16
20
 
17
- * add warning about using --verbose.. ([5bd1511](https://github.com/salesforcecli/plugin-org/commit/5bd151136806b7f3a7056cf5c3a4bdc09a1b0d35))
21
+ - add warning about using --verbose.. ([5bd1511](https://github.com/salesforcecli/plugin-org/commit/5bd151136806b7f3a7056cf5c3a4bdc09a1b0d35))
18
22
 
19
23
  ## [1.9.0](https://github.com/salesforcecli/plugin-org/compare/v1.8.4...v1.9.0) (2021-10-22)
20
24
 
21
-
22
25
  ### Features
23
26
 
24
- * support targeting browser in "open" command ([c06442b](https://github.com/salesforcecli/plugin-org/commit/c06442b9f42641d535674b0f258f2c6039d5370b))
27
+ - support targeting browser in "open" command ([c06442b](https://github.com/salesforcecli/plugin-org/commit/c06442b9f42641d535674b0f258f2c6039d5370b))
25
28
 
26
29
  ### [1.8.4](https://github.com/salesforcecli/plugin-org/compare/v1.8.3...v1.8.4) (2021-10-20)
27
30
 
28
-
29
31
  ### Bug Fixes
30
32
 
31
- * remove extraneous single quote ([62269a2](https://github.com/salesforcecli/plugin-org/commit/62269a24d2d0f3cdcd1277882e2ea51e41cb617e))
33
+ - remove extraneous single quote ([62269a2](https://github.com/salesforcecli/plugin-org/commit/62269a24d2d0f3cdcd1277882e2ea51e41cb617e))
32
34
 
33
35
  ### [1.8.3](https://github.com/salesforcecli/plugin-org/compare/v1.8.2...v1.8.3) (2021-10-13)
34
36
 
35
-
36
37
  ### Bug Fixes
37
38
 
38
- * warnings for json, too ([e4d5cf1](https://github.com/salesforcecli/plugin-org/commit/e4d5cf15451f6b4ed36279191655dcbba4e80b51))
39
+ - warnings for json, too ([e4d5cf1](https://github.com/salesforcecli/plugin-org/commit/e4d5cf15451f6b4ed36279191655dcbba4e80b51))
39
40
 
40
41
  ### [1.8.2](https://github.com/salesforcecli/plugin-org/compare/v1.8.1...v1.8.2) (2021-10-12)
41
42
 
42
43
  ### [1.8.1](https://github.com/salesforcecli/plugin-org/compare/v1.8.0...v1.8.1) (2021-10-06)
43
44
 
44
-
45
45
  ### Bug Fixes
46
46
 
47
- * update deps ([254039c](https://github.com/salesforcecli/plugin-org/commit/254039c59bbb88a85fe32d0c705a58d808d330df))
47
+ - update deps ([254039c](https://github.com/salesforcecli/plugin-org/commit/254039c59bbb88a85fe32d0c705a58d808d330df))
48
48
 
49
49
  ## [1.8.0](https://github.com/salesforcecli/plugin-org/compare/v1.7.0...v1.8.0) (2021-09-29)
50
50
 
51
-
52
51
  ### Features
53
52
 
54
- * security warnings for display/open ([b2599be](https://github.com/salesforcecli/plugin-org/commit/b2599bed02bccf72b8b6a8766334caa41b5603a4))
53
+ - security warnings for display/open ([b2599be](https://github.com/salesforcecli/plugin-org/commit/b2599bed02bccf72b8b6a8766334caa41b5603a4))
55
54
 
56
55
  ## [1.7.0](https://github.com/salesforcecli/plugin-org/compare/v1.6.9...v1.7.0) (2021-08-20)
57
56
 
58
-
59
57
  ### Features
60
58
 
61
- * namespace on orgList ([b1d2c61](https://github.com/salesforcecli/plugin-org/commit/b1d2c616fac9b182f2483685e0fd46fd96a28259))
59
+ - namespace on orgList ([b1d2c61](https://github.com/salesforcecli/plugin-org/commit/b1d2c616fac9b182f2483685e0fd46fd96a28259))
62
60
 
63
61
  ### [1.6.9](https://github.com/salesforcecli/plugin-org/compare/v1.6.7...v1.6.9) (2021-08-05)
64
62
 
65
63
  ### [1.6.7](https://github.com/salesforcecli/plugin-org/compare/v1.6.6...v1.6.7) (2021-06-15)
66
64
 
67
-
68
65
  ### Bug Fixes
69
66
 
70
- * use most recent alias ([0ab922a](https://github.com/salesforcecli/plugin-org/commit/0ab922a96cab70f64bdc5e4d104b007a34def1b0))
67
+ - use most recent alias ([0ab922a](https://github.com/salesforcecli/plugin-org/commit/0ab922a96cab70f64bdc5e4d104b007a34def1b0))
71
68
 
72
69
  ### [1.6.6](https://github.com/salesforcecli/plugin-org/compare/v1.6.5...v1.6.6) (2021-05-10)
73
70
 
@@ -75,94 +72,82 @@ All notable changes to this project will be documented in this file. See [standa
75
72
 
76
73
  ### [1.6.4](https://github.com/salesforcecli/plugin-org/compare/v1.6.3...v1.6.4) (2021-04-23)
77
74
 
78
-
79
75
  ### Bug Fixes
80
76
 
81
- * force release of 1.6.4 ([50ee064](https://github.com/salesforcecli/plugin-org/commit/50ee064e73f4473c3b0830e5371d30dd09f88085))
77
+ - force release of 1.6.4 ([50ee064](https://github.com/salesforcecli/plugin-org/commit/50ee064e73f4473c3b0830e5371d30dd09f88085))
82
78
 
83
79
  ### [1.6.3](https://github.com/salesforcecli/plugin-org/compare/v1.6.2...v1.6.3) (2021-04-20)
84
80
 
85
-
86
81
  ### Bug Fixes
87
82
 
88
- * add missing message ([40d1cca](https://github.com/salesforcecli/plugin-org/commit/40d1ccad42a961d4452f77262b28e87351534b82))
83
+ - add missing message ([40d1cca](https://github.com/salesforcecli/plugin-org/commit/40d1ccad42a961d4452f77262b28e87351534b82))
89
84
 
90
85
  ### [1.6.2](https://github.com/salesforcecli/plugin-org/compare/v1.6.1...v1.6.2) (2021-04-06)
91
86
 
92
-
93
87
  ### Bug Fixes
94
88
 
95
- * leif .yml merge [skip-validate-pr] ([dd28564](https://github.com/salesforcecli/plugin-org/commit/dd28564f4ae1095ad9f2304a33804ad49f1e6b82))
96
- * leif .yml merge [skip-validate-pr] ([217473e](https://github.com/salesforcecli/plugin-org/commit/217473e1ddb03dd0a606b0f859322c6d3eeb5421))
89
+ - leif .yml merge [skip-validate-pr] ([dd28564](https://github.com/salesforcecli/plugin-org/commit/dd28564f4ae1095ad9f2304a33804ad49f1e6b82))
90
+ - leif .yml merge [skip-validate-pr] ([217473e](https://github.com/salesforcecli/plugin-org/commit/217473e1ddb03dd0a606b0f859322c6d3eeb5421))
97
91
 
98
92
  ### [1.6.1](https://github.com/salesforcecli/plugin-org/compare/v1.6.0...v1.6.1) (2021-03-30)
99
93
 
100
94
  ## [1.6.0](https://github.com/salesforcecli/plugin-org/compare/v1.3.3...v1.6.0) (2021-03-25)
101
95
 
102
-
103
96
  ### Bug Fixes
104
97
 
105
- * clean up a few messages ([3cee3a2](https://github.com/salesforcecli/plugin-org/commit/3cee3a2d71c95b2c37f2fb7c664c0f1a8faad39f))
106
- * error handling for no scratch org info from the hub ([d536bad](https://github.com/salesforcecli/plugin-org/commit/d536badb53580a73603bc9125a49029f5962cbbe))
107
- * list command shows orgs that have userId ([b26a656](https://github.com/salesforcecli/plugin-org/commit/b26a656185bd84b182be29fc401231698644b499))
108
- * shane's suggestion ([0f03592](https://github.com/salesforcecli/plugin-org/commit/0f0359274ca218ac8d6044c9f6282fe85c480d82))
98
+ - clean up a few messages ([3cee3a2](https://github.com/salesforcecli/plugin-org/commit/3cee3a2d71c95b2c37f2fb7c664c0f1a8faad39f))
99
+ - error handling for no scratch org info from the hub ([d536bad](https://github.com/salesforcecli/plugin-org/commit/d536badb53580a73603bc9125a49029f5962cbbe))
100
+ - list command shows orgs that have userId ([b26a656](https://github.com/salesforcecli/plugin-org/commit/b26a656185bd84b182be29fc401231698644b499))
101
+ - shane's suggestion ([0f03592](https://github.com/salesforcecli/plugin-org/commit/0f0359274ca218ac8d6044c9f6282fe85c480d82))
109
102
 
110
103
  ### [1.3.3](https://github.com/salesforcecli/plugin-org/compare/v1.3.2...v1.3.3) (2021-03-03)
111
104
 
112
-
113
105
  ### Bug Fixes
114
106
 
115
- * no devhub on display ([3d220ab](https://github.com/salesforcecli/plugin-org/commit/3d220ab2cff97a6fc9bfc8697a26606f70a9509e))
107
+ - no devhub on display ([3d220ab](https://github.com/salesforcecli/plugin-org/commit/3d220ab2cff97a6fc9bfc8697a26606f70a9509e))
116
108
 
117
109
  ### [1.3.2](https://github.com/salesforcecli/plugin-org/compare/v1.3.1...v1.3.2) (2021-02-19)
118
110
 
119
-
120
111
  ### Bug Fixes
121
112
 
122
- * refresh before reading files ([aa2e612](https://github.com/salesforcecli/plugin-org/commit/aa2e612738718911008b8ceaac2b4507b2fb4d1d))
113
+ - refresh before reading files ([aa2e612](https://github.com/salesforcecli/plugin-org/commit/aa2e612738718911008b8ceaac2b4507b2fb4d1d))
123
114
 
124
115
  ### [1.3.1](https://github.com/salesforcecli/plugin-org/compare/v1.3.0...v1.3.1) (2021-02-16)
125
116
 
126
-
127
117
  ### Bug Fixes
128
118
 
129
- * no connectStatus json ([5704c3f](https://github.com/salesforcecli/plugin-org/commit/5704c3f973f0936709347bdfb9acadcf2fd3c90a))
130
- * no json connectedStatus on skipconnection ([7889c4b](https://github.com/salesforcecli/plugin-org/commit/7889c4ba5110b84357f8ec1f33f81acf51f33a82))
131
- * org:list updates devhub status ([df45fd9](https://github.com/salesforcecli/plugin-org/commit/df45fd9f3a39d106066d3ccf6450eda38313c152))
119
+ - no connectStatus json ([5704c3f](https://github.com/salesforcecli/plugin-org/commit/5704c3f973f0936709347bdfb9acadcf2fd3c90a))
120
+ - no json connectedStatus on skipconnection ([7889c4b](https://github.com/salesforcecli/plugin-org/commit/7889c4ba5110b84357f8ec1f33f81acf51f33a82))
121
+ - org:list updates devhub status ([df45fd9](https://github.com/salesforcecli/plugin-org/commit/df45fd9f3a39d106066d3ccf6450eda38313c152))
132
122
 
133
123
  ## [1.3.0](https://github.com/salesforcecli/plugin-org/compare/v1.2.0...v1.3.0) (2021-02-16)
134
124
 
135
-
136
125
  ### Features
137
126
 
138
- * uses default username ([5654f9e](https://github.com/salesforcecli/plugin-org/commit/5654f9e9fd26a421054b6f200a65e56f85e69975))
139
-
127
+ - uses default username ([5654f9e](https://github.com/salesforcecli/plugin-org/commit/5654f9e9fd26a421054b6f200a65e56f85e69975))
140
128
 
141
129
  ### Bug Fixes
142
130
 
143
- * org:display default username ([bc815da](https://github.com/salesforcecli/plugin-org/commit/bc815da15b3c0a6e910a4b1752ad39489cabc7c9))
131
+ - org:display default username ([bc815da](https://github.com/salesforcecli/plugin-org/commit/bc815da15b3c0a6e910a4b1752ad39489cabc7c9))
144
132
 
145
133
  ## [1.2.0](https://github.com/salesforcecli/plugin-org/compare/v1.1.3...v1.2.0) (2021-02-16)
146
134
 
147
-
148
135
  ### Features
149
136
 
150
- * add deprecation warning ([64f0f72](https://github.com/salesforcecli/plugin-org/commit/64f0f72f0d4794ae076c71a731552103dc437a49))
137
+ - add deprecation warning ([64f0f72](https://github.com/salesforcecli/plugin-org/commit/64f0f72f0d4794ae076c71a731552103dc437a49))
151
138
 
152
139
  ### [1.1.3](https://github.com/salesforcecli/plugin-org/compare/v1.1.2...v1.1.3) (2021-02-04)
153
140
 
154
-
155
141
  ### Bug Fixes
156
142
 
157
- * handle remaining orgs when decryption fails ([6276d49](https://github.com/salesforcecli/plugin-org/commit/6276d49228129cd252e9f8c98fa134146b579891))
158
- * unencrypt access tokens on org:list ([38f17a0](https://github.com/salesforcecli/plugin-org/commit/38f17a0fed306d0ff0345db1cc466c7e04206379))
159
- * warning and instructions for unable to clean ([78e7702](https://github.com/salesforcecli/plugin-org/commit/78e7702c3cd19c6f071152e909a5f64551f21de0))
143
+ - handle remaining orgs when decryption fails ([6276d49](https://github.com/salesforcecli/plugin-org/commit/6276d49228129cd252e9f8c98fa134146b579891))
144
+ - unencrypt access tokens on org:list ([38f17a0](https://github.com/salesforcecli/plugin-org/commit/38f17a0fed306d0ff0345db1cc466c7e04206379))
145
+ - warning and instructions for unable to clean ([78e7702](https://github.com/salesforcecli/plugin-org/commit/78e7702c3cd19c6f071152e909a5f64551f21de0))
160
146
 
161
147
  ### 1.1.2 (2021-02-03)
162
148
 
163
-
164
149
  ### Bug Fixes
165
150
 
166
- * ask internal about url, not domain ([dec90df](https://github.com/salesforcecli/plugin-org/commit/dec90dfda8ae7e737580a51f818b50711eea9349))
167
- * changes from code review ([b0a24a5](https://github.com/salesforcecli/plugin-org/commit/b0a24a51197415ab09b6691912e3f8db030f01d0))
168
- * default open behavior ([6dc3f2f](https://github.com/salesforcecli/plugin-org/commit/6dc3f2f7ea4b13a0dbcc6adc1b9a135b3e4d7f54))
151
+ - ask internal about url, not domain ([dec90df](https://github.com/salesforcecli/plugin-org/commit/dec90dfda8ae7e737580a51f818b50711eea9349))
152
+ - changes from code review ([b0a24a5](https://github.com/salesforcecli/plugin-org/commit/b0a24a51197415ab09b6691912e3f8db030f01d0))
153
+ - default open behavior ([6dc3f2f](https://github.com/salesforcecli/plugin-org/commit/6dc3f2f7ea4b13a0dbcc6adc1b9a135b3e4d7f54))
package/README.md CHANGED
@@ -77,9 +77,10 @@ sfdx plugins
77
77
  ## Commands
78
78
 
79
79
  <!-- commands -->
80
- * [`sfdx force:org:display [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceorgdisplay--u-string---apiversion-string---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
81
- * [`sfdx force:org:list [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceorglist---all--p---clean---skipconnectionstatus---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
82
- * [`sfdx force:org:open [-b <string> | -r] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceorgopen--b-string---r--p-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
80
+
81
+ - [`sfdx force:org:display [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceorgdisplay--u-string---apiversion-string---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
82
+ - [`sfdx force:org:list [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceorglist---all--p---clean---skipconnectionstatus---verbose---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
83
+ - [`sfdx force:org:open [-b <string> | -r] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceorgopen--b-string---r--p-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
83
84
 
84
85
  ## `sfdx force:org:display [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
85
86
 
@@ -92,7 +93,7 @@ Use --verbose to include the SFDX auth URL. WARNING: The SFDX auth URL contains
92
93
  Including --verbose displays the sfdxAuthUrl property only if you authenticated to the org using auth:web:login (not auth:jwt:grant)
93
94
 
94
95
  USAGE
95
- $ sfdx force:org:display [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel
96
+ $ sfdx force:org:display [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel
96
97
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
97
98
 
98
99
  OPTIONS
@@ -111,11 +112,11 @@ OPTIONS
111
112
  stdout
112
113
 
113
114
  DESCRIPTION
114
- Output includes your access token, client Id, connected status, org ID, instance URL, username, and alias, if
115
+ Output includes your access token, client Id, connected status, org ID, instance URL, username, and alias, if
115
116
  applicable.
116
- Use --verbose to include the SFDX auth URL. WARNING: The SFDX auth URL contains sensitive information, such as a
117
+ Use --verbose to include the SFDX auth URL. WARNING: The SFDX auth URL contains sensitive information, such as a
117
118
  refresh token that can be used to access an org. Don't share or distribute this URL or token.
118
- Including --verbose displays the sfdxAuthUrl property only if you authenticated to the org using auth:web:login (not
119
+ Including --verbose displays the sfdxAuthUrl property only if you authenticated to the org using auth:web:login (not
119
120
  auth:jwt:grant)
120
121
 
121
122
  EXAMPLES
@@ -125,7 +126,7 @@ EXAMPLES
125
126
  sfdx force:org:display -u TestOrg1 --json > tmp/MyOrgDesc.json
126
127
  ```
127
128
 
128
- _See code: [src/commands/force/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/v1.9.1/src/commands/force/org/display.ts)_
129
+ _See code: [src/commands/force/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/v1.9.2/src/commands/force/org/display.ts)_
129
130
 
130
131
  ## `sfdx force:org:list [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
131
132
 
@@ -135,7 +136,7 @@ list all orgs you’ve created or authenticated to
135
136
  list all orgs you’ve created or authenticated to
136
137
 
137
138
  USAGE
138
- $ sfdx force:org:list [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel
139
+ $ sfdx force:org:list [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel
139
140
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
140
141
 
141
142
  OPTIONS
@@ -163,7 +164,7 @@ EXAMPLES
163
164
  sfdx force:org:list --verbose --json > tmp/MyOrgList.json
164
165
  ```
165
166
 
166
- _See code: [src/commands/force/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/v1.9.1/src/commands/force/org/list.ts)_
167
+ _See code: [src/commands/force/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/v1.9.2/src/commands/force/org/list.ts)_
167
168
 
168
169
  ## `sfdx force:org:open [-b <string> | -r] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
169
170
 
@@ -177,7 +178,7 @@ To generate a URL but not launch it in your browser, specify --urlonly.
177
178
  To 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.
178
179
 
179
180
  USAGE
180
- $ sfdx force:org:open [-b <string> | -r] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
181
+ $ sfdx force:org:open [-b <string> | -r] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
181
182
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
182
183
 
183
184
  OPTIONS
@@ -200,10 +201,10 @@ OPTIONS
200
201
 
201
202
  DESCRIPTION
202
203
  To open a specific page, specify the portion of the URL after "https://MyDomainName.my.salesforce.com/" as --path.
203
- For example, specify "--path lightning" to open Lightning Experience, or specify "--path /apex/YourPage" to open a
204
+ For example, specify "--path lightning" to open Lightning Experience, or specify "--path /apex/YourPage" to open a
204
205
  Visualforce page.
205
206
  To generate a URL but not launch it in your browser, specify --urlonly.
206
- To open in a specific browser, use the --browser parameter. Supported browsers are "chrome", "edge", and "firefox". If
207
+ To open in a specific browser, use the --browser parameter. Supported browsers are "chrome", "edge", and "firefox". If
207
208
  you don't specify --browser, the org opens in your default browser.
208
209
 
209
210
  EXAMPLES
@@ -214,5 +215,6 @@ EXAMPLES
214
215
  sfdx force:org:open -u me@my.org -b firefox
215
216
  ```
216
217
 
217
- _See code: [src/commands/force/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/v1.9.1/src/commands/force/org/open.ts)_
218
+ _See code: [src/commands/force/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/v1.9.2/src/commands/force/org/open.ts)_
219
+
218
220
  <!-- commandsstop -->
@@ -24,18 +24,24 @@ class OrgOpenCommand extends command_1.SfdxCommand {
24
24
  const orgId = this.org.getOrgId();
25
25
  const username = this.org.getUsername();
26
26
  const output = { orgId, url, username };
27
- this.ux.warn(sharedMessages.getMessage('SecurityWarning'));
28
- this.ux.log('');
29
- if (new kit_1.Env().getBoolean('SFDX_CONTAINER_MODE')) {
27
+ const containerMode = new kit_1.Env().getBoolean('SFDX_CONTAINER_MODE');
28
+ // security warning only for --json OR --urlonly OR containerMode
29
+ if (this.flags.urlonly || this.flags.json || containerMode) {
30
+ this.ux.warn(sharedMessages.getMessage('SecurityWarning'));
31
+ this.ux.log('');
32
+ }
33
+ if (containerMode) {
30
34
  // instruct the user that they need to paste the URL into the browser
31
35
  this.ux.styledHeader('Action Required!');
32
36
  this.ux.log(messages.getMessage('containerAction', [orgId, url]));
33
37
  return output;
34
38
  }
35
- this.ux.log(messages.getMessage('humanSuccess', [orgId, username, url]));
36
39
  if (this.flags.urlonly) {
40
+ // this includes the URL
41
+ this.ux.log(messages.getMessage('humanSuccess', [orgId, username, url]));
37
42
  return output;
38
43
  }
44
+ this.ux.log(messages.getMessage('humanSuccessNoUrl', [orgId, username]));
39
45
  // we actually need to open the org
40
46
  try {
41
47
  this.ux.startSpinner(messages.getMessage('domainWaiting'));
@@ -54,9 +60,7 @@ class OrgOpenCommand extends command_1.SfdxCommand {
54
60
  }
55
61
  throw core_1.SfdxError.wrap(err);
56
62
  }
57
- const openOptions = this.flags.browser
58
- ? { app: { name: open.apps[this.flags.browser] } }
59
- : {};
63
+ const openOptions = typeof this.flags.browser === 'string' ? { app: { name: open.apps[this.flags.browser] } } : {};
60
64
  await (0, utils_1.openUrl)(url, openOptions);
61
65
  return output;
62
66
  }
@@ -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,2CAAqE;AACrE,yCAAgD;AAChD,6BAA8B;AAC9B,iDAAgD;AAEhD,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,qBAAW;IAuBtC,KAAK,CAAC,GAAG;;QACd,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpD,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,YAAY,WAAW,IAAI,CAAC,KAAK,CAAC,IAAc,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC;QACnG,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAClC,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;QACxC,MAAM,MAA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T,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;QAC3C,GAAG,EAAE,gBAAgB;QACrB,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;KAChE,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"}
@@ -12,6 +12,7 @@
12
12
  "urlonly": "display navigation URL, but don’t launch browser",
13
13
  "containerAction": "You are in a headless environment. To access the org %s, open this URL in a browser:\n\n%s",
14
14
  "humanSuccess": "Access org %s as user %s with the following URL: %s",
15
+ "humanSuccessNoUrl": "Opening org %s as user %s",
15
16
  "domainWaiting": "Waiting to resolve the Lightning Experience-enabled custom domain...",
16
17
  "domainTimeoutError": "The Lightning Experience-enabled custom domain is unavailable.",
17
18
  "domainTimeoutAction": "The Lightning Experience-enabled custom domain may take a few more minutes to resolve. Try the \"force:org:open\" command again."
@@ -1 +1 @@
1
- {"version":"1.9.2","commands":{"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)","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"verbose":{"name":"verbose","type":"boolean","description":"emit additional command output to stdout","allowNo":false}},"args":[]},"force:org:list":{"id":"force:org:list","description":"list all orgs you’ve created or authenticated to","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","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)","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 orgs","allowNo":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","allowNo":false},"skipconnectionstatus":{"name":"skipconnectionstatus","type":"boolean","description":"skip retrieving the connection status of non-scratch orgs","allowNo":false}},"args":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"browser":{"name":"browser","type":"option","char":"b","description":"browser where the org opens","options":["chrome","edge","firefox"]},"path":{"name":"path","type":"option","char":"p","description":"navigation URL path"},"urlonly":{"name":"urlonly","type":"boolean","char":"r","description":"display navigation URL, but don’t launch browser","allowNo":false}},"args":[]}}}
1
+ {"version":"1.10.0","commands":{"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)","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"verbose":{"name":"verbose","type":"boolean","description":"emit additional command output to stdout","allowNo":false}},"args":[]},"force:org:list":{"id":"force:org:list","description":"list all orgs you’ve created or authenticated to","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","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)","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 orgs","allowNo":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","allowNo":false},"skipconnectionstatus":{"name":"skipconnectionstatus","type":"boolean","description":"skip retrieving the connection status of non-scratch orgs","allowNo":false}},"args":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"browser":{"name":"browser","type":"option","char":"b","description":"browser where the org opens","options":["chrome","edge","firefox"]},"path":{"name":"path","type":"option","char":"p","description":"navigation URL path"},"urlonly":{"name":"urlonly","type":"boolean","char":"r","description":"display navigation URL, but don’t launch browser","allowNo":false}},"args":[]}}}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-org",
3
3
  "description": "A template repository for sfdx plugins",
4
- "version": "1.9.2",
4
+ "version": "1.10.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
- "@oclif/config": "^1",
8
+ "@oclif/config": "^1.17.1",
9
9
  "@salesforce/command": "^4.1.3",
10
10
  "@salesforce/core": "^2.28.0",
11
11
  "@salesforce/kit": "^1.5.17",
@@ -14,10 +14,10 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@oclif/dev-cli": "^1",
17
- "@oclif/plugin-command-snapshot": "^2.0.0",
17
+ "@oclif/plugin-command-snapshot": "^2.2.2",
18
18
  "@salesforce/cli-plugins-testkit": "^1.4.10",
19
19
  "@salesforce/dev-config": "^2.1.2",
20
- "@salesforce/dev-scripts": "^0.9.15",
20
+ "@salesforce/dev-scripts": "^1.0.0",
21
21
  "@salesforce/plugin-command-reference": "^1.3.0",
22
22
  "@salesforce/prettier-config": "^0.0.2",
23
23
  "@salesforce/ts-sinon": "1.3.21",
@@ -35,7 +35,7 @@
35
35
  "eslint-plugin-import": "2.25.2",
36
36
  "eslint-plugin-jsdoc": "^35.1.2",
37
37
  "eslint-plugin-prettier": "^3.1.3",
38
- "husky": "^4.3.8",
38
+ "husky": "^7.0.4",
39
39
  "lint-staged": "^11.0.0",
40
40
  "mocha": "^8.4.0",
41
41
  "moment": "^2.29.1",
@@ -110,18 +110,11 @@
110
110
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
111
111
  "version": "oclif-dev readme"
112
112
  },
113
- "husky": {
114
- "hooks": {
115
- "pre-commit": "sf-husky-pre-commit",
116
- "commit-msg": "sf-husky-commit-msg",
117
- "pre-push": "sf-husky-pre-push"
118
- }
119
- },
120
113
  "publishConfig": {
121
114
  "access": "public"
122
115
  },
123
116
  "sfdx": {
124
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/1.9.2.crt",
125
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/1.9.2.sig"
117
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/1.10.0.crt",
118
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/1.10.0.sig"
126
119
  }
127
120
  }