Skip to content

Enhance CLI validation #6392

Description

@mrmckeb

Is this a bug report?

No, we've reverted #6080, but want to continue this work in the near future.

Steps to Reproduce

Create an application using npx create-react-app option1 option2 option3. A project called option1 is created, and other arguments are ignored without user feedback.

Expected Behavior

When creating an application with npx create-react-app [options], I should be warned if an option doesn't exist or is invalid.

Actual Behavior

When creating an application with npx create-react-app [options], I can pass in non-existent arguments.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions