feat(cli): init command

This commit is contained in:
Benjamin Canac
2024-03-13 16:30:38 +01:00
parent 9a42fa415f
commit cdd9b178f3
8 changed files with 208 additions and 1 deletions

14
cli/index.mjs Normal file
View File

@@ -0,0 +1,14 @@
import { defineCommand, runMain } from 'citty'
import init from './commands/init.mjs'
const main = defineCommand({
meta: {
name: 'nuxtui',
description: 'Nuxt UI CLI'
},
subCommands: {
init
}
})
runMain(main)