#!/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);
}
