Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/midwayjs/midway
/ CommandRunner
Interface
CommandRunner
packages/commander/src/interface.ts:28–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
export
type
Context = IMidwayCommanderContext;
27
28
export
interface
CommandRunner {
29
run(
30
passedParams: string[],
31
options?: Record<string, any>
32
): unknown | Promise<unknown>;
33
}
Callers
1
loadCommands
Method · 0.65
Implementers
15
HelloCommand
packages/commander/test/index.test.ts
AliasedCommand
packages/commander/test/index.test.ts
DefaultOptionCommand
packages/commander/test/index.test.ts
RequiredOptionCommand
packages/commander/test/index.test.ts
MultiArgsCommand
packages/commander/test/index.test.ts
NumberOptionCommand
packages/commander/test/index.test.ts
WithContextCommand
packages/commander/test/index.test.ts
AskCommand
packages/commander/test/index.test.ts
ReturnTextCommand
packages/commander/test/index.test.ts
ReturnJsonCommand
packages/commander/test/index.test.ts
ReturnStreamCommand
packages/commander/test/index.test.ts
ReturnAsyncIterableCommand
packages/commander/test/index.test.ts
Calls
no outgoing calls
Tested by
no test coverage detected