CLI
fring generate
Generates application modules and resources inside your project.
Usage
fring generate <type> <name>Specify what you want to generate and provide a name.
Generate a Module
fring generate module usersThis creates a new feature module using Fring's recommended structure.
Generated Structure
src/
└── modules/
└── users/
├── api/
├── constants/
├── hooks/
├── pages/
├── store/
├── types/
├── ui/
└── index.tsEach generated module follows the same structure, making it easier to organize larger applications.
Available Generators
| Generator | Status |
|---|---|
| module | Available |
| page | Coming Soon |
| service | Coming Soon |
| hook | Coming Soon |