Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor @react-native-windows/cli into command folders #12107

Merged
merged 6 commits into from
Sep 6, 2023

Conversation

jonthysell
Copy link
Contributor

@jonthysell jonthysell commented Sep 5, 2023

Description

The CLI package has grown since its original run-windows focus.

This PR refactors every top-level command run-windows, autolink-windows, and codegen-windows into a new commands folder, and breaks out the options for each command into its own file.

Type of Change

  • New feature (non-breaking change which adds functionality)

Why

As part of the prep for creating an init-windows command (see #11920) I wanted to make it easier and more obvious as to "where" to put new commands for the CLI, without cluttering future PRs.

What

This PR refactors every top-level command run-windows, autolink-windows, and codegen-windows into a new commands folder, and breaks out the options for each command into its own file.

Screenshots

N/A

Testing

Verified tests still run.

Changelog

Should this change be included in the release notes: no

Microsoft Reviewers: Open in CodeFlow

The CLI package has grown since its original `run-windows` focus.

This PR refactors every top-level command `run-windows`, `autolink-windows`, and `codegen-windows` into a new commands folder, and breaks out the options for each command into its own file.
@jonthysell jonthysell requested review from a team as code owners September 5, 2023 21:02
@jonthysell jonthysell enabled auto-merge (squash) September 5, 2023 23:52
@jonthysell jonthysell merged commit 01631f2 into microsoft:main Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants