Skip to content

Commit

Permalink
[core] GraphQL: Specify default generation in help text
Browse files Browse the repository at this point in the history
  • Loading branch information
kmelve authored and saasen committed Feb 27, 2020
1 parent ba6336e commit 6079049
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ const helpText = `
Options
--dataset <dataset> Deploy API for the given dataset
--tag <tag> Deploy API to given tag (defaults to 'default')
--generation <generation> API generation to deploy
--generation <generation> API generation to deploy (defaults to 'v2')
--playground Deploy a GraphQL playground for easily testing queries (public)
--no-playground Skip playground prompt (do not deploy a playground)
--force Deploy API without confirming breaking changes
Examples
sanity graphql deploy
sanity graphql deploy --playground
sanity graphql deploy --generation v2
sanity graphql deploy --generation v1
sanity graphql deploy --dataset staging --no-playground
sanity graphql deploy --dataset staging --tag next --no-playground
sanity graphql deploy --no-playground --force
Expand Down

0 comments on commit 6079049

Please sign in to comment.