Closed jgfidelis closed 6 years ago
In addition to this, if you check the commands with -h
option, --generate-example
won't appear.
FYI directly replace the npm installed version with the cloned version will work.
@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
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.
Too bad it is still not released (#78) now that #75 has landed.
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