Skip to content

Commit 15d3205

Browse files
committed
up
1 parent 552fdce commit 15d3205

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/command-line/commands/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
export * from "@xieyuheng/command-line/lib/commands/index.js"
21
export * from "./RunCommand.ts"

src/command-line/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import {
22
CommandRunner,
33
CommandRunners,
4+
Commands,
45
} from "@xieyuheng/command-line"
5-
import * as Commands from "./commands/index.ts"
6+
import { RunCommand } from "./commands/index.ts"
67

78
export function createCommandRunner(): CommandRunner {
89
return new CommandRunners.CommonCommandRunner({
910
defaultCommand: new Commands.CommonHelp(),
10-
commands: [new Commands.RunCommand(), new Commands.CommonHelp()],
11+
commands: [new RunCommand(), new Commands.CommonHelp()],
1112
})
1213
}

0 commit comments

Comments
 (0)