- 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.
6 lines
138 B
JavaScript
Executable File
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);
|