types-ddd
types-ddd copied to clipboard
types-ddd-cli
Types-ddd cli
Build a cli to auto generate domain files
Requires npm and nodejs installed
Example how it will works
A cli to works with types-ddd lib. A domain driven design library.
Initial resources
- [x] value-object
- [x] entity
- [x] aggregate
- [x] mapper
- [ ] domain-event
Summary
-g: generate-n: name-t: type-p: path
Installation
$ npm i types-ddd-cli -g
Help
$ types-ddd --help
OR
$ types-ddd -h
Generate
$ types-ddd -g value-object -n example -t string -p src/domain/
OR
$ types-ddd -g value-object -n example
https://github.com/4lessandrodev/types-ddd-cli
Published beta version for tests
https://www.npmjs.com/package/types-ddd-cli
New Version with full resources
