#!/usr/bin/env node import { program } from 'commander' import { add } from './commands/add' import { init } from './commands/init' program.command('init').option('--skip ', 'Skip a specific step').action(init) program .command('add [component]') .option('--skip ', 'Skip') .action(async (component, options) => { await add({ component, ...options }) }) program.parse(process.argv)