python2ib
Version:
Convert Python code to IB Pseudocode format
28 lines • 786 B
TypeScript
#!/usr/bin/env node
/**
* CLI tool for Python to IB Pseudocode converter
*/
import { ConvertOptions } from './index.js';
/** CLI configuration */
interface CLIOptions {
input?: string;
output?: string;
config?: string;
help?: boolean;
version?: boolean;
validate?: boolean;
info?: boolean;
indent?: 'spaces' | 'tabs';
indentSize?: number;
strict?: boolean;
quiet?: boolean;
verbose?: boolean;
}
/** Parse command line arguments */
declare function parseArgs(args: string[]): CLIOptions;
/** Load configuration from file */
declare function loadConfig(configPath: string): Partial<ConvertOptions>;
/** Main CLI function */
declare function main(): void;
export { main as runCLI, parseArgs, loadConfig };
//# sourceMappingURL=cli.d.ts.map