@salesforce/plugin-org 1.9.0 → 1.10.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/CHANGELOG.md CHANGED
@@ -2,58 +2,75 @@
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.0](https://github.com/salesforcecli/plugin-org/compare/v1.8.4...v1.9.0) (2021-10-22)
5
+ ### [1.10.1](https://github.com/salesforcecli/plugin-org/compare/v1.10.0...v1.10.1) (2021-12-01)
6
+
7
+ ### Bug Fixes
6
8
 
9
+ - org:delete scratch org + sandboxes ([#228](https://github.com/salesforcecli/plugin-org/issues/228)) ([ab4b7a2](https://github.com/salesforcecli/plugin-org/commit/ab4b7a234c22d226aa148002daf578ee8a7975e6))
10
+
11
+ ## [1.10.0](https://github.com/salesforcecli/plugin-org/compare/v1.9.2...v1.10.0) (2021-11-30)
7
12
 
8
13
  ### Features
9
14
 
10
- * support targeting browser in "open" command ([c06442b](https://github.com/salesforcecli/plugin-org/commit/c06442b9f42641d535674b0f258f2c6039d5370b))
15
+ - do not display url for basic org:open ([b20ac79](https://github.com/salesforcecli/plugin-org/commit/b20ac7901bd44a680ac32c0e17ae4398ef97b9ce))
11
16
 
12
- ### [1.8.4](https://github.com/salesforcecli/plugin-org/compare/v1.8.3...v1.8.4) (2021-10-20)
17
+ ### [1.9.2](https://github.com/salesforcecli/plugin-org/compare/v1.9.1...v1.9.2) (2021-11-18)
13
18
 
19
+ ### Bug Fixes
20
+
21
+ - update domain URL to be more secure ([769ddd8](https://github.com/salesforcecli/plugin-org/commit/769ddd8184d43a3e974f539378b8e10768b29eef))
22
+
23
+ ### [1.9.1](https://github.com/salesforcecli/plugin-org/compare/v1.9.0...v1.9.1) (2021-11-15)
14
24
 
15
25
  ### Bug Fixes
16
26
 
17
- * remove extraneous single quote ([62269a2](https://github.com/salesforcecli/plugin-org/commit/62269a24d2d0f3cdcd1277882e2ea51e41cb617e))
27
+ - add warning about using --verbose.. ([5bd1511](https://github.com/salesforcecli/plugin-org/commit/5bd151136806b7f3a7056cf5c3a4bdc09a1b0d35))
18
28
 
19
- ### [1.8.3](https://github.com/salesforcecli/plugin-org/compare/v1.8.2...v1.8.3) (2021-10-13)
29
+ ## [1.9.0](https://github.com/salesforcecli/plugin-org/compare/v1.8.4...v1.9.0) (2021-10-22)
30
+
31
+ ### Features
20
32
 
33
+ - support targeting browser in "open" command ([c06442b](https://github.com/salesforcecli/plugin-org/commit/c06442b9f42641d535674b0f258f2c6039d5370b))
34
+
35
+ ### [1.8.4](https://github.com/salesforcecli/plugin-org/compare/v1.8.3...v1.8.4) (2021-10-20)
21
36
 
22
37
  ### Bug Fixes
23
38
 
24
- * warnings for json, too ([e4d5cf1](https://github.com/salesforcecli/plugin-org/commit/e4d5cf15451f6b4ed36279191655dcbba4e80b51))
39
+ - remove extraneous single quote ([62269a2](https://github.com/salesforcecli/plugin-org/commit/62269a24d2d0f3cdcd1277882e2ea51e41cb617e))
40
+
41
+ ### [1.8.3](https://github.com/salesforcecli/plugin-org/compare/v1.8.2...v1.8.3) (2021-10-13)
42
+
43
+ ### Bug Fixes
44
+
45
+ - warnings for json, too ([e4d5cf1](https://github.com/salesforcecli/plugin-org/commit/e4d5cf15451f6b4ed36279191655dcbba4e80b51))
25
46
 
26
47
  ### [1.8.2](https://github.com/salesforcecli/plugin-org/compare/v1.8.1...v1.8.2) (2021-10-12)
27
48
 
28
49
  ### [1.8.1](https://github.com/salesforcecli/plugin-org/compare/v1.8.0...v1.8.1) (2021-10-06)
29
50
 
30
-
31
51
  ### Bug Fixes
32
52
 
33
- * update deps ([254039c](https://github.com/salesforcecli/plugin-org/commit/254039c59bbb88a85fe32d0c705a58d808d330df))
53
+ - update deps ([254039c](https://github.com/salesforcecli/plugin-org/commit/254039c59bbb88a85fe32d0c705a58d808d330df))
34
54
 
35
55
  ## [1.8.0](https://github.com/salesforcecli/plugin-org/compare/v1.7.0...v1.8.0) (2021-09-29)
36
56
 
37
-
38
57
  ### Features
39
58
 
40
- * security warnings for display/open ([b2599be](https://github.com/salesforcecli/plugin-org/commit/b2599bed02bccf72b8b6a8766334caa41b5603a4))
59
+ - security warnings for display/open ([b2599be](https://github.com/salesforcecli/plugin-org/commit/b2599bed02bccf72b8b6a8766334caa41b5603a4))
41
60
 
42
61
  ## [1.7.0](https://github.com/salesforcecli/plugin-org/compare/v1.6.9...v1.7.0) (2021-08-20)
43
62
 
44
-
45
63
  ### Features
46
64
 
47
- * namespace on orgList ([b1d2c61](https://github.com/salesforcecli/plugin-org/commit/b1d2c616fac9b182f2483685e0fd46fd96a28259))
65
+ - namespace on orgList ([b1d2c61](https://github.com/salesforcecli/plugin-org/commit/b1d2c616fac9b182f2483685e0fd46fd96a28259))
48
66
 
49
67
  ### [1.6.9](https://github.com/salesforcecli/plugin-org/compare/v1.6.7...v1.6.9) (2021-08-05)
50
68
 
51
69
  ### [1.6.7](https://github.com/salesforcecli/plugin-org/compare/v1.6.6...v1.6.7) (2021-06-15)
52
70
 
53
-
54
71
  ### Bug Fixes
55
72
 
56
- * use most recent alias ([0ab922a](https://github.com/salesforcecli/plugin-org/commit/0ab922a96cab70f64bdc5e4d104b007a34def1b0))
73
+ - use most recent alias ([0ab922a](https://github.com/salesforcecli/plugin-org/commit/0ab922a96cab70f64bdc5e4d104b007a34def1b0))
57
74
 
58
75
  ### [1.6.6](https://github.com/salesforcecli/plugin-org/compare/v1.6.5...v1.6.6) (2021-05-10)
59
76
 
@@ -61,94 +78,82 @@ All notable changes to this project will be documented in this file. See [standa
61
78
 
62
79
  ### [1.6.4](https://github.com/salesforcecli/plugin-org/compare/v1.6.3...v1.6.4) (2021-04-23)
63
80
 
64
-
65
81
  ### Bug Fixes
66
82
 
67
- * force release of 1.6.4 ([50ee064](https://github.com/salesforcecli/plugin-org/commit/50ee064e73f4473c3b0830e5371d30dd09f88085))
83
+ - force release of 1.6.4 ([50ee064](https://github.com/salesforcecli/plugin-org/commit/50ee064e73f4473c3b0830e5371d30dd09f88085))
68
84
 
69
85
  ### [1.6.3](https://github.com/salesforcecli/plugin-org/compare/v1.6.2...v1.6.3) (2021-04-20)
70
86
 
71
-
72
87
  ### Bug Fixes
73
88
 
74
- * add missing message ([40d1cca](https://github.com/salesforcecli/plugin-org/commit/40d1ccad42a961d4452f77262b28e87351534b82))
89
+ - add missing message ([40d1cca](https://github.com/salesforcecli/plugin-org/commit/40d1ccad42a961d4452f77262b28e87351534b82))
75
90
 
76
91
  ### [1.6.2](https://github.com/salesforcecli/plugin-org/compare/v1.6.1...v1.6.2) (2021-04-06)
77
92
 
78
-
79
93
  ### Bug Fixes
80
94
 
81
- * leif .yml merge [skip-validate-pr] ([dd28564](https://github.com/salesforcecli/plugin-org/commit/dd28564f4ae1095ad9f2304a33804ad49f1e6b82))
82
- * leif .yml merge [skip-validate-pr] ([217473e](https://github.com/salesforcecli/plugin-org/commit/217473e1ddb03dd0a606b0f859322c6d3eeb5421))
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))
83
97
 
84
98
  ### [1.6.1](https://github.com/salesforcecli/plugin-org/compare/v1.6.0...v1.6.1) (2021-03-30)
85
99
 
86
100
  ## [1.6.0](https://github.com/salesforcecli/plugin-org/compare/v1.3.3...v1.6.0) (2021-03-25)
87
101
 
88
-
89
102
  ### Bug Fixes
90
103
 
91
- * clean up a few messages ([3cee3a2](https://github.com/salesforcecli/plugin-org/commit/3cee3a2d71c95b2c37f2fb7c664c0f1a8faad39f))
92
- * error handling for no scratch org info from the hub ([d536bad](https://github.com/salesforcecli/plugin-org/commit/d536badb53580a73603bc9125a49029f5962cbbe))
93
- * list command shows orgs that have userId ([b26a656](https://github.com/salesforcecli/plugin-org/commit/b26a656185bd84b182be29fc401231698644b499))
94
- * shane's suggestion ([0f03592](https://github.com/salesforcecli/plugin-org/commit/0f0359274ca218ac8d6044c9f6282fe85c480d82))
104
+ - clean up a few messages ([3cee3a2](https://github.com/salesforcecli/plugin-org/commit/3cee3a2d71c95b2c37f2fb7c664c0f1a8faad39f))
105
+ - error handling for no scratch org info from the hub ([d536bad](https://github.com/salesforcecli/plugin-org/commit/d536badb53580a73603bc9125a49029f5962cbbe))
106
+ - list command shows orgs that have userId ([b26a656](https://github.com/salesforcecli/plugin-org/commit/b26a656185bd84b182be29fc401231698644b499))
107
+ - shane's suggestion ([0f03592](https://github.com/salesforcecli/plugin-org/commit/0f0359274ca218ac8d6044c9f6282fe85c480d82))
95
108
 
96
109
  ### [1.3.3](https://github.com/salesforcecli/plugin-org/compare/v1.3.2...v1.3.3) (2021-03-03)
97
110
 
98
-
99
111
  ### Bug Fixes
100
112
 
101
- * no devhub on display ([3d220ab](https://github.com/salesforcecli/plugin-org/commit/3d220ab2cff97a6fc9bfc8697a26606f70a9509e))
113
+ - no devhub on display ([3d220ab](https://github.com/salesforcecli/plugin-org/commit/3d220ab2cff97a6fc9bfc8697a26606f70a9509e))
102
114
 
103
115
  ### [1.3.2](https://github.com/salesforcecli/plugin-org/compare/v1.3.1...v1.3.2) (2021-02-19)
104
116
 
105
-
106
117
  ### Bug Fixes
107
118
 
108
- * refresh before reading files ([aa2e612](https://github.com/salesforcecli/plugin-org/commit/aa2e612738718911008b8ceaac2b4507b2fb4d1d))
119
+ - refresh before reading files ([aa2e612](https://github.com/salesforcecli/plugin-org/commit/aa2e612738718911008b8ceaac2b4507b2fb4d1d))
109
120
 
110
121
  ### [1.3.1](https://github.com/salesforcecli/plugin-org/compare/v1.3.0...v1.3.1) (2021-02-16)
111
122
 
112
-
113
123
  ### Bug Fixes
114
124
 
115
- * no connectStatus json ([5704c3f](https://github.com/salesforcecli/plugin-org/commit/5704c3f973f0936709347bdfb9acadcf2fd3c90a))
116
- * no json connectedStatus on skipconnection ([7889c4b](https://github.com/salesforcecli/plugin-org/commit/7889c4ba5110b84357f8ec1f33f81acf51f33a82))
117
- * org:list updates devhub status ([df45fd9](https://github.com/salesforcecli/plugin-org/commit/df45fd9f3a39d106066d3ccf6450eda38313c152))
125
+ - no connectStatus json ([5704c3f](https://github.com/salesforcecli/plugin-org/commit/5704c3f973f0936709347bdfb9acadcf2fd3c90a))
126
+ - no json connectedStatus on skipconnection ([7889c4b](https://github.com/salesforcecli/plugin-org/commit/7889c4ba5110b84357f8ec1f33f81acf51f33a82))
127
+ - org:list updates devhub status ([df45fd9](https://github.com/salesforcecli/plugin-org/commit/df45fd9f3a39d106066d3ccf6450eda38313c152))
118
128
 
119
129
  ## [1.3.0](https://github.com/salesforcecli/plugin-org/compare/v1.2.0...v1.3.0) (2021-02-16)
120
130
 
121
-
122
131
  ### Features
123
132
 
124
- * uses default username ([5654f9e](https://github.com/salesforcecli/plugin-org/commit/5654f9e9fd26a421054b6f200a65e56f85e69975))
125
-
133
+ - uses default username ([5654f9e](https://github.com/salesforcecli/plugin-org/commit/5654f9e9fd26a421054b6f200a65e56f85e69975))
126
134
 
127
135
  ### Bug Fixes
128
136
 
129
- * org:display default username ([bc815da](https://github.com/salesforcecli/plugin-org/commit/bc815da15b3c0a6e910a4b1752ad39489cabc7c9))
137
+ - org:display default username ([bc815da](https://github.com/salesforcecli/plugin-org/commit/bc815da15b3c0a6e910a4b1752ad39489cabc7c9))
130
138
 
131
139
  ## [1.2.0](https://github.com/salesforcecli/plugin-org/compare/v1.1.3...v1.2.0) (2021-02-16)
132
140
 
133
-
134
141
  ### Features
135
142
 
136
- * add deprecation warning ([64f0f72](https://github.com/salesforcecli/plugin-org/commit/64f0f72f0d4794ae076c71a731552103dc437a49))
143
+ - add deprecation warning ([64f0f72](https://github.com/salesforcecli/plugin-org/commit/64f0f72f0d4794ae076c71a731552103dc437a49))
137
144
 
138
145
  ### [1.1.3](https://github.com/salesforcecli/plugin-org/compare/v1.1.2...v1.1.3) (2021-02-04)
139
146
 
140
-
141
147
  ### Bug Fixes
142
148
 
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))
149
+ - handle remaining orgs when decryption fails ([6276d49](https://github.com/salesforcecli/plugin-org/commit/6276d49228129cd252e9f8c98fa134146b579891))
150
+ - unencrypt access tokens on org:list ([38f17a0](https://github.com/salesforcecli/plugin-org/commit/38f17a0fed306d0ff0345db1cc466c7e04206379))
151
+ - warning and instructions for unable to clean ([78e7702](https://github.com/salesforcecli/plugin-org/commit/78e7702c3cd19c6f071152e909a5f64551f21de0))
146
152
 
147
153
  ### 1.1.2 (2021-02-03)
148
154
 
149
-
150
155
  ### Bug Fixes
151
156
 
152
- * ask internal about url, not domain ([dec90df](https://github.com/salesforcecli/plugin-org/commit/dec90dfda8ae7e737580a51f818b50711eea9349))
153
- * changes from code review ([b0a24a5](https://github.com/salesforcecli/plugin-org/commit/b0a24a51197415ab09b6691912e3f8db030f01d0))
154
- * default open behavior ([6dc3f2f](https://github.com/salesforcecli/plugin-org/commit/6dc3f2f7ea4b13a0dbcc6adc1b9a135b3e4d7f54))
157
+ - ask internal about url, not domain ([dec90df](https://github.com/salesforcecli/plugin-org/commit/dec90dfda8ae7e737580a51f818b50711eea9349))
158
+ - changes from code review ([b0a24a5](https://github.com/salesforcecli/plugin-org/commit/b0a24a51197415ab09b6691912e3f8db030f01d0))
159
+ - default open behavior ([6dc3f2f](https://github.com/salesforcecli/plugin-org/commit/6dc3f2f7ea4b13a0dbcc6adc1b9a135b3e4d7f54))
package/README.md CHANGED
@@ -77,9 +77,50 @@ 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:delete [-p] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-forceorgdelete--p--v-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
82
+ - [`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)
83
+ - [`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)
84
+ - [`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)
85
+
86
+ ## `sfdx force:org:delete [-p] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
87
+
88
+ mark a scratch or sandbox org for deletion
89
+
90
+ ```
91
+ mark a scratch or sandbox org for deletion
92
+ To mark the org for deletion without being prompted to confirm, specify --noprompt.
93
+
94
+ USAGE
95
+ $ sfdx force:org:delete [-p] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
96
+ trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
97
+
98
+ OPTIONS
99
+ -p, --noprompt no prompt to confirm deletion
100
+
101
+ -u, --targetusername=targetusername username or alias for the target
102
+ org; overrides default target org
103
+
104
+ -v, --targetdevhubusername=targetdevhubusername username or alias for the dev hub
105
+ org; overrides default dev hub org
106
+
107
+ --apiversion=apiversion override the api version used for
108
+ api requests made by this command
109
+
110
+ --json format output as json
111
+
112
+ --loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
113
+ this command invocation
114
+
115
+ DESCRIPTION
116
+ To mark the org for deletion without being prompted to confirm, specify --noprompt.
117
+
118
+ EXAMPLES
119
+ $ sfdx force:org:delete -u me@my.org
120
+ $ sfdx force:org:delete -u MyOrgAlias -p
121
+ ```
122
+
123
+ _See code: [src/commands/force/org/delete.ts](https://github.com/salesforcecli/plugin-org/blob/v1.10.0/src/commands/force/org/delete.ts)_
83
124
 
84
125
  ## `sfdx force:org:display [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
85
126
 
@@ -88,11 +129,11 @@ get the description for the current or target org
88
129
  ```
89
130
  get the description for the current or target org
90
131
  Output includes your access token, client Id, connected status, org ID, instance URL, username, and alias, if applicable.
91
- Use --verbose to include the SFDX auth URL.
132
+ Use --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.
92
133
  Including --verbose displays the sfdxAuthUrl property only if you authenticated to the org using auth:web:login (not auth:jwt:grant)
93
134
 
94
135
  USAGE
95
- $ sfdx force:org:display [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel
136
+ $ sfdx force:org:display [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel
96
137
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
97
138
 
98
139
  OPTIONS
@@ -111,10 +152,11 @@ OPTIONS
111
152
  stdout
112
153
 
113
154
  DESCRIPTION
114
- Output includes your access token, client Id, connected status, org ID, instance URL, username, and alias, if
155
+ Output includes your access token, client Id, connected status, org ID, instance URL, username, and alias, if
115
156
  applicable.
116
- Use --verbose to include the SFDX auth URL.
117
- Including --verbose displays the sfdxAuthUrl property only if you authenticated to the org using auth:web:login (not
157
+ Use --verbose to include the SFDX auth URL. WARNING: The SFDX auth URL contains sensitive information, such as a
158
+ refresh token that can be used to access an org. Don't share or distribute this URL or token.
159
+ Including --verbose displays the sfdxAuthUrl property only if you authenticated to the org using auth:web:login (not
118
160
  auth:jwt:grant)
119
161
 
120
162
  EXAMPLES
@@ -124,7 +166,7 @@ EXAMPLES
124
166
  sfdx force:org:display -u TestOrg1 --json > tmp/MyOrgDesc.json
125
167
  ```
126
168
 
127
- _See code: [src/commands/force/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/v1.8.4/src/commands/force/org/display.ts)_
169
+ _See code: [src/commands/force/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/v1.10.0/src/commands/force/org/display.ts)_
128
170
 
129
171
  ## `sfdx force:org:list [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
130
172
 
@@ -134,7 +176,7 @@ list all orgs you’ve created or authenticated to
134
176
  list all orgs you’ve created or authenticated to
135
177
 
136
178
  USAGE
137
- $ sfdx force:org:list [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel
179
+ $ sfdx force:org:list [--all] [-p --clean] [--skipconnectionstatus] [--verbose] [--json] [--loglevel
138
180
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
139
181
 
140
182
  OPTIONS
@@ -162,7 +204,7 @@ EXAMPLES
162
204
  sfdx force:org:list --verbose --json > tmp/MyOrgList.json
163
205
  ```
164
206
 
165
- _See code: [src/commands/force/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/v1.8.4/src/commands/force/org/list.ts)_
207
+ _See code: [src/commands/force/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/v1.10.0/src/commands/force/org/list.ts)_
166
208
 
167
209
  ## `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]`
168
210
 
@@ -170,13 +212,13 @@ open your default scratch org, or another specified org
170
212
 
171
213
  ```
172
214
  open your default scratch org, or another specified org
173
- To open a specific page, specify the portion of the URL after "yourInstance.salesforce.com/" as --path.
215
+ To open a specific page, specify the portion of the URL after "https://MyDomainName.my.salesforce.com/" as --path.
174
216
  For example, specify "--path lightning" to open Lightning Experience, or specify "--path /apex/YourPage" to open a Visualforce page.
175
217
  To generate a URL but not launch it in your browser, specify --urlonly.
176
218
  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.
177
219
 
178
220
  USAGE
179
- $ sfdx force:org:open [-b <string> | -r] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
221
+ $ sfdx force:org:open [-b <string> | -r] [-p <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
180
222
  trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
181
223
 
182
224
  OPTIONS
@@ -198,11 +240,11 @@ OPTIONS
198
240
  this command invocation
199
241
 
200
242
  DESCRIPTION
201
- To open a specific page, specify the portion of the URL after "yourInstance.salesforce.com/" as --path.
202
- For example, specify "--path lightning" to open Lightning Experience, or specify "--path /apex/YourPage" to open a
243
+ To open a specific page, specify the portion of the URL after "https://MyDomainName.my.salesforce.com/" as --path.
244
+ For example, specify "--path lightning" to open Lightning Experience, or specify "--path /apex/YourPage" to open a
203
245
  Visualforce page.
204
246
  To generate a URL but not launch it in your browser, specify --urlonly.
205
- To open in a specific browser, use the --browser parameter. Supported browsers are "chrome", "edge", and "firefox". If
247
+ To open in a specific browser, use the --browser parameter. Supported browsers are "chrome", "edge", and "firefox". If
206
248
  you don't specify --browser, the org opens in your default browser.
207
249
 
208
250
  EXAMPLES
@@ -213,5 +255,6 @@ EXAMPLES
213
255
  sfdx force:org:open -u me@my.org -b firefox
214
256
  ```
215
257
 
216
- _See code: [src/commands/force/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/v1.8.4/src/commands/force/org/open.ts)_
258
+ _See code: [src/commands/force/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/v1.10.0/src/commands/force/org/open.ts)_
259
+
217
260
  <!-- commandsstop -->
@@ -0,0 +1,14 @@
1
+ import { FlagsConfig, SfdxCommand } from '@salesforce/command';
2
+ declare type DeleteResult = {
3
+ orgId: string;
4
+ username: string;
5
+ };
6
+ export declare class Delete extends SfdxCommand {
7
+ static readonly requiresUsername = true;
8
+ static readonly supportsDevhubUsername = true;
9
+ static readonly description: string;
10
+ static readonly examples: string[];
11
+ static readonly flagsConfig: FlagsConfig;
12
+ run(): Promise<DeleteResult>;
13
+ }
14
+ export {};
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Delete = void 0;
4
+ /*
5
+ * Copyright (c) 2020, salesforce.com, inc.
6
+ * All rights reserved.
7
+ * Licensed under the BSD 3-Clause license.
8
+ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
9
+ */
10
+ const os = require("os");
11
+ const command_1 = require("@salesforce/command");
12
+ const core_1 = require("@salesforce/core");
13
+ core_1.Messages.importMessagesDirectory(__dirname);
14
+ const messages = core_1.Messages.loadMessages('@salesforce/plugin-org', 'delete');
15
+ class Delete extends command_1.SfdxCommand {
16
+ async run() {
17
+ const username = this.org.getUsername();
18
+ const orgId = this.org.getOrgId();
19
+ const isSandbox = await this.org.isSandbox();
20
+ // read the config file for the org to be deleted, if it has a PROD_ORG_USERNAME entry, it's a sandbox
21
+ // we either need permission to proceed without a prompt OR get the user to confirm
22
+ if (this.flags.noprompt ||
23
+ (await this.ux.confirm(messages.getMessage('confirmDelete', [isSandbox ? 'sandbox' : 'scratch', username])))) {
24
+ let alreadyDeleted = false;
25
+ let successMessageKey = 'commandSandboxSuccess';
26
+ try {
27
+ // will determine if it's a scratch org or sandbox and will delete from the appropriate parent org (DevHub or Production)
28
+ await this.org.delete();
29
+ }
30
+ catch (e) {
31
+ if (e instanceof Error && e.name === 'ScratchOrgNotFound') {
32
+ alreadyDeleted = true;
33
+ }
34
+ else if (e instanceof Error && e.name === 'SandboxNotFound') {
35
+ successMessageKey = 'sandboxConfigOnlySuccess';
36
+ }
37
+ else {
38
+ throw e;
39
+ }
40
+ }
41
+ this.ux.log(isSandbox
42
+ ? messages.getMessage(successMessageKey, [username])
43
+ : messages.getMessage(alreadyDeleted ? 'deleteOrgConfigOnlyCommandSuccess' : 'deleteOrgCommandSuccess', [
44
+ username,
45
+ ]));
46
+ }
47
+ return { username, orgId };
48
+ }
49
+ }
50
+ exports.Delete = Delete;
51
+ Delete.requiresUsername = true;
52
+ Delete.supportsDevhubUsername = true;
53
+ Delete.description = messages.getMessage('description');
54
+ Delete.examples = messages.getMessage('examples').split(os.EOL);
55
+ Delete.flagsConfig = {
56
+ noprompt: command_1.flags.boolean({
57
+ char: 'p',
58
+ description: messages.getMessage('flags.noprompt'),
59
+ }),
60
+ };
61
+ //# sourceMappingURL=delete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../../src/commands/force/org/delete.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAsE;AACtE,2CAA4C;AAE5C,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;AAO3E,MAAa,MAAO,SAAQ,qBAAW;IAY9B,KAAK,CAAC,GAAG;QACd,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC;QACxC,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAClC,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,SAAS,EAAE,CAAC;QAC7C,sGAAsG;QACtG,mFAAmF;QACnF,IACE,IAAI,CAAC,KAAK,CAAC,QAAQ;YACnB,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,EAC5G;YACA,IAAI,cAAc,GAAG,KAAK,CAAC;YAC3B,IAAI,iBAAiB,GAAG,uBAAuB,CAAC;Y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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;A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C;QACxD,OAAO,GAAG,gBAAgB,4BAA4B,WAAW,EAAE,CAAC;IACtE,CAAC;;AAnFH,wCAoFC;AAnFwB,0BAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,uBAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,QAAG,CAAC,CAAC;AACtD,+BAAgB,GAAG,IAAI,CAAC;AACxB,0BAAW,GAAgB;IAChD,OAAO,EAAE,eAAK,CAAC,MAAM,CAAC;QACpB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;QAC3C,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAC;QACtC,SAAS,EAAE,CAAC,SAAS,CAAC;KACvB,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,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"}
@@ -263,7 +263,7 @@ class OrgListUtil {
263
263
  const logger = await OrgListUtil.retrieveLogger();
264
264
  logger.trace(`error refreshing auth for org: ${org.getUsername()}`);
265
265
  logger.trace(error);
266
- return (_a = error.code) !== null && _a !== void 0 ? _a : error.message;
266
+ return ((_a = error.code) !== null && _a !== void 0 ? _a : error.message);
267
267
  }
268
268
  }
269
269
  catch (err) {
@@ -271,7 +271,7 @@ class OrgListUtil {
271
271
  const logger = await OrgListUtil.retrieveLogger();
272
272
  logger.trace(`error refreshing auth for org: ${username}`);
273
273
  logger.trace(error);
274
- return (_c = (_b = error.code) !== null && _b !== void 0 ? _b : error.message) !== null && _c !== void 0 ? _c : 'Unknown';
274
+ return ((_c = (_b = error.code) !== null && _b !== void 0 ? _b : error.message) !== null && _c !== void 0 ? _c : 'Unknown');
275
275
  }
276
276
  }
277
277
  }
@@ -1 +1 @@
1
- {"version":3,"file":"orgListUtil.js","sourceRoot":"","sources":["../../src/shared/orgListUtil.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,+BAAsC;AAEtC,2CAAoH;AAGpH,6CAA2C;AAC3C,mCAA6C;AAa7C,MAAa,WAAW;IAGf,MAAM,CAAC,KAAK,CAAC,cAAc;QAChC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE;YACvB,WAAW,CAAC,MAAM,GAAG,MAAM,aAAM,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;SACxD;QACD,OAAO,WAAW,CAAC,MAAM,CAAC;IAC5B,CAAC;IAED;;;;;;;OAOG;IACI,MAAM,CAAC,KAAK,CAAC,+CAA+C,CACjE,aAAuB,EACvB,KAAmC;QAEnC,MAAM,QAAQ,GAAe,MAAM,WAAW,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;QAC5E,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAEnD,8CAA8C;QAC9C,MAAM,CAAC,cAAc,EAAE,WAAW,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;YACtD,OAAO,CAAC,GAAG,CACT,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;gBACvC,IAAI,CAAC,KAAK,CAAC,oBAAoB,EAAE;oBAC/B,mDAAmD;oBACnD,MAAM,CAAC,eAAe,GAAG,MAAM,WAAW,CAAC,wCAAwC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;oBACrG,IAAI,CAAC,MAAM,CA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nTo mark the org for deletion without being prompted to confirm, specify --noprompt.",
3
+ "examples": ["$ sfdx force:org:delete -u me@my.org", "$ sfdx force:org:delete -u MyOrgAlias -p"],
4
+ "flags": {
5
+ "noprompt": "no prompt to confirm deletion"
6
+ },
7
+ "confirmDelete": "Enqueue %s org with name: %s for deletion? Are you sure (y/n)?",
8
+ "sandboxConfigOnlySuccess": "Successfully deleted sandbox org %s.",
9
+ "ScratchOrgNotFound": "Attempting to delete an expired or deleted org",
10
+ "deleteOrgConfigOnlyCommandSuccess": "Successfully deleted scratch org %s.'",
11
+ "deleteOrgCommandSuccess": "Successfully marked scratch org %s for deletion",
12
+ "commandSandboxSuccess": "The sandbox org %s has been successfully removed from your list of CLI authorized orgs. If you created the sandbox with one of the force:org commands, it has also been marked for deletion."
13
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "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.\nIncluding --verbose displays the sfdxAuthUrl property only if you authenticated to the org using auth:web:login (not auth:jwt:grant)",
2
+ "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)",
3
3
  "examples": [
4
4
  "sfdx force:org:display",
5
5
  "sfdx force:org:display -u me@my.org",
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "open your default scratch org, or another specified org\nTo open a specific page, specify the portion of the URL after \"yourInstance.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.",
2
+ "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.",
3
3
  "examples": [
4
4
  "sfdx force:org:open",
5
5
  "sfdx force:org:open -u me@my.org",
@@ -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.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.\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 \"yourInstance.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.1","commands":{"force:org:delete":{"id":"force:org:delete","description":"mark a scratch or sandbox org for deletion \nTo mark the org for deletion without being prompted to confirm, specify --noprompt.","usage":"<%= command.id %> [-p] [-v <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:delete -u me@my.org","$ sfdx force:org:delete -u MyOrgAlias -p"],"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"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"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"},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"no prompt to confirm deletion","allowNo":false}},"args":[]},"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,23 +1,23 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-org",
3
3
  "description": "A template repository for sfdx plugins",
4
- "version": "1.9.0",
4
+ "version": "1.10.1",
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
- "@salesforce/core": "^2.28.0",
10
+ "@salesforce/core": "^2.30.0",
11
11
  "@salesforce/kit": "^1.5.17",
12
- "open": "8.2.1",
12
+ "open": "8.4.0",
13
13
  "tslib": "^2"
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",
@@ -32,10 +32,10 @@
32
32
  "eslint-config-salesforce-license": "^0.1.6",
33
33
  "eslint-config-salesforce-typescript": "^0.2.8",
34
34
  "eslint-plugin-header": "^3.0.0",
35
- "eslint-plugin-import": "2.24.2",
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",
@@ -45,7 +45,7 @@
45
45
  "shx": "0.3.3",
46
46
  "sinon": "10.0.0",
47
47
  "ts-node": "^10.0.0",
48
- "typescript": "^4.1.3"
48
+ "typescript": "^4.4.4"
49
49
  },
50
50
  "config": {
51
51
  "commitizen": {
@@ -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.0.crt",
125
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/1.9.0.sig"
117
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/1.10.1.crt",
118
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/1.10.1.sig"
126
119
  }
127
120
  }