Skip to content

Prompt issue by creating controller with specified config #7363

Description

@canmustu

Steps to reproduce

I specified an option ( controllerType ) to create controller not to prompt me the question but It still prompts me for controllerType.
I tried this option by passing config file and other way which is --controllerType REST way but same behaviour.

My config.json

{
  "controllerType": "REST"
}

My controller creation CLI command:

lb4 controller test --config config.json

Current Behavior

Prompt me to choose a controller type:

? What kind of controller would you like to generate? (Use arrow keys)
❯ Empty Controller 
  REST Controller with CRUD functions 

Expected Behavior

Not to prompt me about specified controller type.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions