frostney / react-native-create-library

:notebook: Command line tool to create a React Native library with a single command
MIT License
1.45k stars 113 forks source link

--generate-example not working? #63

Closed jgfidelis closed 6 years ago

jgfidelis commented 6 years ago

I ran react-native-create-library MyFancyLibrary --generate-example "true" and it did not create an Example app, how should it be used?

I also tried --generate-example true

hyochan commented 6 years ago

In addition to this, if you check the commands with -h option, --generate-example won't appear.

sgong-pdftron commented 6 years ago

FYI directly replace the npm installed version with the cloned version will work.

maicki commented 6 years ago

@jgfidelis @dooboolab Currently this feature is only available on master and not in the release version yet. Can you please try out master and let us know if this will work. Furthermore there is currently a PR out that improves the example generation, best is to create you example project from that branch: https://github.com/frostney/react-native-create-library/pull/75

maicki commented 6 years ago

As said above this feature is only available on master on at this time and after #75 landed it should be improved too. We are planning to release a new version pretty soon.

brodycj commented 5 years ago

Too bad it is still not released (#78) now that #75 has landed.