mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-18 04:24:19 +08:00
add create-react-app --help info for local file path --scripts-version support (#4015)
* add `create-react-app --help` info for local file path --scripts-version * make example path `../my-react-scripts` for local file path --help info
This commit is contained in:
@@ -89,6 +89,11 @@ const program = new commander.Command(packageJson.name)
|
||||
'my-react-scripts'
|
||||
)}`
|
||||
);
|
||||
console.log(
|
||||
` - a local path relative to the current working directory: ${chalk.green(
|
||||
'file:../my-react-scripts'
|
||||
)}`
|
||||
);
|
||||
console.log(
|
||||
` - a .tgz archive: ${chalk.green(
|
||||
'https://mysite.com/my-react-scripts-0.8.2.tgz'
|
||||
|
||||
Reference in New Issue
Block a user