mira-consciousness
Version:
Memory & Intelligence Retention Archive - Preserving The Spark
54 lines • 1.47 kB
TypeScript
import { Command } from 'commander';
export interface CommandOption {
flags: string;
description: string;
defaultValue?: string | boolean;
}
export interface CommandConfig {
name: string;
aliases?: string[];
description: string;
arguments?: string;
options?: CommandOption[];
isLazy?: boolean;
importPath?: string;
action?: string | ((...args: any[]) => Promise<void> | void);
subcommands?: CommandConfig[];
createCommand?: string;
}
export declare enum CommandCategory {
UNIFIED = "Unified Smart Commands (MCP-Powered)",
SYSTEM = "System & Configuration"
}
export interface CategorizedCommands {
category: CommandCategory;
commands: CommandConfig[];
}
export declare const COMMON_OPTIONS: {
format: {
flags: string;
description: string;
defaultValue: string;
};
output: {
flags: string;
description: string;
};
limit: {
flags: string;
description: string;
defaultValue: string;
};
verbose: {
flags: string;
description: string;
};
force: {
flags: string;
description: string;
};
};
export declare const CATEGORIZED_COMMANDS: CategorizedCommands[];
export declare const COMMAND_DEFINITIONS: CommandConfig[];
export declare function createCommandFromConfig(config: CommandConfig, program: Command): Promise<void>;
//# sourceMappingURL=command-definitions.d.ts.map