@five-vm/cli
Version:
High-performance CLI for Five VM development with WebAssembly integration
46 lines • 1.6 kB
TypeScript
/**
* Five CLI Commands Index
*
* Central registry for all Five CLI commands with automatic discovery
* and registration capabilities.
*/
import { CommandDefinition } from '../types.js';
import { compileCommand } from './compile.js';
import { executeCommand } from './execute.js';
import { deployCommand } from './deploy.js';
import { deployAndExecuteCommand } from './deploy-and-execute.js';
import { testCommand } from './test.js';
import { versionCommand } from './version.js';
import { configCommand } from './config.js';
import { localCommand } from './local.js';
import { helpCommand } from './help.js';
/**
* Registry of all available commands
*/
export declare const commands: CommandDefinition[];
/**
* Get command by name or alias
*/
export declare function getCommand(name: string): CommandDefinition | undefined;
/**
* Get all command names and aliases
*/
export declare function getAllCommandNames(): string[];
/**
* Get commands by category
*/
export declare function getCommandsByCategory(): Record<string, CommandDefinition[]>;
/**
* Generate help text for all commands with retro styling
*/
export declare function generateCommandsHelp(): string;
/**
* Validate command definition
*/
export declare function validateCommand(cmd: CommandDefinition): boolean;
/**
* Register a new command dynamically
*/
export declare function registerCommand(cmd: CommandDefinition): boolean;
export { helpCommand, compileCommand, executeCommand, deployCommand, deployAndExecuteCommand, localCommand, configCommand, testCommand, versionCommand };
//# sourceMappingURL=index.d.ts.map