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
introduce -exact flag in the create-api command #287
Comments
The API name provided by the user to The problem I see here and that we discussed, is that if I specify the name That being said, this is the right name ... because it's more intuitive and looks better to call in Android or iOS or JS Two things I would suggest here :
i.e, something like $ ern create-api Weather
> To follow naming conventions we suggest suffixing the name of your API with Api
> Do you want to name the Api as WeatherApi rather than Weather ? Y/n If the module name provided by the user is already suffixed by
Does it makes sense ? |
BTW for point 2. the same should be applied for Just re-did the Getting Started guide and when I ran So let's make point 2. a specific issue. We should create an issue for point 2. ( |
@belemaire thanks |
currently the
create-api
appendsreact-native-.+-api
to the apiName. instead it would be nicer to have toexact
flagProblem :
ern create-api my-api
results inreact-native-my-api-api
Enhancement : using exact flag it could just be generated as package
my-api
@belemaire @deepueg thoughts?
The text was updated successfully, but these errors were encountered: