typeorm entity:create

Generates a new entity

Options

NameDescription
--helpShow help for command
-c, --connection <connection>Name of the connection on which to run a query
-n, --name <entity>
  • Required ✳
-d, --dir <directory>Directory where entity should be created
-f, --config <file>Name of the file with connection configuration
-v, --versionShow the version