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:
Albert Still
2018-03-26 12:08:16 +11:00
committed by Joe Haddad
parent 8db5e336b1
commit 06dd17e21b

View File

@@ -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'