Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No --version option #81

Open
RobinBobin opened this issue Sep 28, 2018 · 1 comment
Open

No --version option #81

RobinBobin opened this issue Sep 28, 2018 · 1 comment

Comments

@RobinBobin
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants