The Project Builder CLI is a versatile command-line interface tool designed to streamline and enhance the development workflow for Angular developers. By providing the capability to execute Angular schematics outside of an Angular workspace, create new Angular schematics project libraries, and automate complex project setups, this CLI tool offers a comprehensive solution for modern development challenges.
-
Execute Angular Schematics Anywhere: Run
builder exec [collection-name] [schematics-name]
from any directory, eliminating the need for a specific Angular workspace context. This feature enhances flexibility and efficiency in utilizing Angular schematics across diverse projects. -
Scaffolding for Schematics Libraries: Easily create ready-to-publish Angular schematics project libraries with the command
builder new [project-name] [author]
. The CLI sets up all necessary configurations, allowing you to focus on developing your schematics. -
Automated Complex Project Setup: Leverage the CLI's ability to orchestrate complex project setups with a single command. It integrates seamlessly with existing CLI tools like Angular CLI, NestJS CLI, or NX CLI to create the workspace, followed by executing defined schematics through Project Builder, streamlining the project initialization process.
- Node.js version 20 or higher.
Install the Project Builder CLI globally using npm to make it accessible from anywhere in your system:
npm i -g @pbuilder/cli
To get started, you can invoke the help command to explore the CLI's capabilities:
builder --help
We welcome contributions from the community! If you're interested in enhancing the Project Builder CLI, please review our CONTRIBUTING.md guide for details on the contribution process, coding standards, and how to submit pull requests.
Check the miro link to check: Flow diagram