@oclif/plugin-help 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Config from '@oclif/config';
|
|
2
|
-
|
|
2
|
+
import { getHelpClass } from './util';
|
|
3
3
|
export interface HelpOptions {
|
|
4
4
|
all?: boolean;
|
|
5
5
|
maxWidth: number;
|
|
@@ -43,3 +43,4 @@ export default class Help extends HelpBase {
|
|
|
43
43
|
*/
|
|
44
44
|
protected command(command: Config.Command): string;
|
|
45
45
|
}
|
|
46
|
+
export { Help, getHelpClass, };
|
package/lib/index.js
CHANGED
|
@@ -9,7 +9,7 @@ const list_1 = require("./list");
|
|
|
9
9
|
const root_1 = require("./root");
|
|
10
10
|
const screen_1 = require("./screen");
|
|
11
11
|
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
15
|
const { bold, } = chalk_1.default;
|
|
@@ -202,3 +202,4 @@ class Help extends HelpBase {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
exports.default = Help;
|
|
205
|
+
exports.Help = Help;
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"3.0
|
|
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}]}}}
|