1.1.2 • Published 10 months ago

rtfc-cli v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Rtfc CLI

A command-line interface (CLI) tool for generating React components with ease.

npm version GitHub stars GitHub forks

Installation

To use the Rtfc CLI, you can either install it globally or use it with npx without global installation.

Global Installation

npm install -g rtfc-cli

Usage with npx

npx rtfc-cli generate <componentName>e
npx rtfc-cli g Home --class # for class components

Replace <componentName> with the desired name of your React component.

Commands

Generate

Generate a new React component.

rtfc-cli g <componentName>

Alias: generate

Features

  • Automatic detection of project structure (root directory and TypeScript).
  • Generates React components with associated CSS modules.
  • Consistent naming conventions for components.
  • Easily customizable and extensible.

Contributing

Contributions are welcome! Feel free to open issues and submit pull requests on the GitHub repository.

Roadmap

The React CLI is actively maintained and will continue to be improved with new features and enhancements. Here are some planned updates:

  • Support for additional component templates.
  • Advanced customization options.
  • Support for different CSS-in-JS libraries.

License

This project is licensed under the MIT License.


Note: If you prefer not to install the React CLI globally, you can use it with npx by running npx rtfc-cli generate <componentName> or npx rtfc-cli g <componentName> without the need for global installation.

For more information and detailed usage instructions, please refer to the GitHub repository.

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.5

10 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago