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

feat(get-schema): allow all or multiple projects and endpoints #93

Merged
merged 2 commits into from
Jan 3, 2018

Conversation

kbrandwijk
Copy link
Contributor

@kbrandwijk kbrandwijk commented Jan 3, 2018

  • fix: error on multiple -p (caused exception before)
  • fix: error on multiple -e (caused exception before)
  • feat: allow -p * and -e * to run get-schema on all projects and/or all endpoints. These arguments can be mix 'n match, so all of the following are valid:
    • graphql get-schema -p project1 -p project2 -e *
    • graphql get-schema -p project1 -p project2 -e dev -e test (only works if both projects have dev and test endpoints)
    • graphql get-schema -p * -e dev (only works if all projects have a dev endpoint)
    • graphql get-schema -p * -e *
    • graphql get-schema -p * (only works if all projects have only one endpoint)
  • feat: --all is shorthand for -p * -e *
  • improved console output and error handling

Closes #54

- fix: error on multiple `-p`
- fix: error on multiple `-e`
- feat: allow `-p *` and `-e *` to run get-schema on all projects and/or all endpoints
- improved console output and error handling

Closes Urigo#54
@kbrandwijk kbrandwijk merged commit 34a2187 into Urigo:master Jan 3, 2018
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

Successfully merging this pull request may close these issues.

graphql get-schema --all to refresh schemas for all projects/endpoints
1 participant