codecrucible-synth
Version:
Production-Ready AI Development Platform with Multi-Voice Synthesis, Smithery MCP Integration, Enterprise Security, and Zero-Timeout Reliability
39 lines • 1.04 kB
TypeScript
/**
* CLI Argument Parser
* Handles parsing of command line arguments and options
*/
import { CLIOptions } from './cli-types.js';
export declare class CLIParser {
/**
* Parse slash commands for role switching
*/
static parseSlashCommand(input: string): {
command: string;
role?: string;
content: string;
};
/**
* Parse command line arguments into structured options
*/
static parseOptions(args: string[]): CLIOptions;
/**
* Extract the main command from arguments
*/
static extractCommand(args: string[]): {
command: string;
remainingArgs: string[];
};
/**
* Check if arguments contain help flags
*/
static isHelpRequest(args: string[]): boolean;
/**
* Get non-option arguments (potential prompts or files)
*/
static getNonOptionArgs(args: string[]): string[];
/**
* Check if an option expects a value
*/
private static isOptionWithValue;
}
//# sourceMappingURL=cli-parser.d.ts.map