Skip to content
New issue

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

请求添加一些额外的命令行参数 #21

Open
lanmingle opened this issue Nov 15, 2024 · 0 comments
Open

请求添加一些额外的命令行参数 #21

lanmingle opened this issue Nov 15, 2024 · 0 comments

Comments

@lanmingle
Copy link

现有的命令参数依旧需要交互使用,现有的文档: https://lib.rsbuild.dev/guide/start/quick-start#quick-creation

Usage: create-rslib [options]

Options:

  -h, --help       display help for command
  -d, --dir        create project in specified directory
  -t, --template   specify the template to use
  --tools          select additional tools (biome, eslint, prettier)
  --override       override files in target directory

请求添加一些可以选择不交互模式,如:--name / -n 名称,-lang / -l = ts 等等

# 一键创建项目
npm create rslib@latest -n mydemo -l ts --tools biome --tools storybook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant