Skip to content

[feat]: allow specifying project name from the cli with shadcn init #6998

@sramam

Description

@sramam

Feature description

Currently, it is not possible to create a new project completely from the CLI without using the default name:
"my-app" or "my-monorepo".

Ideally, one should be able to:
npx shadcn@canary init -t next-monorepo -y -c . -n app-name
To get a custom project going.

This prevents automated project creation - say from AI generation tools. Well at least without having to post facto adjust the name of the project.

Affected component/components

No response

Additional Context

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues and PRs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions