Search code examples
reactjscommand-line-interfaceangular-clicode-generation

Is there a good CLI tool for developing, scaffolding and maintaining React applications?


Create React App seems to be the go-to choice for quickly getting a new, green-field React application off the ground.

However, I would like to see a React CLI tool that can help the developer to develop on top of that foundation.

For example, quickly generating new components or automating complex code manipulations using something like Schematics.

Basically I'm looking for a React equivalent of the Angular CLI.

Does such a thing exist? If not, why not? Would it be a good candidate for a new open-source initiative?


Solution

  • I just discovered a project called hygen that fits the bill.

    It features a pretty light-weight CLI that can scaffold React components, but also allows some extensibility/flexibility through its template mechanism.