openapi-mcp-generator/bin/openapi-mcp-generator.js
harsha-iiiv 6141d2e8ae chore: Update version to 3.1.1 and modify CLI entry point
- Bumped package version to 3.1.1 in package.json to match the new release.
- Changed the CLI entry point to use the new bin/openapi-mcp-generator.js file.
- Updated build script to ensure the new CLI file has the correct permissions.
- Refactored index.ts to streamline argument parsing and error handling.
2025-05-26 08:43:41 +05:30

6 lines
138 B
JavaScript
Executable File

#!/usr/bin/env node
import { program } from '../dist/index.js';
// Parse CLI arguments and run the program
program.parse(process.argv);