Loopbackjs 环回4通过命令行创建控制器,无需提示问题

Loopbackjs 环回4通过命令行创建控制器,无需提示问题,loopbackjs,loopback4,loopback3,Loopbackjs,Loopback4,Loopback3,我想通过提供所有参数来创建一个带有命令行的控制器,而不需要任何提示 为了不提示我任何问题,我必须将哪些参数作为参数添加到命令行中? 我的命令行: 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 Cont

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

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

我的命令行:

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