@ayushmxxn/serenity-ui
Version:
A CLI tool for integrating Serenity UI components into your Next.js projects.
18 lines (13 loc) • 402 B
JavaScript
import { program } from 'commander';
import initCommand from '../commands/init.js';
import addCommand from '../commands/add.js';
program
.command('init')
.description('Initialize your project')
.action(initCommand);
program
.command('add [component]')
.description('Add a component to your project')
.action(addCommand);
program.parse(process.argv);