Skip to content

Prompt issue by creating model with "base" argument #7365

Description

@canmustu

Steps to reproduce

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

My config.json

{
  "base": "entity"
}

My controller creation CLI command:

lb4 model test --config config.json

Current Behavior

Prompt me to choose a base:

? Please select the model base class (Use arrow keys)
❯ Entity (A persisted model with an ID) 
  Model (A business domain object) 
  ----- Custom Models -----
  Test 

Expected Behavior

Not to prompt me about specified base.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions