solid-create
This is a tool to build SOLID projects
Installation
Either through cloning with git or by using npm (the recommended way):
npm install -g @isacarcanjo/solid-create --force
Usage
For CLI options, use the -h
(or --help
) argument:
solid-create wraps your application, so you can pass all the arguments you would normally pass to your app:
solid -u [name of useCase]
solid -e [name of entitie] [field1] [field2] ...
Examples:
solid -u CreateUser
solid -e User name email password
You can too make entity with attributes types, using Typescript basic types adding :
after the attribute
solid -e User id:number name:string email:string password:string isAdmin:boolean
Author: https://github.com/isacarcanjo