@paultaku/node-mock-server
Version:
A TypeScript-based mock server with automatic Swagger-based mock file generation
29 lines • 750 B
TypeScript
/**
* Command Parser
*
* Parses and validates CLI arguments using Commander.js.
* Provides utilities for CLI option handling.
*/
import { Command } from "commander";
/**
* Options for the generate command
*/
export interface GenerateCommandOptions {
swagger: string;
output: string;
}
/**
* Create and configure the generate command
* @returns Configured Command instance
*/
export declare function createGenerateCommand(): Command;
/**
* Parse generate command options
* @param program - Configured Command instance
* @returns Parsed options with resolved paths
*/
export declare function parseGenerateOptions(program: Command): {
swaggerPath: string;
outputPath: string;
};
//# sourceMappingURL=command-parser.d.ts.map