types-ddd icon indicating copy to clipboard operation
types-ddd copied to clipboard

types-ddd-cli

Open 4lessandrodev opened this issue 3 years ago • 2 comments

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

4lessandrodev avatar Feb 19 '22 16:02 4lessandrodev

https://github.com/4lessandrodev/types-ddd-cli

4lessandrodev avatar Feb 19 '22 17:02 4lessandrodev

Published beta version for tests

https://www.npmjs.com/package/types-ddd-cli

4lessandrodev avatar Feb 21 '22 20:02 4lessandrodev

New Version with full resources

print

4lessandrodev avatar Sep 20 '22 04:09 4lessandrodev