react-native-create-library icon indicating copy to clipboard operation
react-native-create-library copied to clipboard

No --version option

Open RobinBobin opened this issue 5 years ago • 1 comments

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.

RobinBobin avatar Sep 28 '18 20:09 RobinBobin

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.

FibreFoX avatar Oct 11 '18 11:10 FibreFoX