agentsqripts
Version:
Comprehensive static code analysis toolkit for identifying technical debt, security vulnerabilities, performance issues, and code quality problems
23 lines (19 loc) • 773 B
JavaScript
/**
* @file CLI wrapper for comprehensive problem scope analysis
* @description Single responsibility: Provide command-line interface for running problem-scope.js
*
* This CLI wrapper enables users to run comprehensive problem scope analysis through
* standard command-line interface, providing access to the full problem analysis
* functionality defined in problem-scope.js with proper argument handling and output formatting.
*/
const { main } = require('./problem-scope');
// Export main function for test compatibility
module.exports = { main };
// Run main if called directly
if (require.main === module) {
main().catch(error => {
console.error('Error running problem scope analysis:', error.message);
process.exit(1);
});
}