Skip to content

Commit 6408c3e

Browse files
authored
Update 0002-Extracted-Command-Line-Tools.md
1 parent 14b0739 commit 6408c3e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

proposals/0002-Extracted-Command-Line-Tools.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author:
55
date: 2018-08-10
66
---
77

8-
# RFC0000: Extract CLI from Core
8+
# RFC0003: Extract CLI from Core
99

1010
## Summary
1111

@@ -33,7 +33,13 @@ Extracting it out would be the first step to make React Native CLI agnostic, all
3333

3434
## Detailed design
3535

36-
The goal of this proposal is to extract the CLI out of the React Native repository into a separate project, called `react-native-cli`, that would become a direct dependency of React Native. It is similar to the extraction process of `Metro`.
36+
The goal of this proposal is to extract the CLI out of the React Native repository into a separate project, called `react-native-cli`, that would become a direct dependency of React Native. It is similar to the extraction process of `Metro`.
37+
38+
That includes moving out two folders:
39+
- `local-cli`, where business logic of the CLI and all available commands are located
40+
- `react-native-cli`, where global package for running `react-native init` lives
41+
42+
Development of these two packages would take place under one repository.
3743

3844
Since `metro` isn't required anywhere else outside of `local-cli` folder (where the business logic of the CLI is located), it would be removed from the React Native dependencies and become the depdendency of newly created `react-native-cli`.
3945

0 commit comments

Comments
 (0)