We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main.ts
#!/usr/bin/env node // 命令行 import { program } from 'commander' import pkg from '../package.json' import welcome from './welcome.js' // 输入-v, --version查看当前工具的版本 program.version(pkg.version, '-v, --version').description('查看当前版本号') program .command('create') .description('create template (创建模板)') .action(async () => { // 引入欢迎👏页面 await welcome() await import('./create.js') }) program.parse(process.argv)
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
12ccc15
No branches or pull requests
main.ts
The text was updated successfully, but these errors were encountered: