refactor: move command.ts to command/index.ts

This commit is contained in:
hypercross 2026-04-02 08:19:14 +08:00
parent e06dc8ecba
commit f1b1741db8
2 changed files with 10 additions and 10 deletions

View File

@ -1,10 +0,0 @@
export { parseCommand } from './command/command-parse.js';
export { parseCommandSchema } from './command/schema-parse.js';
export { validateCommand, parseCommandWithSchema, applyCommandSchema } from './command/command-validate.js';
export type {
Command,
CommandParamSchema,
CommandOptionSchema,
CommandFlagSchema,
CommandSchema,
} from './command/types.js';

View File

@ -0,0 +1,10 @@
export { parseCommand } from './command-parse';
export { parseCommandSchema } from './schema-parse';
export { validateCommand, parseCommandWithSchema, applyCommandSchema } from './command-validate';
export type {
Command,
CommandParamSchema,
CommandOptionSchema,
CommandFlagSchema,
CommandSchema,
} from './types';