diff --git a/src/index.ts b/src/index.ts index 822ccc3..9e43f2f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,7 +17,7 @@ export type { Region, RegionAxis } from './core/region'; export { createRegion, applyAlign, shuffle, moveToRegion, moveToRegionAll, removeFromRegion } from './core/region'; // Utils -export type { Command, CommandSchema, CommandParamSchema, CommandOptionSchema, CommandFlagSchema } from './utils/command'; +export type { Command, CommandResult, CommandSchema, CommandParamSchema, CommandOptionSchema, CommandFlagSchema } from './utils/command'; export { parseCommand, parseCommandSchema, validateCommand, parseCommandWithSchema, applyCommandSchema } from './utils/command'; export type { CommandRunner, CommandRunnerHandler, CommandRunnerContext, PromptEvent, CommandRunnerEvents } from './utils/command'; diff --git a/src/utils/command/index.ts b/src/utils/command/index.ts index 30ff9bc..4733320 100644 --- a/src/utils/command/index.ts +++ b/src/utils/command/index.ts @@ -18,5 +18,5 @@ export type { CommandFlagSchema, CommandSchema, } from './types'; -export type { CommandRunner, CommandRunnerHandler, CommandRunnerContext, PromptEvent, CommandRunnerEvents } from './command-runner'; +export type { CommandRunner, CommandResult, CommandRunnerHandler, CommandRunnerContext, PromptEvent, CommandRunnerEvents } from './command-runner'; export type { CommandRegistry, CommandRunnerContextExport } from './command-registry';