Skip to content

ng generate can't support unknown options #16510

Closed
@cipchk

Description

@cipchk

🚀 Feature request

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [x] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Description

Due merge of #13480, ng g no longer support unknown options. In fact, ng g support unknown options, which helps us provide users with more customizable operations, such as:

ng g ng-alain:tpl <name> --swaggerPath=/my/pet

The swaggerPath is a parameter required by the user, but it's not a fixed value and can't be defined in the Schema.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions