We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 552fdce commit 15d3205Copy full SHA for 15d3205
src/command-line/commands/index.ts
@@ -1,2 +1 @@
1
-export * from "@xieyuheng/command-line/lib/commands/index.js"
2
export * from "./RunCommand.ts"
src/command-line/index.ts
@@ -1,12 +1,13 @@
import {
CommandRunner,
3
CommandRunners,
4
+ Commands,
5
} from "@xieyuheng/command-line"
-import * as Commands from "./commands/index.ts"
6
+import { RunCommand } from "./commands/index.ts"
7
8
export function createCommandRunner(): CommandRunner {
9
return new CommandRunners.CommonCommandRunner({
10
defaultCommand: new Commands.CommonHelp(),
- commands: [new Commands.RunCommand(), new Commands.CommonHelp()],
11
+ commands: [new RunCommand(), new Commands.CommonHelp()],
12
})
13
}
0 commit comments