Open RobinBobin opened 6 years ago
Documentation in README.md seems expired, when calling with the -h
option, this is the result:
PS C:\develop\tmp> react-native-create-library -h
Usage: cli [options] <name>
creates a React Native library for different platforms
Options:
--prefix [prefix] The prefix for the library (Default: `RN`) (default: "RN")
--override-prefix Overrides the prefix check and allows the name to begin with uppercase characters
--module-prefix [modulePrefix] The module prefix for the library (Default: `react-native`) (default: "react-native")
--package-identifier [packageIdentifier] (Android only!) The package name for the Android module (Default: `com.reactlibrary`) (default: "com.reactlibrary")
--namespace [namespace] (Windows only!) The namespace for the Windows module
(Default: The name as PascalCase)
--platforms <platforms> Platforms the library will be created for. (comma separated; default: `ios,android,windows`) (default: "ios,android,windows")
-h, --help output usage information
Seems that it does not have that option anymore.
Hello, there!
Your readme includes the
--version
option, butreact-native-create-library --version
giveserror: unknown option --version
, which is a bit frustrating, making wonder if the app was set-up correctly.Thank you.