Skip to content

Commit

Permalink
feat: add Help as named export (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
RasPhilCo authored Jun 3, 2020
1 parent 46cbaa1 commit 7abb107
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -256,3 +256,8 @@ export default class Help extends HelpBase {
return this.formatCommand(command)
}
}

export {
Help,
getHelpClass,
}

0 comments on commit 7abb107

Please sign in to comment.