Zap123 / fml

boilerplate generator for cqrs commands in nestjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fml

fml is a boilerplate generator that I use in my day to day work to reduce the amount of time that I spend writing boilerplate code. In the current form this cli command generates CQRS command/query and all necessary classes for Nestjs while adhering to the nomenclature I generally use. With respect to other similar projects this one uses ts-morph to manipulate the Abstract Syntax Tree instead of using template substitution, this makes it more flexible in more complex use cases where the boilerplate needs to read variables and change existing classes.

This script can be used running "fml cqrs" inside the project folder and it will create the command/query class and it will expose it and import it in nestjs dependency injection.

Screenshot

About

boilerplate generator for cqrs commands in nestjs


Languages

Language:TypeScript 94.1%Language:JavaScript 5.9%