From 5d0a30dd91e350f5f99f4c43548e77c7dd6e65e6 Mon Sep 17 00:00:00 2001 From: Philipe Navarro Date: Tue, 2 Jun 2020 17:49:59 -0700 Subject: [PATCH] feat: add Help as named export --- src/index.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index cc04a390..b2bf1969 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,7 @@ import {renderList} from './list' import RootHelp from './root' import {stdtermwidth} from './screen' import {compact, sortBy, template, uniqBy} from './util' -export {getHelpClass} from './util' +import {getHelpClass} from './util' const wrap = require('wrap-ansi') const { @@ -256,3 +256,8 @@ export default class Help extends HelpBase { return this.formatCommand(command) } } + +export { + Help, + getHelpClass, +}