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.
Steps to reproduce
I specified an option (
controllerType) to create controller not to prompt me the question but It still prompts me forcontrollerType.I tried this option by passing config file and other way which is
--controllerType RESTway but same behaviour.My
config.jsonMy controller creation
CLI command:Current Behavior
Prompt me to choose a controller type:
Expected Behavior
Not to prompt me about specified controller type.