Skip to content

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

Open
@lanmingle

Description

现有的命令参数依旧需要交互使用,现有的文档: 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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions