@salesforce/plugin-command-reference 1.3.17 → 1.3.20
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 +58 -75
- package/LICENSE.txt +1 -1
- package/README.md +5 -3
- package/lib/ditamap/command.js +8 -1
- package/lib/ditamap/command.js.map +1 -1
- package/lib/ditamap/ditamap.js +4 -0
- package/lib/ditamap/ditamap.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +23 -30
- package/templates/command.hbs +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,21 +2,28 @@
|
|
|
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.3.
|
|
5
|
+
### [1.3.20](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.19...v1.3.20) (2022-05-24)
|
|
6
6
|
|
|
7
|
+
### [1.3.19](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.17...v1.3.19) (2022-05-17)
|
|
7
8
|
|
|
8
9
|
### Bug Fixes
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* run command in test itself ([9923935](https://github.com/forcedotcom/plugin-command-reference/commit/99239351fa218fcb3cc3fd5798e7148451cbc048))
|
|
11
|
+
- add dependabot and versioning strategy ([6a13574](https://github.com/forcedotcom/plugin-command-reference/commit/6a13574724f9e317a0624bc0bb92e9f1dc7a689c))
|
|
12
|
+
- remove '$' in codeblocks ([79e2b7b](https://github.com/forcedotcom/plugin-command-reference/commit/79e2b7b8bb5eacfad43319e1ca7ed42d2705f419))
|
|
13
13
|
|
|
14
|
-
### [1.3.
|
|
14
|
+
### [1.3.17](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.16...v1.3.17) (2021-11-19)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- combination of compatible handlebars w/ typescript ([a8c9088](https://github.com/forcedotcom/plugin-command-reference/commit/a8c90884fa78b413928fa9bffcfb93b9ba690365))
|
|
19
|
+
- move generate to test command ([a803451](https://github.com/forcedotcom/plugin-command-reference/commit/a80345161da0057767c5d480a3e8047478831a2d))
|
|
20
|
+
- run command in test itself ([9923935](https://github.com/forcedotcom/plugin-command-reference/commit/99239351fa218fcb3cc3fd5798e7148451cbc048))
|
|
15
21
|
|
|
22
|
+
### [1.3.16](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.15...v1.3.16) (2021-09-30)
|
|
16
23
|
|
|
17
24
|
### Bug Fixes
|
|
18
25
|
|
|
19
|
-
|
|
26
|
+
- update for the combined sf/sfdx cli reference ([ed08b75](https://github.com/forcedotcom/plugin-command-reference/commit/ed08b759b4a42fb245c82ab348ce78803de132db))
|
|
20
27
|
|
|
21
28
|
### [1.3.15](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.14...v1.3.15) (2021-09-10)
|
|
22
29
|
|
|
@@ -42,192 +49,168 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
42
49
|
|
|
43
50
|
## [1.3.4](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.3...v1.3.4) (2021-06-04)
|
|
44
51
|
|
|
45
|
-
|
|
46
52
|
### Bug Fixes
|
|
47
53
|
|
|
48
|
-
|
|
54
|
+
- list plug-ins and their version in a <ul> ([f0e3f20](https://github.com/forcedotcom/plugin-command-reference/commit/f0e3f201a19818bac9d714a9a3a00fd0c2721407))
|
|
49
55
|
|
|
50
56
|
## [1.3.3](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.2...v1.3.3) (2021-05-17)
|
|
51
57
|
|
|
52
|
-
|
|
53
58
|
### Bug Fixes
|
|
54
59
|
|
|
55
|
-
|
|
60
|
+
- async load oclif/core commands ([#26](https://github.com/forcedotcom/plugin-command-reference/issues/26)) ([caa788d](https://github.com/forcedotcom/plugin-command-reference/commit/caa788d4f0efedb5c6e598a6df32e4c65cc4f1b3))
|
|
56
61
|
|
|
57
62
|
## [1.3.2](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.1...v1.3.2) (2021-05-03)
|
|
58
63
|
|
|
59
|
-
|
|
60
64
|
### Bug Fixes
|
|
61
65
|
|
|
62
|
-
|
|
66
|
+
- force patch release ([9a72942](https://github.com/forcedotcom/plugin-command-reference/commit/9a72942dca2bbdb791a1f765fed067290f365254))
|
|
63
67
|
|
|
64
68
|
## [1.3.1](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.0...v1.3.1) (2021-05-03)
|
|
65
69
|
|
|
66
|
-
|
|
67
70
|
### Bug Fixes
|
|
68
71
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
- add auth to list of plugins ([0a5494a](https://github.com/forcedotcom/plugin-command-reference/commit/0a5494a96bec63c3519ae5ea726d7f5e09e79cef))
|
|
73
|
+
- add back spaces that were mistakenly removed ([381d2f9](https://github.com/forcedotcom/plugin-command-reference/commit/381d2f92966f1dcdfa2149f086b693ad658a548a))
|
|
74
|
+
- bump version 1.3.2 to force release ([2d38cf5](https://github.com/forcedotcom/plugin-command-reference/commit/2d38cf5a5ed6090e51360bbcab5131e13f709893))
|
|
75
|
+
- bump version 1.3.2 to force release ([34d8c00](https://github.com/forcedotcom/plugin-command-reference/commit/34d8c001f9a33b430ea1eeabc884194815ee2d25))
|
|
76
|
+
- fix deprecated warning message ([9fc5219](https://github.com/forcedotcom/plugin-command-reference/commit/9fc5219d476f5456b9ed6d2c9c27216560bbf8bb))
|
|
77
|
+
- undo commit to master ([cbc3195](https://github.com/forcedotcom/plugin-command-reference/commit/cbc31958c4797118159039b466cd4365576bee62))
|
|
78
|
+
- undo commit to master ([47efe40](https://github.com/forcedotcom/plugin-command-reference/commit/47efe40dde6c19782de6a21b89e62f8dc5e2d66a))
|
|
76
79
|
|
|
77
80
|
## [1.3.1](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.0...v1.3.1) (2021-04-30)
|
|
78
81
|
|
|
79
|
-
|
|
80
82
|
### Bug Fixes
|
|
81
83
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
- add auth to list of plugins ([0a5494a](https://github.com/forcedotcom/plugin-command-reference/commit/0a5494a96bec63c3519ae5ea726d7f5e09e79cef))
|
|
85
|
+
- add back spaces that were mistakenly removed ([381d2f9](https://github.com/forcedotcom/plugin-command-reference/commit/381d2f92966f1dcdfa2149f086b693ad658a548a))
|
|
86
|
+
- bump version 1.3.2 to force release ([34d8c00](https://github.com/forcedotcom/plugin-command-reference/commit/34d8c001f9a33b430ea1eeabc884194815ee2d25))
|
|
87
|
+
- fix deprecated warning message ([9fc5219](https://github.com/forcedotcom/plugin-command-reference/commit/9fc5219d476f5456b9ed6d2c9c27216560bbf8bb))
|
|
88
|
+
- undo commit to master ([cbc3195](https://github.com/forcedotcom/plugin-command-reference/commit/cbc31958c4797118159039b466cd4365576bee62))
|
|
89
|
+
- undo commit to master ([47efe40](https://github.com/forcedotcom/plugin-command-reference/commit/47efe40dde6c19782de6a21b89e62f8dc5e2d66a))
|
|
88
90
|
|
|
89
91
|
## [1.3.1](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.0...v1.3.1) (2021-04-29)
|
|
90
92
|
|
|
91
|
-
|
|
92
93
|
### Bug Fixes
|
|
93
94
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
- add auth to list of plugins ([0a5494a](https://github.com/forcedotcom/plugin-command-reference/commit/0a5494a96bec63c3519ae5ea726d7f5e09e79cef))
|
|
96
|
+
- add back spaces that were mistakenly removed ([381d2f9](https://github.com/forcedotcom/plugin-command-reference/commit/381d2f92966f1dcdfa2149f086b693ad658a548a))
|
|
97
|
+
- fix deprecated warning message ([9fc5219](https://github.com/forcedotcom/plugin-command-reference/commit/9fc5219d476f5456b9ed6d2c9c27216560bbf8bb))
|
|
98
|
+
- undo commit to master ([cbc3195](https://github.com/forcedotcom/plugin-command-reference/commit/cbc31958c4797118159039b466cd4365576bee62))
|
|
99
|
+
- undo commit to master ([47efe40](https://github.com/forcedotcom/plugin-command-reference/commit/47efe40dde6c19782de6a21b89e62f8dc5e2d66a))
|
|
99
100
|
|
|
100
101
|
## [1.3.1](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.0...v1.3.1) (2021-04-29)
|
|
101
102
|
|
|
102
|
-
|
|
103
103
|
### Bug Fixes
|
|
104
104
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
- add back spaces that were mistakenly removed ([381d2f9](https://github.com/forcedotcom/plugin-command-reference/commit/381d2f92966f1dcdfa2149f086b693ad658a548a))
|
|
106
|
+
- fix deprecated warning message ([9fc5219](https://github.com/forcedotcom/plugin-command-reference/commit/9fc5219d476f5456b9ed6d2c9c27216560bbf8bb))
|
|
107
|
+
- undo commit to master ([cbc3195](https://github.com/forcedotcom/plugin-command-reference/commit/cbc31958c4797118159039b466cd4365576bee62))
|
|
108
|
+
- undo commit to master ([47efe40](https://github.com/forcedotcom/plugin-command-reference/commit/47efe40dde6c19782de6a21b89e62f8dc5e2d66a))
|
|
109
109
|
|
|
110
110
|
## [1.3.1](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.0...v1.3.1) (2021-04-29)
|
|
111
111
|
|
|
112
|
-
|
|
113
112
|
### Bug Fixes
|
|
114
113
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
- fix deprecated warning message ([9fc5219](https://github.com/forcedotcom/plugin-command-reference/commit/9fc5219d476f5456b9ed6d2c9c27216560bbf8bb))
|
|
115
|
+
- undo commit to master ([cbc3195](https://github.com/forcedotcom/plugin-command-reference/commit/cbc31958c4797118159039b466cd4365576bee62))
|
|
116
|
+
- undo commit to master ([47efe40](https://github.com/forcedotcom/plugin-command-reference/commit/47efe40dde6c19782de6a21b89e62f8dc5e2d66a))
|
|
118
117
|
|
|
119
118
|
## [1.3.1](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.0...v1.3.1) (2021-04-26)
|
|
120
119
|
|
|
121
|
-
|
|
122
120
|
### Bug Fixes
|
|
123
121
|
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
- undo commit to master ([cbc3195](https://github.com/forcedotcom/plugin-command-reference/commit/cbc31958c4797118159039b466cd4365576bee62))
|
|
123
|
+
- undo commit to master ([47efe40](https://github.com/forcedotcom/plugin-command-reference/commit/47efe40dde6c19782de6a21b89e62f8dc5e2d66a))
|
|
126
124
|
|
|
127
125
|
## [1.3.1](https://github.com/forcedotcom/plugin-command-reference/compare/v1.3.0...v1.3.1) (2021-04-26)
|
|
128
126
|
|
|
129
|
-
|
|
130
127
|
### Bug Fixes
|
|
131
128
|
|
|
132
|
-
|
|
129
|
+
- undo commit to master ([47efe40](https://github.com/forcedotcom/plugin-command-reference/commit/47efe40dde6c19782de6a21b89e62f8dc5e2d66a))
|
|
133
130
|
|
|
134
131
|
# [1.3.0](https://github.com/forcedotcom/plugin-command-reference/compare/v1.2.6...v1.3.0) (2021-02-02)
|
|
135
132
|
|
|
136
|
-
|
|
137
133
|
### Features
|
|
138
134
|
|
|
139
|
-
|
|
135
|
+
- default to current working directory when no plugins are provided ([#15](https://github.com/forcedotcom/plugin-command-reference/issues/15)) ([57a66b2](https://github.com/forcedotcom/plugin-command-reference/commit/57a66b21093f896adc69d71a3025679770e6e7ad))
|
|
140
136
|
|
|
141
137
|
## [1.2.6](https://github.com/forcedotcom/plugin-command-reference/compare/v1.2.5...v1.2.6) (2021-02-01)
|
|
142
138
|
|
|
143
|
-
|
|
144
139
|
### Bug Fixes
|
|
145
140
|
|
|
146
|
-
|
|
141
|
+
- remove note about "sfdx force:doc:commands:list" ([2378f39](https://github.com/forcedotcom/plugin-command-reference/commit/2378f39a88923c294a2a2cb8c002372e85e819cf))
|
|
147
142
|
|
|
148
143
|
## [1.2.5](https://github.com/forcedotcom/plugin-command-reference/compare/v1.2.4...v1.2.5) (2021-02-01)
|
|
149
144
|
|
|
150
|
-
|
|
151
145
|
### Bug Fixes
|
|
152
146
|
|
|
153
|
-
|
|
147
|
+
- Add list of other plugins as a top-level topic ([800d797](https://github.com/forcedotcom/plugin-command-reference/commit/800d7973a9e1c29a38866b258e20c0006ecf8aa2))
|
|
154
148
|
|
|
155
149
|
## [1.2.4](https://github.com/forcedotcom/plugin-command-reference/compare/v1.2.3...v1.2.4) (2021-01-20)
|
|
156
150
|
|
|
157
|
-
|
|
158
151
|
### Bug Fixes
|
|
159
152
|
|
|
160
|
-
|
|
153
|
+
- remove <ph id="topic-title"> ([2180c1a](https://github.com/forcedotcom/plugin-command-reference/commit/2180c1aaf310fb9cfbda2b947e5f5b77bdf3e226))
|
|
161
154
|
|
|
162
155
|
## [1.2.3](https://github.com/forcedotcom/plugin-command-reference/compare/v1.2.2...v1.2.3) (2020-11-05)
|
|
163
156
|
|
|
164
|
-
|
|
165
157
|
### Bug Fixes
|
|
166
158
|
|
|
167
|
-
|
|
159
|
+
- fix rel notes link to point to main branch ([663483b](https://github.com/forcedotcom/plugin-command-reference/commit/663483bd3aab0f40c68ac6b6327c34a4edce1014))
|
|
168
160
|
|
|
169
161
|
## [1.2.2](https://github.com/forcedotcom/plugin-command-reference/compare/v1.2.1...v1.2.2) (2020-10-28)
|
|
170
162
|
|
|
171
|
-
|
|
172
163
|
### Bug Fixes
|
|
173
164
|
|
|
174
|
-
|
|
165
|
+
- rearrange command xml, rename setup guide, fix rn link ([b1ad787](https://github.com/forcedotcom/plugin-command-reference/commit/b1ad7874958bd2cbe38f19896cfc5964da213488))
|
|
175
166
|
|
|
176
167
|
## [1.2.1](https://github.com/forcedotcom/plugin-command-reference/compare/v1.2.0...v1.2.1) (2020-10-27)
|
|
177
168
|
|
|
178
|
-
|
|
179
169
|
### Bug Fixes
|
|
180
170
|
|
|
181
|
-
|
|
171
|
+
- don't duplicate examples ([cd6328b](https://github.com/forcedotcom/plugin-command-reference/commit/cd6328b5cbc4a58f11d309acade7a67513acaf58))
|
|
182
172
|
|
|
183
173
|
# [1.2.0](https://github.com/forcedotcom/plugin-command-reference/compare/v1.1.5...v1.2.0) (2020-10-21)
|
|
184
174
|
|
|
185
|
-
|
|
186
175
|
### Features
|
|
187
176
|
|
|
188
|
-
|
|
177
|
+
- add aliases and examples ([aaf61ad](https://github.com/forcedotcom/plugin-command-reference/commit/aaf61adf3508f69d899898876f03154218ff5a9b))
|
|
189
178
|
|
|
190
179
|
## [1.1.5](https://github.com/forcedotcom/plugin-command-reference/compare/v1.1.4...v1.1.5) (2020-10-01)
|
|
191
180
|
|
|
192
|
-
|
|
193
181
|
### Bug Fixes
|
|
194
182
|
|
|
195
|
-
|
|
183
|
+
- correct help ([b75dd61](https://github.com/forcedotcom/plugin-command-reference/commit/b75dd61281ec1671e20f9a52078da642ede2e0a6))
|
|
196
184
|
|
|
197
185
|
## [1.1.4](https://github.com/forcedotcom/plugin-command-reference/compare/v1.1.3...v1.1.4) (2020-10-01)
|
|
198
186
|
|
|
199
|
-
|
|
200
187
|
### Bug Fixes
|
|
201
188
|
|
|
202
|
-
|
|
189
|
+
- ensure unique ids ([d51f193](https://github.com/forcedotcom/plugin-command-reference/commit/d51f19350bab150da23575bfa27e94e467df99d6))
|
|
203
190
|
|
|
204
191
|
## [1.1.3](https://github.com/forcedotcom/plugin-command-reference/compare/v1.1.2...v1.1.3) (2020-08-12)
|
|
205
192
|
|
|
206
|
-
|
|
207
193
|
### Bug Fixes
|
|
208
194
|
|
|
209
|
-
|
|
195
|
+
- put back multiple flag descriptions ([4c340a8](https://github.com/forcedotcom/plugin-command-reference/commit/4c340a8f414d2e892e135797754883db040ff89a))
|
|
210
196
|
|
|
211
197
|
## [1.1.2](https://github.com/forcedotcom/plugin-command-reference/compare/v1.1.1...v1.1.2) (2020-08-12)
|
|
212
198
|
|
|
213
|
-
|
|
214
199
|
### Bug Fixes
|
|
215
200
|
|
|
216
|
-
|
|
201
|
+
- return parameters ([c713fd0](https://github.com/forcedotcom/plugin-command-reference/commit/c713fd0f7d3f93f64a7f76b9a430d43aeaca875f))
|
|
217
202
|
|
|
218
203
|
## [1.1.1](https://github.com/forcedotcom/plugin-command-reference/compare/v1.1.0...v1.1.1) (2020-08-06)
|
|
219
204
|
|
|
220
|
-
|
|
221
205
|
### Bug Fixes
|
|
222
206
|
|
|
223
|
-
|
|
207
|
+
- no multiline in description ([0b846b7](https://github.com/forcedotcom/plugin-command-reference/commit/0b846b7931a35e1cad4956fa918ece30650944f9))
|
|
224
208
|
|
|
225
209
|
# [1.1.0](https://github.com/forcedotcom/plugin-command-reference/compare/v1.0.7...v1.1.0) (2020-07-29)
|
|
226
210
|
|
|
227
|
-
|
|
228
211
|
### Features
|
|
229
212
|
|
|
230
|
-
|
|
213
|
+
- support no long description ([4b5dabc](https://github.com/forcedotcom/plugin-command-reference/commit/4b5dabc7acc30bd689bda110484e2c0e345d64da))
|
|
231
214
|
|
|
232
215
|
## [1.0.7](https://github.com/forcedotcom/plugin-command-reference/compare/v1.0.6...v1.0.7) (2020-03-11)
|
|
233
216
|
|
package/LICENSE.txt
CHANGED
package/README.md
CHANGED
|
@@ -65,7 +65,8 @@ sfdx commandreference --plugins alias,config,auth
|
|
|
65
65
|
## Commands
|
|
66
66
|
|
|
67
67
|
<!-- commands -->
|
|
68
|
-
|
|
68
|
+
|
|
69
|
+
- [`sfdx commandreference:generate [-d <string>] [-p <array>] [--hidden] [--erroronwarnings] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-commandreferencegenerate--d-string--p-array---hidden---erroronwarnings---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
69
70
|
|
|
70
71
|
## `sfdx commandreference:generate [-d <string>] [-p <array>] [--hidden] [--erroronwarnings] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
71
72
|
|
|
@@ -73,7 +74,7 @@ generate the command reference guide located
|
|
|
73
74
|
|
|
74
75
|
```
|
|
75
76
|
USAGE
|
|
76
|
-
$ sfdx commandreference:generate [-d <string>] [-p <array>] [--hidden] [--erroronwarnings] [--json] [--loglevel
|
|
77
|
+
$ sfdx commandreference:generate [-d <string>] [-p <array>] [--hidden] [--erroronwarnings] [--json] [--loglevel
|
|
77
78
|
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
78
79
|
|
|
79
80
|
OPTIONS
|
|
@@ -96,5 +97,6 @@ OPTIONS
|
|
|
96
97
|
this command invocation
|
|
97
98
|
```
|
|
98
99
|
|
|
99
|
-
_See code: [src/commands/commandreference/generate.ts](https://github.com/forcedotcom/plugin-command-reference/blob/v1.3.
|
|
100
|
+
_See code: [src/commands/commandreference/generate.ts](https://github.com/forcedotcom/plugin-command-reference/blob/v1.3.20/src/commands/commandreference/generate.ts)_
|
|
101
|
+
|
|
100
102
|
<!-- commandsstop -->
|
package/lib/ditamap/command.js
CHANGED
|
@@ -42,10 +42,17 @@ class Command extends ditamap_1.Ditamap {
|
|
|
42
42
|
delete command.examples;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
+
let examples;
|
|
46
|
+
const binary = 'sfdx';
|
|
47
|
+
if (command.examples) {
|
|
48
|
+
examples = Array.isArray(command.examples) ? command.examples : [command.examples];
|
|
49
|
+
examples = examples.map((example) => example.replace(/<%= config.bin %>/g, binary).replace(/<%= command.id %>/g, command.id));
|
|
50
|
+
}
|
|
45
51
|
const state = command.state || commandMeta.state;
|
|
46
52
|
this.data = Object.assign(command, {
|
|
47
|
-
binary
|
|
53
|
+
binary,
|
|
48
54
|
commandWithUnderscores,
|
|
55
|
+
examples,
|
|
49
56
|
help,
|
|
50
57
|
description,
|
|
51
58
|
parameters,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file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C,IAAI,CAAC,eAAe,IAAI,iBAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;YAC/F,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;gBACzB,IAAI,CAAC,eAAe,GAAG,iBAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aACpD;YACD,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE;gBACzB,IAAI,EAAE,QAAQ;gBACd,WAAW;gBACX,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ;gBACxB,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI;gBAC5B,QAAQ,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS;aAClC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IAEM,mBAAmB;QACxB,OAAO,aAAa,CAAC;IACvB,CAAC;CACF;AAhGD,0BAgGC"}
|
package/lib/ditamap/ditamap.js
CHANGED
|
@@ -25,6 +25,10 @@ class Ditamap {
|
|
|
25
25
|
handlebars_1.registerHelper('isCodeBlock', function (val, options) {
|
|
26
26
|
return val.indexOf('$ sfdx') >= 0 || val.indexOf('>>') >= 0 ? options.fn(this) : options.inverse(this);
|
|
27
27
|
});
|
|
28
|
+
/*
|
|
29
|
+
* Remove OS prompt in codeblocks, as per CCX style guidelines in our published docs
|
|
30
|
+
*/
|
|
31
|
+
handlebars_1.registerHelper('removePrompt', (codeblock) => codeblock.substring(codeblock.indexOf('$') + 1));
|
|
28
32
|
handlebars_1.registerHelper('nextVersion', (value) => parseInt(value, 2) + 1);
|
|
29
33
|
this.source = path_1.join(Ditamap.templatesDir, this.getTemplateFileName());
|
|
30
34
|
this.destination = path_1.join(Ditamap.outputDir, filename);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ditamap.js","sourceRoot":"","sources":["../../src/ditamap/ditamap.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,+BAAqC;AACrC,2CAAsC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,CAAC,kBAAkB,EAAE,CAAC;QAE/C,MAAM,SAAE,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IAC/C,CAAC;IAES,gBAAgB,CAAC,YAAqB;QAC9C,OAAO,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9E,CAAC;IAED;;;;;;OAMG;IACK,KAAK,CAAC,kBAAkB;QAC9B,KAAK,CAAC,cAAc,IAAI,CAAC,WAAW,SAAS,IAAI,CAAC,mBAAmB,EAAE,EAAE,CAAC,CAAC;QAC3E,MAAM,GAAG,GAAG,MAAM,SAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACnD,MAAM,QAAQ,GAAG,oBAAO,CAAC,GAAG,CAAC,CAAC;QAC9B,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;;AAtEH,0BAyEC;AAxEe,oBAAY,GAAG,WAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.3.
|
|
1
|
+
{"version":"1.3.20","commands":{"commandreference:generate":{"id":"commandreference:generate","description":"generate the command reference guide located","usage":"<%= command.id %> [-d <string>] [-p <array>] [--hidden] [--erroronwarnings] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-command-reference","pluginType":"core","aliases":[],"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"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"output directory to put generated files","default":"./tmp/root"},"plugins":{"name":"plugins","type":"option","char":"p","description":"comma separated list of plugin names to be part of the generation. Defaults to the oclif plugin in the current working directory"},"hidden":{"name":"hidden","type":"boolean","description":"show hidden commands","allowNo":false},"erroronwarnings":{"name":"erroronwarnings","type":"boolean","description":"fail the command if there are any warnings","allowNo":false}},"args":[{"name":"file"}]}}}
|
package/package.json
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-command-reference",
|
|
3
3
|
"description": "Generate the Salesforce CLI command reference guide",
|
|
4
|
-
"version": "1.3.
|
|
5
|
-
"author": "
|
|
4
|
+
"version": "1.3.20",
|
|
5
|
+
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/plugin-command-reference/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/command": "^1.8.
|
|
9
|
-
"@oclif/config": "^1.
|
|
8
|
+
"@oclif/command": "^1.8.9",
|
|
9
|
+
"@oclif/config": "^1.18.3",
|
|
10
10
|
"@oclif/errors": "^1.3.5",
|
|
11
|
-
"@salesforce/command": "^4.
|
|
12
|
-
"@salesforce/core": "^2.
|
|
11
|
+
"@salesforce/command": "^4.2.2",
|
|
12
|
+
"@salesforce/core": "^2.36.4",
|
|
13
13
|
"chalk": "^3.0.0",
|
|
14
|
-
"handlebars": "4.7.
|
|
15
|
-
"shelljs": "^0.8.
|
|
14
|
+
"handlebars": "4.7.7",
|
|
15
|
+
"shelljs": "^0.8.5",
|
|
16
16
|
"tslib": "^1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@oclif/dev-cli": "^1.26.
|
|
20
|
-
"@oclif/plugin-help": "^3.
|
|
21
|
-
"@oclif/test": "^1.2.
|
|
22
|
-
"@salesforce/dev-config": "^2.1.
|
|
23
|
-
"@salesforce/dev-scripts": "^0.
|
|
19
|
+
"@oclif/dev-cli": "^1.26.10",
|
|
20
|
+
"@oclif/plugin-help": "^3.3.1",
|
|
21
|
+
"@oclif/test": "^1.2.9",
|
|
22
|
+
"@salesforce/dev-config": "^2.1.3",
|
|
23
|
+
"@salesforce/dev-scripts": "^1.0.4",
|
|
24
24
|
"@salesforce/prettier-config": "^0.0.2",
|
|
25
25
|
"@semantic-release/changelog": "^5.0.0",
|
|
26
|
-
"@semantic-release/git": "^9.0.
|
|
27
|
-
"@types/jsforce": "^1.9.
|
|
28
|
-
"@types/shelljs": "^0.8.
|
|
26
|
+
"@semantic-release/git": "^9.0.1",
|
|
27
|
+
"@types/jsforce": "^1.9.42",
|
|
28
|
+
"@types/shelljs": "^0.8.11",
|
|
29
29
|
"@typescript-eslint/eslint-plugin": "^4.2.0",
|
|
30
30
|
"@typescript-eslint/parser": "^4.2.0",
|
|
31
|
-
"chai": "^4.
|
|
31
|
+
"chai": "^4.3.6",
|
|
32
32
|
"eslint": "^7.27.0",
|
|
33
33
|
"eslint-config-prettier": "^6.11.0",
|
|
34
34
|
"eslint-config-salesforce": "^0.1.6",
|
|
35
35
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
36
36
|
"eslint-config-salesforce-typescript": "^0.2.7",
|
|
37
37
|
"eslint-plugin-header": "^3.0.0",
|
|
38
|
-
"eslint-plugin-import": "2.
|
|
38
|
+
"eslint-plugin-import": "2.26.0",
|
|
39
39
|
"eslint-plugin-jsdoc": "^35.1.2",
|
|
40
40
|
"eslint-plugin-prettier": "^3.1.3",
|
|
41
|
-
"husky": "^
|
|
41
|
+
"husky": "^7.0.4",
|
|
42
42
|
"mocha": "^8.4.0",
|
|
43
43
|
"nyc": "^15.1.0",
|
|
44
|
-
"prettier": "^2.
|
|
45
|
-
"pretty-quick": "^3.1.
|
|
44
|
+
"prettier": "^2.6.2",
|
|
45
|
+
"pretty-quick": "^3.1.3",
|
|
46
46
|
"salesforcedx": "48.4.1",
|
|
47
|
-
"semantic-release": "^17.
|
|
47
|
+
"semantic-release": "^17.4.7",
|
|
48
48
|
"sinon": "10.0.0",
|
|
49
|
-
"ts-node": "^10.
|
|
49
|
+
"ts-node": "^10.7.0",
|
|
50
50
|
"typescript": "4.3"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
@@ -95,13 +95,6 @@
|
|
|
95
95
|
"test": "sf-test",
|
|
96
96
|
"version": "oclif-dev readme && git add README.md"
|
|
97
97
|
},
|
|
98
|
-
"husky": {
|
|
99
|
-
"hooks": {
|
|
100
|
-
"pre-commit": "sf-husky-pre-commit",
|
|
101
|
-
"commit-msg": "sf-husky-commit-msg",
|
|
102
|
-
"pre-push": "sf-husky-pre-push"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
98
|
"publishConfig": {
|
|
106
99
|
"access": "public"
|
|
107
100
|
}
|
package/templates/command.hbs
CHANGED
|
@@ -65,7 +65,7 @@ IF YOU WANT TO CHANGE THIS CONTENT, CONTACT juliet.shackell@salesforce.com FOR D
|
|
|
65
65
|
<section>
|
|
66
66
|
<title><ph>Help for <codeph otherprops="nolang">{{id}}</codeph></ph></title>
|
|
67
67
|
{{#each help}}
|
|
68
|
-
{{#isCodeBlock this}}<codeblock otherprops="nolang">{{this}}</codeblock>{{else}}<p>{{this}}</p>{{/isCodeBlock}}
|
|
68
|
+
{{#isCodeBlock this}}<codeblock otherprops="nolang">{{removePrompt this}}</codeblock>{{else}}<p>{{this}}</p>{{/isCodeBlock}}
|
|
69
69
|
{{/each}}
|
|
70
70
|
</section>
|
|
71
71
|
{{/if}}
|
|
@@ -73,7 +73,7 @@ IF YOU WANT TO CHANGE THIS CONTENT, CONTACT juliet.shackell@salesforce.com FOR D
|
|
|
73
73
|
<section>
|
|
74
74
|
<title><ph>Examples for <codeph otherprops="nolang">{{id}}</codeph></ph></title>
|
|
75
75
|
{{#each examples}}
|
|
76
|
-
{{#isCodeBlock this}}<codeblock otherprops="nolang">{{this}}</codeblock>{{else}}<p>{{this}}</p>{{/isCodeBlock}}
|
|
76
|
+
{{#isCodeBlock this}}<codeblock otherprops="nolang">{{removePrompt this}}</codeblock>{{else}}<p>{{this}}</p>{{/isCodeBlock}}
|
|
77
77
|
{{/each}}
|
|
78
78
|
</section>
|
|
79
79
|
{{/if}}
|