Skip to content

Conversation

@lgk-bsw
Copy link
Member

@lgk-bsw lgk-bsw commented Apr 8, 2025

Goal of this PR is a Blue Blazor CLI. It should work similar to shadcn CLI.

As of right now, you can:

  • List components
  • Add components

It runs on top of dotnet CLI.

By default the CLI looks for code inside of the Blue Web repository inside the "BlueBlazor/Components" directory. The repository will be cloned to a temporary folder and the files will be copied to the desired folder, by default the current folder.

With the params --repo you can set a custom repository, with --source the source directory. With --target you can set the target directory.

  • When component already exists, ask if it should be overwritten or not.
  • Take care of namespace. Overwrite namespace in code with namespace of current project directory.
  • Dependencies

@lgk-bsw lgk-bsw changed the title BLUE-18 With help of ChatGPT created CLI BLUE-18 Blue Blazor CLI Apr 8, 2025
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

Successfully merging this pull request may close these issues.

2 participants