0

我想通过提供所有参数来创建一个带有命令行的控制器,而无需提示任何问题。

我必须将哪些参数作为参数添加到命令行中以不提示我任何问题?

我的命令行:

lb4 控制器

输出:

? Controller class name: test
Controller Deneme will be created in src/controllers/test.controller.ts

? What kind of controller would you like to generate? REST Controller with CRUD functions
? What is the name of the model to use with this CRUD repository? Test
? What is the name of your CRUD repository? TestRepository
? What is the name of ID property? id
? What is the type of your ID? string
? Is the id omitted when creating a new instance? Yes
? What is the base HTTP path name of the CRUD operations? /tests

4

0 回答 0