UNPKG

@regele/devtools

Version:

A collection of developer utilities for code processing and text analysis

18 lines (14 loc) 385 B
#!/usr/bin/env node try { const { createCLI } = require('../dist/cli/cli'); // Create and execute the CLI program const program = createCLI(); program.parse(process.argv); // If no arguments provided, show help if (process.argv.length <= 2) { program.help(); } } catch (error) { console.error('Error executing command:', error.message); process.exit(1); }