create-unibest
Version:
快速创建 unibest 项目的脚手架工具
13 lines (10 loc) • 331 B
JavaScript
import { dirname } from 'node:path'
import process from 'node:process'
import { fileURLToPath } from 'node:url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)
import('../dist/index.js').catch((err) => {
console.error('Failed to load CLI:', err)
process.exit(1)
})