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

No --version option #81

Open RobinBobin opened 6 years ago

RobinBobin commented 6 years ago

Hello, there!

Your readme includes the --version option, but react-native-create-library --version gives error: unknown option --version, which is a bit frustrating, making wonder if the app was set-up correctly.

Thank you.

FibreFoX commented 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.