Skip to content

[Prompts] - On invalid name - Abort creating new project in the beginning #14994

@eladcandroid

Description

@eladcandroid

🚀 Feature request

Command (mark with an x)

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

Description

Trying to create a new project with invalid name, choose a project without a router, and CSS style system, and finally get the message:

Project name "my-app-8-check" is not valid. New project names must start with a letter, and must contain only alphanumeric characters or dashes. When add
ing a dash the segment after the dash must also start with a letter.

Describe the solution you'd like

Show this message and abort the CLI wizard in the beginning, before choosing any option...

Describe alternatives you've considered

Have you considered any alternative solutions or workarounds?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions