-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Allow name of API to be set from CLI #8
Comments
Hey Mario, good news! I built that feature in a couple of days ago :-) It's in the latest npm package. You could just run |
I'll leave this open to track that. I'm open to any other feedback as well! |
That's good news! It's been a couple of days since I updated graphqelm. Documentation of the feature in the readme would be nice so that future users can discover it. Correcting the capitalisation would be a nice to have. |
I improved the usage instructions in the README and included the |
Alright, I published a fix for this! I went with the simplest possible approach: check that the format is good as is with a regex check. I think that should be a pretty good UX, no mystery about certain rules for transforming it for the user to think about or to potentially introduce bugs. dillonkearns/graphqelm@2daa4ce Closing this out. |
This is a feature request for allowing users of graphqelm CLI to set the name of the API with an optional flag.
For example:
$ graphqelm https://graphqelm.herokuapp.com/api --name swapi
This would apply the
--name
argument to:Swapi
as opposed toApi
.module Swapi.Enum.Episode exposing (..)
The text was updated successfully, but these errors were encountered: