@oclif/plugin-help 3.1.0 → 3.2.3

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/README.md CHANGED
@@ -6,7 +6,6 @@ standard help for oclif
6
6
  [![Version](https://img.shields.io/npm/v/@oclif/plugin-help.svg)](https://npmjs.org/package/@oclif/plugin-help)
7
7
  [![CircleCI](https://circleci.com/gh/oclif/plugin-help/tree/master.svg?style=svg)](https://circleci.com/gh/oclif/plugin-help/tree/master)
8
8
  [![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/oclif/plugin-help?branch=master&svg=true)](https://ci.appveyor.com/project/heroku/plugin-help/branch/master)
9
- [![Codecov](https://codecov.io/gh/oclif/plugin-help/branch/master/graph/badge.svg)](https://codecov.io/gh/oclif/plugin-help)
10
9
  [![Known Vulnerabilities](https://snyk.io/test/npm/@oclif/plugin-help/badge.svg)](https://snyk.io/test/npm/@oclif/plugin-help)
11
10
  [![Downloads/week](https://img.shields.io/npm/dw/@oclif/plugin-help.svg)](https://npmjs.org/package/@oclif/plugin-help)
12
11
  [![License](https://img.shields.io/npm/l/@oclif/plugin-help.svg)](https://github.com/oclif/plugin-help/blob/master/package.json)
package/lib/command.js CHANGED
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const chalk_1 = require("chalk");
3
+ const chalk = require("chalk");
4
4
  const indent = require("indent-string");
5
5
  const stripAnsi = require("strip-ansi");
6
6
  const list_1 = require("./list");
7
7
  const util_1 = require("./util");
8
- const { underline, bold, } = chalk_1.default;
9
- let { dim, } = chalk_1.default;
8
+ const { underline, bold, } = chalk;
9
+ let { dim, } = chalk;
10
10
  if (process.env.ConEmuANSI === 'ON') {
11
- dim = chalk_1.default.gray;
11
+ dim = chalk.gray;
12
12
  }
13
13
  const wrap = require('wrap-ansi');
14
14
  class CommandHelp {
@@ -87,9 +87,11 @@ class CommandHelp {
87
87
  if (args.filter(a => a.description).length === 0)
88
88
  return;
89
89
  const body = list_1.renderList(args.map(a => {
90
+ var _a;
90
91
  const name = a.name.toUpperCase();
91
92
  let description = a.description || '';
92
- if (a.default)
93
+ // `a.default` is actually not always a string (typing bug), hence `toString()`
94
+ if (a.default || ((_a = a.default) === null || _a === void 0 ? void 0 : _a.toString()) === '0')
93
95
  description = `[default: ${a.default}] ${description}`;
94
96
  if (a.options)
95
97
  description = `(${a.options.join('|')}) ${description}`;
@@ -110,6 +112,7 @@ class CommandHelp {
110
112
  if (flags.length === 0)
111
113
  return;
112
114
  const body = list_1.renderList(flags.map(flag => {
115
+ var _a;
113
116
  let left = flag.helpLabel;
114
117
  if (!left) {
115
118
  const label = [];
@@ -135,7 +138,8 @@ class CommandHelp {
135
138
  left += `=${value}`;
136
139
  }
137
140
  let right = flag.description || '';
138
- if (flag.type === 'option' && flag.default) {
141
+ // `flag.default` is not always a string (typing bug), hence `toString()`
142
+ if (flag.type === 'option' && (flag.default || ((_a = flag.default) === null || _a === void 0 ? void 0 : _a.toString()) === '0')) {
139
143
  right = `[default: ${flag.default}] ${right}`;
140
144
  }
141
145
  if (flag.required)
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const errors_1 = require("@oclif/errors");
4
- const chalk_1 = require("chalk");
4
+ const chalk = require("chalk");
5
5
  const indent = require("indent-string");
6
6
  const stripAnsi = require("strip-ansi");
7
7
  const command_1 = require("./command");
@@ -12,15 +12,16 @@ const util_1 = require("./util");
12
12
  const util_2 = require("./util");
13
13
  exports.getHelpClass = util_2.getHelpClass;
14
14
  const wrap = require('wrap-ansi');
15
- const { bold, } = chalk_1.default;
15
+ const { bold, } = chalk;
16
+ const ROOT_INDEX_CMD_ID = '';
16
17
  function getHelpSubject(args) {
17
18
  for (const arg of args) {
18
19
  if (arg === '--')
19
20
  return;
20
- if (arg.startsWith('-'))
21
- continue;
22
- if (arg === 'help')
21
+ if (arg === 'help' || arg === '--help' || arg === '-h')
23
22
  continue;
23
+ if (arg.startsWith('-'))
24
+ return;
24
25
  return arg;
25
26
  }
26
27
  }
@@ -43,9 +44,12 @@ class Help extends HelpBase {
43
44
  * and this can be removed.
44
45
  */
45
46
  get _topics() {
46
- return this.config.topics.filter((topic) => {
47
+ // since this.config.topics is a getter that does non-trivial work, cache it outside the filter loop for
48
+ // performance benefits in the presence of large numbers of topics
49
+ const topics = this.config.topics;
50
+ return topics.filter((topic) => {
47
51
  // it is assumed a topic has a child if it has children
48
- const hasChild = this.config.topics.some(subTopic => subTopic.name.includes(`${topic.name}:`));
52
+ const hasChild = topics.some(subTopic => subTopic.name.includes(`${topic.name}:`));
49
53
  return hasChild;
50
54
  });
51
55
  }
@@ -66,6 +70,9 @@ class Help extends HelpBase {
66
70
  showHelp(argv) {
67
71
  const subject = getHelpSubject(argv);
68
72
  if (!subject) {
73
+ const rootCmd = this.config.findCommand(ROOT_INDEX_CMD_ID);
74
+ if (rootCmd)
75
+ this.showCommandHelp(rootCmd);
69
76
  this.showRootHelp();
70
77
  return;
71
78
  }
@@ -114,6 +121,7 @@ class Help extends HelpBase {
114
121
  console.log('');
115
122
  }
116
123
  if (rootCommands.length > 0) {
124
+ rootCommands = rootCommands.filter(c => c.id);
117
125
  console.log(this.formatCommands(rootCommands));
118
126
  console.log('');
119
127
  }
package/lib/root.js CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const chalk_1 = require("chalk");
3
+ const chalk = require("chalk");
4
4
  const indent = require("indent-string");
5
5
  const stripAnsi = require("strip-ansi");
6
6
  const util_1 = require("./util");
7
7
  const wrap = require('wrap-ansi');
8
- const { bold, } = chalk_1.default;
8
+ const { bold, } = chalk;
9
9
  class RootHelp {
10
10
  constructor(config, opts) {
11
11
  this.config = config;
@@ -1 +1 @@
1
- {"version":"3.1.0","commands":{"help":{"id":"help","description":"display help for <%= config.bin %>","pluginName":"@oclif/plugin-help","pluginType":"core","aliases":[],"flags":{"all":{"name":"all","type":"boolean","description":"see all commands in CLI","allowNo":false}},"args":[{"name":"command","description":"command to show help for","required":false}]}}}
1
+ {"version":"3.2.3","commands":{"help":{"id":"help","description":"display help for <%= config.bin %>","pluginName":"@oclif/plugin-help","pluginType":"core","aliases":[],"flags":{"all":{"name":"all","type":"boolean","description":"see all commands in CLI","allowNo":false}},"args":[{"name":"command","description":"command to show help for","required":false}]}}}
package/package.json CHANGED
@@ -1,42 +1,42 @@
1
1
  {
2
2
  "name": "@oclif/plugin-help",
3
3
  "description": "standard help for oclif",
4
- "version": "3.1.0",
4
+ "version": "3.2.3",
5
5
  "author": "Jeff Dickey @jdxcode",
6
6
  "bugs": "https://github.com/oclif/plugin-help/issues",
7
7
  "dependencies": {
8
8
  "@oclif/command": "^1.5.20",
9
9
  "@oclif/config": "^1.15.1",
10
- "chalk": "^2.4.1",
10
+ "@oclif/errors": "^1.2.2",
11
+ "chalk": "^4.1.0",
11
12
  "indent-string": "^4.0.0",
12
13
  "lodash.template": "^4.4.0",
13
- "string-width": "^3.0.0",
14
- "strip-ansi": "^5.0.0",
15
- "widest-line": "^2.0.1",
14
+ "string-width": "^4.2.0",
15
+ "strip-ansi": "^6.0.0",
16
+ "widest-line": "^3.1.0",
16
17
  "wrap-ansi": "^4.0.0"
17
18
  },
18
19
  "devDependencies": {
19
20
  "@oclif/dev-cli": "^1.21.0",
20
- "@oclif/errors": "^1.2.2",
21
21
  "@oclif/plugin-legacy": "^1.1.3",
22
22
  "@oclif/plugin-plugins": "^1.7.6",
23
23
  "@oclif/test": "^1.2.2",
24
24
  "@types/chai": "^4.1.7",
25
25
  "@types/lodash.template": "^4.4.4",
26
- "@types/mocha": "^5.2.5",
27
- "@types/node": "^8.10.59",
28
- "@types/strip-ansi": "^3.0.0",
26
+ "@types/mocha": "^8.0.0",
27
+ "@types/node": "^14.0.14",
28
+ "@types/strip-ansi": "^5.2.1",
29
29
  "@types/wrap-ansi": "^3.0.0",
30
30
  "chai": "^4.2.0",
31
- "eslint": "^6.6.0",
31
+ "eslint": "^7.3.1",
32
32
  "eslint-config-oclif": "^3.1.0",
33
- "eslint-config-oclif-typescript": "^0.1.0",
34
- "globby": "^9.0.0",
35
- "mocha": "^5.2.0",
36
- "nock": "^12.0.3",
37
- "sinon": "^9.0.1",
38
- "ts-node": "^8.8.2",
39
- "typescript": "^3.8.3"
33
+ "eslint-config-oclif-typescript": "^0.2.0",
34
+ "globby": "^11.0.1",
35
+ "mocha": "^8.2.1",
36
+ "nock": "^13.0.0",
37
+ "sinon": "^10.0.0",
38
+ "ts-node": "^9.1.1",
39
+ "typescript": "3.8.3"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=8.0.0"
@@ -63,7 +63,7 @@
63
63
  "scripts": {
64
64
  "build": "rm -rf lib && tsc",
65
65
  "lint": "eslint . --ext .ts --config .eslintrc",
66
- "pretest": "tsc -p test --noEmit",
66
+ "pretest": "yarn build --noEmit && tsc -p test --noEmit",
67
67
  "test": "mocha --forbid-only \"test/**/*.test.ts\"",
68
68
  "posttest": "yarn lint",
69
69
  "prepack": "yarn run build && oclif-dev manifest",
package/CHANGELOG.md DELETED
@@ -1,611 +0,0 @@
1
- ## [2.1.4](https://github.com/oclif/plugin-help/compare/v2.1.3...v2.1.4) (2018-11-12)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * Expose command help method ([#33](https://github.com/oclif/plugin-help/issues/33)) ([0c0a0d9](https://github.com/oclif/plugin-help/commit/0c0a0d9))
7
-
8
- ## [2.1.3](https://github.com/oclif/plugin-help/compare/v2.1.2...v2.1.3) (2018-10-13)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * remove greenkeeper badge ([63640c7](https://github.com/oclif/plugin-help/commit/63640c7))
14
-
15
- ## [2.1.2](https://github.com/oclif/plugin-help/compare/v2.1.1...v2.1.2) (2018-09-13)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * move strip-ansi into dependencies ([17863f9](https://github.com/oclif/plugin-help/commit/17863f9))
21
-
22
- ## [2.1.1](https://github.com/oclif/plugin-help/compare/v2.1.0...v2.1.1) (2018-09-01)
23
-
24
-
25
- ### Bug Fixes
26
-
27
- * show docs for allowNo on boolean flags ([208a27a](https://github.com/oclif/plugin-help/commit/208a27a))
28
-
29
- <a name="2.1.0"></a>
30
- # [2.1.0](https://github.com/oclif/plugin-help/compare/v2.0.5...v2.1.0) (2018-08-17)
31
-
32
-
33
- ### Features
34
-
35
- * typescript 3 ([53c4d0f](https://github.com/oclif/plugin-help/commit/53c4d0f))
36
-
37
- <a name="2.0.5"></a>
38
- ## [2.0.5](https://github.com/oclif/plugin-help/compare/v2.0.4...v2.0.5) (2018-06-06)
39
-
40
-
41
- ### Bug Fixes
42
-
43
- * show argument options in help ([#26](https://github.com/oclif/plugin-help/issues/26)) ([0c8d1bf](https://github.com/oclif/plugin-help/commit/0c8d1bf))
44
-
45
- <a name="2.0.4"></a>
46
- ## [2.0.4](https://github.com/oclif/plugin-help/compare/v2.0.3...v2.0.4) (2018-05-31)
47
-
48
-
49
- ### Bug Fixes
50
-
51
- * trim descriptions ([d26baaa](https://github.com/oclif/plugin-help/commit/d26baaa))
52
-
53
- <a name="2.0.3"></a>
54
- ## [2.0.3](https://github.com/oclif/plugin-help/compare/v2.0.2...v2.0.3) (2018-05-31)
55
-
56
-
57
- ### Bug Fixes
58
-
59
- * read from `example` or `examples` ([d08f33b](https://github.com/oclif/plugin-help/commit/d08f33b))
60
-
61
- <a name="2.0.2"></a>
62
- ## [2.0.2](https://github.com/oclif/plugin-help/compare/v2.0.1...v2.0.2) (2018-05-30)
63
-
64
-
65
- ### Bug Fixes
66
-
67
- * allow setting COLUMNS env var ([961fea0](https://github.com/oclif/plugin-help/commit/961fea0))
68
-
69
- <a name="2.0.1"></a>
70
- ## [2.0.1](https://github.com/oclif/plugin-help/compare/v2.0.0...v2.0.1) (2018-05-30)
71
-
72
-
73
- ### Bug Fixes
74
-
75
- * single line to separate examples ([da1c488](https://github.com/oclif/plugin-help/commit/da1c488))
76
-
77
- <a name="2.0.0"></a>
78
- # [2.0.0](https://github.com/oclif/plugin-help/compare/v1.2.11...v2.0.0) (2018-05-28)
79
-
80
-
81
- ### Features
82
-
83
- * removed commands command ([cfcac30](https://github.com/oclif/plugin-help/commit/cfcac30))
84
-
85
-
86
- ### BREAKING CHANGES
87
-
88
- * `commands` command is no longer in this plugin
89
- it will be moved into @oclif/plugin-commands
90
-
91
- <a name="1.2.11"></a>
92
- ## [1.2.11](https://github.com/oclif/plugin-help/compare/v1.2.10...v1.2.11) (2018-05-14)
93
-
94
-
95
- ### Bug Fixes
96
-
97
- * use gray for ConEmu ([d0a469d](https://github.com/oclif/plugin-help/commit/d0a469d))
98
-
99
- <a name="1.2.10"></a>
100
- ## [1.2.10](https://github.com/oclif/plugin-help/compare/v1.2.9...v1.2.10) (2018-05-03)
101
-
102
-
103
- ### Bug Fixes
104
-
105
- * updated semantic-release ([e3ff4aa](https://github.com/oclif/plugin-help/commit/e3ff4aa))
106
-
107
- <a name="1.2.9"></a>
108
- ## [1.2.9](https://github.com/oclif/plugin-help/compare/v1.2.8...v1.2.9) (2018-05-03)
109
-
110
-
111
- ### Bug Fixes
112
-
113
- * manifest ([711b996](https://github.com/oclif/plugin-help/commit/711b996))
114
-
115
- <a name="1.2.8"></a>
116
- ## [1.2.8](https://github.com/oclif/plugin-help/compare/v1.2.7...v1.2.8) (2018-05-03)
117
-
118
-
119
- ### Bug Fixes
120
-
121
- * updated command ([6a725d4](https://github.com/oclif/plugin-help/commit/6a725d4))
122
-
123
- <a name="1.2.7"></a>
124
- ## [1.2.7](https://github.com/oclif/plugin-help/compare/v1.2.6...v1.2.7) (2018-05-01)
125
-
126
-
127
- ### Bug Fixes
128
-
129
- * updated command ([2909558](https://github.com/oclif/plugin-help/commit/2909558))
130
-
131
- <a name="1.2.6"></a>
132
- ## [1.2.6](https://github.com/oclif/plugin-help/compare/v1.2.5...v1.2.6) (2018-05-01)
133
-
134
-
135
- ### Bug Fixes
136
-
137
- * updated command and chalk ([136aaa3](https://github.com/oclif/plugin-help/commit/136aaa3))
138
-
139
- <a name="1.2.5"></a>
140
- ## [1.2.5](https://github.com/oclif/plugin-help/compare/v1.2.4...v1.2.5) (2018-04-20)
141
-
142
-
143
- ### Bug Fixes
144
-
145
- * show topic list without extra newline ([89d0bc5](https://github.com/oclif/plugin-help/commit/89d0bc5))
146
-
147
- <a name="1.2.4"></a>
148
- ## [1.2.4](https://github.com/oclif/plugin-help/compare/v1.2.3...v1.2.4) (2018-04-10)
149
-
150
-
151
- ### Bug Fixes
152
-
153
- * updated command ([5837908](https://github.com/oclif/plugin-help/commit/5837908))
154
-
155
- <a name="1.2.3"></a>
156
- ## [1.2.3](https://github.com/oclif/plugin-help/compare/v1.2.2...v1.2.3) (2018-04-07)
157
-
158
-
159
- ### Bug Fixes
160
-
161
- * show extra line between examples ([d05ec75](https://github.com/oclif/plugin-help/commit/d05ec75))
162
-
163
- <a name="1.2.2"></a>
164
- ## [1.2.2](https://github.com/oclif/plugin-help/compare/v1.2.1...v1.2.2) (2018-03-28)
165
-
166
-
167
- ### Bug Fixes
168
-
169
- * updated [@oclif](https://github.com/oclif)/command ([01e4d9b](https://github.com/oclif/plugin-help/commit/01e4d9b))
170
-
171
- <a name="1.2.1"></a>
172
- ## [1.2.1](https://github.com/oclif/plugin-help/compare/v1.2.0...v1.2.1) (2018-03-24)
173
-
174
-
175
- ### Bug Fixes
176
-
177
- * move help into its own section ([8099431](https://github.com/oclif/plugin-help/commit/8099431))
178
-
179
- <a name="1.2.0"></a>
180
- # [1.2.0](https://github.com/oclif/plugin-help/compare/v1.1.8...v1.2.0) (2018-03-24)
181
-
182
-
183
- ### Bug Fixes
184
-
185
- * use new semantic-release ([8bdc8fc](https://github.com/oclif/plugin-help/commit/8bdc8fc))
186
-
187
-
188
- ### Features
189
-
190
- * show version on root help ([988de52](https://github.com/oclif/plugin-help/commit/988de52))
191
-
192
- <a name="1.1.8"></a>
193
- ## [1.1.8](https://github.com/oclif/plugin-help/compare/a4a769687bd7a19f535773c5ab39064b6b35ac0b...v1.1.8) (2018-03-24)
194
-
195
-
196
- ### Bug Fixes
197
-
198
- * updated command ([5e3b8f5](https://github.com/oclif/plugin-help/commit/5e3b8f5))
199
-
200
- <a name="1.1.7"></a>
201
- ## [1.1.7](https://github.com/oclif/plugin-help/compare/cb5f9bea2c14d88afd94843026b09d245f584864...v1.1.7) (2018-03-23)
202
-
203
-
204
- ### Bug Fixes
205
-
206
- * updated deps ([a4a7696](https://github.com/oclif/plugin-help/commit/a4a7696))
207
-
208
- <a name="1.1.6"></a>
209
- ## [1.1.6](https://github.com/oclif/plugin-help/compare/967d74a74c77f4a8ac7a389b91b92dfaa9caaff1...v1.1.6) (2018-02-28)
210
-
211
-
212
- ### Bug Fixes
213
-
214
- * updated deps ([cb5f9be](https://github.com/oclif/plugin-help/commit/cb5f9be))
215
-
216
- <a name="1.1.5"></a>
217
- ## [1.1.5](https://github.com/oclif/plugin-help/compare/829e75edaf307223a1693b16d10e2216e0f5f9ba...v1.1.5) (2018-02-17)
218
-
219
-
220
- ### Bug Fixes
221
-
222
- * fix help command ([c60c0cb](https://github.com/oclif/plugin-help/commit/c60c0cb))
223
- * fixed tests ([967d74a](https://github.com/oclif/plugin-help/commit/967d74a))
224
-
225
- <a name="1.1.4"></a>
226
- ## [1.1.4](https://github.com/oclif/plugin-help/compare/7a9b7508cb0d44c8e1ab2c8ba081d30bbd99e230...v1.1.4) (2018-02-17)
227
-
228
-
229
- ### Bug Fixes
230
-
231
- * only show topics 1 level deep ([829e75e](https://github.com/oclif/plugin-help/commit/829e75e))
232
- * only show topics 1 level deep ([5af8a0b](https://github.com/oclif/plugin-help/commit/5af8a0b))
233
-
234
- <a name="1.1.3"></a>
235
- ## [1.1.3](https://github.com/oclif/plugin-help/compare/81c089f2b549984de4e8e25f1d941698b7f63cb3...v1.1.3) (2018-02-17)
236
-
237
-
238
- ### Bug Fixes
239
-
240
- * hide hidden topics ([7a9b750](https://github.com/oclif/plugin-help/commit/7a9b750))
241
-
242
- <a name="1.1.2"></a>
243
- ## [1.1.2](https://github.com/oclif/plugin-help/compare/165a53c8d7f6705b20fa56553e6d78cb689d882e...v1.1.2) (2018-02-17)
244
-
245
-
246
- ### Bug Fixes
247
-
248
- * use topics only ([81c089f](https://github.com/oclif/plugin-help/commit/81c089f))
249
-
250
- <a name="1.1.1"></a>
251
- ## [1.1.1](https://github.com/oclif/plugin-help/compare/67d1cba010649852ecbd1b6870e91e06df35aa28...v1.1.1) (2018-02-17)
252
-
253
-
254
- ### Bug Fixes
255
-
256
- * sort commands/topics ([165a53c](https://github.com/oclif/plugin-help/commit/165a53c))
257
-
258
- <a name="1.1.0"></a>
259
- # [1.1.0](https://github.com/oclif/plugin-help/compare/de750328be54793875516f99a40cc5dd8a7bc8cf...v1.1.0) (2018-02-17)
260
-
261
-
262
- ### Features
263
-
264
- * add topics ([67d1cba](https://github.com/oclif/plugin-help/commit/67d1cba))
265
-
266
- <a name="1.0.5"></a>
267
- ## [1.0.5](https://github.com/oclif/plugin-help/compare/66cd4cdfba29f6e6c81f45742a5528038375830f...v1.0.5) (2018-02-17)
268
-
269
-
270
- ### Bug Fixes
271
-
272
- * read options if flagValue is undefined ([abe43d8](https://github.com/oclif/plugin-help/commit/abe43d8))
273
- * updated deps ([de75032](https://github.com/oclif/plugin-help/commit/de75032))
274
-
275
- <a name="1.0.4"></a>
276
- ## [1.0.4](https://github.com/oclif/plugin-help/compare/a382ee982a225d48d7650f1ced7fd97ea90e1ebf...v1.0.4) (2018-02-17)
277
-
278
-
279
- ### Bug Fixes
280
-
281
- * trim usage ([06de470](https://github.com/oclif/plugin-help/commit/06de470))
282
- * updated deps ([66cd4cd](https://github.com/oclif/plugin-help/commit/66cd4cd))
283
-
284
- <a name="1.0.3"></a>
285
- ## [1.0.3](https://github.com/oclif/plugin-help/compare/7e709205248664666654cf0750c3209c43327298...v1.0.3) (2018-02-15)
286
-
287
-
288
- ### Bug Fixes
289
-
290
- * updated command ([a382ee9](https://github.com/oclif/plugin-help/commit/a382ee9))
291
-
292
- <a name="1.0.2"></a>
293
- ## [1.0.2](https://github.com/oclif/plugin-help/compare/651763997bf220f980aa43b522d8f2d1bdaf1275...v1.0.2) (2018-02-15)
294
-
295
-
296
- ### Bug Fixes
297
-
298
- * hide OPTIONS for now ([7e70920](https://github.com/oclif/plugin-help/commit/7e70920))
299
-
300
- <a name="1.0.1"></a>
301
- ## [1.0.1](https://github.com/oclif/plugin-help/compare/v1.0.0...v1.0.1) (2018-02-13)
302
-
303
-
304
- ### Bug Fixes
305
-
306
- * updated command ([6517639](https://github.com/oclif/plugin-help/commit/6517639))
307
-
308
- <a name="0.7.4"></a>
309
- ## [0.7.4](https://github.com/oclif/plugin-help/compare/v0.7.3...v0.7.4) (2018-02-13)
310
-
311
-
312
- ### Bug Fixes
313
-
314
- * oclif rename ([fb1bbe9](https://github.com/oclif/plugin-help/commit/fb1bbe9))
315
-
316
- <a name="0.7.2"></a>
317
- ## [0.7.2](https://github.com/anycli/plugin-help/compare/123c328fa036f3e17d21544fb2fa6fe76ac9407a...v0.7.2) (2018-02-07)
318
-
319
-
320
- ### Bug Fixes
321
-
322
- * async ([95e455e](https://github.com/anycli/plugin-help/commit/95e455e))
323
-
324
- <a name="0.7.1"></a>
325
- ## [0.7.1](https://github.com/oclif/plugin-help/compare/d33c3d84347133558382fbd9ee9a13af27418fd6...v0.7.1) (2018-02-07)
326
-
327
-
328
- ### Bug Fixes
329
-
330
- * async ([123c328](https://github.com/oclif/plugin-help/commit/123c328))
331
-
332
- <a name="0.7.0"></a>
333
- # [0.7.0](https://github.com/oclif/plugin-help/compare/476ec1dc0601bd75e8062759cb6e29aec1ce698b...v0.7.0) (2018-02-07)
334
-
335
-
336
- ### Bug Fixes
337
-
338
- * fixed tests ([d33c3d8](https://github.com/oclif/plugin-help/commit/d33c3d8))
339
-
340
-
341
- ### Features
342
-
343
- * add examples ([6fd821c](https://github.com/oclif/plugin-help/commit/6fd821c))
344
-
345
- <a name="0.6.9"></a>
346
- ## [0.6.9](https://github.com/oclif/plugin-help/compare/61a26af71387aae48988ff161a186c7728ad3e30...v0.6.9) (2018-02-07)
347
-
348
-
349
- ### Bug Fixes
350
-
351
- * updated config ([476ec1d](https://github.com/oclif/plugin-help/commit/476ec1d))
352
-
353
- <a name="0.6.8"></a>
354
- ## [0.6.8](https://github.com/oclif/plugin-help/compare/692a7e663f79a676e8de8c136bef6662f2ed29b3...v0.6.8) (2018-02-06)
355
-
356
-
357
- ### Bug Fixes
358
-
359
- * fixed topic list ([61a26af](https://github.com/oclif/plugin-help/commit/61a26af))
360
- * fixed topic list ([b42fde4](https://github.com/oclif/plugin-help/commit/b42fde4))
361
-
362
- <a name="0.6.7"></a>
363
- ## [0.6.7](https://github.com/oclif/plugin-help/compare/v0.6.6...v0.6.7) (2018-02-06)
364
-
365
-
366
- ### Bug Fixes
367
-
368
- * simplify ([692a7e6](https://github.com/oclif/plugin-help/commit/692a7e6))
369
-
370
- <a name="0.6.5"></a>
371
- ## [0.6.5](https://github.com/oclif/plugin-help/compare/3259b8742a5164bfdd6d5db516ef7ba59e1fba0b...v0.6.5) (2018-02-06)
372
-
373
-
374
- ### Bug Fixes
375
-
376
- * updated command ([6ee12a9](https://github.com/oclif/plugin-help/commit/6ee12a9))
377
-
378
- <a name="0.6.4"></a>
379
- ## [0.6.4](https://github.com/oclif/plugin-help/compare/b53cc909d0a29135360c95e110facee45602a764...v0.6.4) (2018-02-06)
380
-
381
-
382
- ### Bug Fixes
383
-
384
- * use [@oclif](https://github.com/oclif)/errors ([3259b87](https://github.com/oclif/plugin-help/commit/3259b87))
385
-
386
- <a name="0.6.3"></a>
387
- ## [0.6.3](https://github.com/oclif/plugin-help/compare/8d2a146505f02ccc0854601a28223ae3d2acbf2c...v0.6.3) (2018-02-05)
388
-
389
-
390
- ### Bug Fixes
391
-
392
- * require lodash.template ([b53cc90](https://github.com/oclif/plugin-help/commit/b53cc90))
393
-
394
- <a name="0.6.2"></a>
395
- ## [0.6.2](https://github.com/oclif/plugin-help/compare/32b9b620962c54b8102dc878f70104dd4084c62f...v0.6.2) (2018-02-05)
396
-
397
-
398
- ### Bug Fixes
399
-
400
- * reduce dependencies ([8d2a146](https://github.com/oclif/plugin-help/commit/8d2a146))
401
-
402
- <a name="0.6.1"></a>
403
- ## [0.6.1](https://github.com/oclif/plugin-help/compare/4cc24aa7608b55071b4b9bd3aece77a671eb84c5...v0.6.1) (2018-02-05)
404
-
405
-
406
- ### Bug Fixes
407
-
408
- * make dependencies optional ([32b9b62](https://github.com/oclif/plugin-help/commit/32b9b62))
409
-
410
- <a name="0.6.0"></a>
411
- # [0.6.0](https://github.com/oclif/plugin-help/compare/4f48c42033e51edbad3d8b721f3bc8ef625b5101...v0.6.0) (2018-02-03)
412
-
413
-
414
- ### Bug Fixes
415
-
416
- * tweaks to make help render better ([4cc24aa](https://github.com/oclif/plugin-help/commit/4cc24aa))
417
-
418
-
419
- ### Features
420
-
421
- * generalize help coordination inot showHelp() ([fa37288](https://github.com/oclif/plugin-help/commit/fa37288))
422
-
423
- <a name="0.5.1"></a>
424
- ## [0.5.1](https://github.com/oclif/plugin-help/compare/fcc41a0a404c914c93dbe925d77a57c31fb7c162...v0.5.1) (2018-02-03)
425
-
426
-
427
- ### Bug Fixes
428
-
429
- * updated config ([4f48c42](https://github.com/oclif/plugin-help/commit/4f48c42))
430
-
431
- <a name="0.5.0"></a>
432
- # [0.5.0](https://github.com/oclif/plugin-help/compare/64df8c5c7b792285348af0e55a30887bc7dbab96...v0.5.0) (2018-02-02)
433
-
434
-
435
- ### Features
436
-
437
- * use lodash template on help strings ([fcc41a0](https://github.com/oclif/plugin-help/commit/fcc41a0))
438
-
439
- <a name="0.4.7"></a>
440
- ## [0.4.7](https://github.com/oclif/plugin-help/compare/3d73da87de46d9f80bd2b2ce510a89f9930f8a7a...v0.4.7) (2018-02-02)
441
-
442
-
443
- ### Bug Fixes
444
-
445
- * add showHelp method ([64df8c5](https://github.com/oclif/plugin-help/commit/64df8c5))
446
-
447
- <a name="0.4.6"></a>
448
- ## [0.4.6](https://github.com/oclif/plugin-help/compare/cf0d4b42149d39aeb7e3956a6c94fb1c63d68d72...v0.4.6) (2018-02-02)
449
-
450
-
451
- ### Bug Fixes
452
-
453
- * cache bust ([3d73da8](https://github.com/oclif/plugin-help/commit/3d73da8))
454
-
455
- <a name="0.4.5"></a>
456
- ## [0.4.5](https://github.com/oclif/plugin-help/compare/30ca7c144bafb2e1ee6a701a559e755614115b76...v0.4.5) (2018-02-02)
457
-
458
-
459
- ### Bug Fixes
460
-
461
- * fixing manifest ([cf0d4b4](https://github.com/oclif/plugin-help/commit/cf0d4b4))
462
-
463
- <a name="0.4.4"></a>
464
- ## [0.4.4](https://github.com/oclif/plugin-help/compare/241df8abf10d3f96e025db6f9c83d0a94cccd801...v0.4.4) (2018-02-02)
465
-
466
-
467
- ### Bug Fixes
468
-
469
- * fixed manifest location ([30ca7c1](https://github.com/oclif/plugin-help/commit/30ca7c1))
470
-
471
- <a name="0.4.3"></a>
472
- ## [0.4.3](https://github.com/oclif/plugin-help/compare/08cf2fbb6583a3f8547705a1bc9e6a909f3866ec...v0.4.3) (2018-02-02)
473
-
474
-
475
- ### Bug Fixes
476
-
477
- * fix manifest writing ([241df8a](https://github.com/oclif/plugin-help/commit/241df8a))
478
-
479
- <a name="0.4.2"></a>
480
- ## [0.4.2](https://github.com/oclif/plugin-help/compare/67c842d81cb9975967654e148be2d630fb372c20...v0.4.2) (2018-02-02)
481
-
482
-
483
- ### Bug Fixes
484
-
485
- * add plugin manifest ([08cf2fb](https://github.com/oclif/plugin-help/commit/08cf2fb))
486
-
487
- <a name="0.4.1"></a>
488
- ## [0.4.1](https://github.com/oclif/plugin-help/compare/7bedad5eb4865c8b3c2264a06f52dd99af6b74dc...v0.4.1) (2018-02-02)
489
-
490
-
491
- ### Bug Fixes
492
-
493
- * prep for lodash templating ([67c842d](https://github.com/oclif/plugin-help/commit/67c842d))
494
-
495
- <a name="0.4.0"></a>
496
- # [0.4.0](https://github.com/oclif/plugin-help/compare/d8df03bee99d520c51bf1754c00ed084b6a01170...v0.4.0) (2018-02-02)
497
-
498
-
499
- ### Features
500
-
501
- * show default flag/arg values ([7bedad5](https://github.com/oclif/plugin-help/commit/7bedad5))
502
-
503
- <a name="0.3.7"></a>
504
- ## [0.3.7](https://github.com/oclif/plugin-help/compare/2977578c307c7092192179ee73cb1d4b634d8049...v0.3.7) (2018-02-02)
505
-
506
-
507
- ### Bug Fixes
508
-
509
- * fixed help in CI ([d8df03b](https://github.com/oclif/plugin-help/commit/d8df03b))
510
-
511
- <a name="0.3.6"></a>
512
- ## [0.3.6](https://github.com/oclif/plugin-help/compare/fc0f0f5b5ae0c36e0409398f361fbab41707e2bb...v0.3.6) (2018-02-02)
513
-
514
-
515
- ### Bug Fixes
516
-
517
- * triggering release ([2977578](https://github.com/oclif/plugin-help/commit/2977578))
518
-
519
- <a name="0.3.5"></a>
520
- ## [0.3.5](https://github.com/oclif/help/compare/608ba929331f1b5353e226d043c91863e2d60595...v0.3.5) (2018-02-01)
521
-
522
-
523
- ### Bug Fixes
524
-
525
- * remove blue color ([945ccc5](https://github.com/oclif/help/commit/945ccc5))
526
-
527
- <a name="0.3.4"></a>
528
- ## [0.3.4](https://github.com/oclif/help/compare/85ec92fc619517934f62d365a2610e6e04661cec...v0.3.4) (2018-02-01)
529
-
530
-
531
- ### Bug Fixes
532
-
533
- * updated command ([da099da](https://github.com/oclif/help/commit/da099da))
534
-
535
- <a name="0.3.3"></a>
536
- ## [0.3.3](https://github.com/oclif/help/compare/8c13ae47789018ad093f1fb6d3a248da10e8ac86...v0.3.3) (2018-02-01)
537
-
538
-
539
- ### Bug Fixes
540
-
541
- * hide underline if complex value ([85ec92f](https://github.com/oclif/help/commit/85ec92f))
542
-
543
- <a name="0.3.2"></a>
544
- ## [0.3.2](https://github.com/oclif/help/compare/8046612a23df4c73910a6624781ab0ae96a0998e...v0.3.2) (2018-02-01)
545
-
546
-
547
- ### Bug Fixes
548
-
549
- * hide commands command ([8c13ae4](https://github.com/oclif/help/commit/8c13ae4))
550
-
551
- <a name="0.3.1"></a>
552
- ## [0.3.1](https://github.com/oclif/help/compare/af7eb9b155fa44f2e7261b25b94dc76d05040422...v0.3.1) (2018-02-01)
553
-
554
-
555
- ### Bug Fixes
556
-
557
- * updated engine ([8046612](https://github.com/oclif/help/commit/8046612))
558
- * work on markdown generator ([0c50c69](https://github.com/oclif/help/commit/0c50c69))
559
-
560
- <a name="0.3.0"></a>
561
- # [0.3.0](https://github.com/oclif/help/compare/258a5b3873f6557959b72c1d116f44d0e5111e94...v0.3.0) (2018-01-31)
562
-
563
-
564
- ### Bug Fixes
565
-
566
- * add dev plugins ([7d8a3c7](https://github.com/oclif/help/commit/7d8a3c7))
567
-
568
-
569
- ### Features
570
-
571
- * added basic root command support ([af7eb9b](https://github.com/oclif/help/commit/af7eb9b))
572
-
573
- <a name="0.2.3"></a>
574
- ## [0.2.3](https://github.com/oclif/help/compare/1d28ed1244d6ac74fbd0a4fce9e1a74b1523c081...v0.2.3) (2018-01-31)
575
-
576
-
577
- ### Bug Fixes
578
-
579
- * updated deps ([258a5b3](https://github.com/oclif/help/commit/258a5b3))
580
-
581
- <a name="0.2.2"></a>
582
- ## [0.2.2](https://github.com/oclif/help/compare/b4bed623435a2f4ea73d2ad813589f3105e4299e...v0.2.2) (2018-01-31)
583
-
584
-
585
- ### Bug Fixes
586
-
587
- * updated engine ([1d28ed1](https://github.com/oclif/help/commit/1d28ed1))
588
-
589
- <a name="0.2.1"></a>
590
- ## [0.2.1](https://github.com/dxcli/help/compare/bc53900d424978ab143773eae4651e0ee591ee2f...v0.2.1) (2018-01-30)
591
-
592
-
593
- ### Bug Fixes
594
-
595
- * improve help output ([65a1ef8](https://github.com/dxcli/help/commit/65a1ef8))
596
-
597
- <a name="0.2.0"></a>
598
- # [0.2.0](https://github.com/dxcli/help/compare/a65df6995f0da999ccc9348f8d25582c3af637e9...v0.2.0) (2018-01-30)
599
-
600
-
601
- ### Features
602
-
603
- * added help command ([bc53900](https://github.com/dxcli/help/commit/bc53900))
604
-
605
- <a name="0.1.0"></a>
606
- # [0.1.0](https://github.com/dxcli/help/compare/v0.0.0...v0.1.0) (2018-01-30)
607
-
608
-
609
- ### Features
610
-
611
- * added command help ([a65df69](https://github.com/dxcli/help/commit/a65df69))