jamonholmgren / react-native-colo-loco

Colocate your native modules and components with your JavaScript/JSX files.
292 stars 12 forks source link

Add --help argument and fix `npm run` in README #5

Closed a7medev closed 2 years ago

a7medev commented 2 years ago

New Features

--help Argument

Add a --help (or -h) argument that prints a usage guide with all the command and options of the script NOTE: I pre-added the --no-git-check command in this PR #4, If you don't want it, kindly leave a comment.

Change npm run install-colo-loco in README to npx install-colo-loco

If you're using npm you can't actually use npm run some-package-bin unless it's added as a script in the app's package.json, instead you can use npx install-colo-loco.