Skip to content

Commit

Permalink
feat: add AIHelp init
Browse files Browse the repository at this point in the history
  • Loading branch information
snowyu committed Aug 23, 2024
1 parent 9773840 commit b12a4d4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/oclif/lib/help.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
// import { type Command, Help } from '@oclif/core';
import { type Command } from '@oclif/core';
import { CustomHelp } from '@offline-ai/cli-common'

export { showBanner } from '@offline-ai/cli-common'

export default CustomHelp
export default class AIHelp extends CustomHelp {
async showHelp(args: string[]) {
super.showHelp(args);
}

async showCommandHelp(command: Command.Loadable) {
super.showCommandHelp(command);
}
}

0 comments on commit b12a4d4

Please sign in to comment.