Skip to content

Commit

Permalink
[core] Include GraphQL commands in CLI help output (#1597)
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Nov 19, 2019
1 parent cac9c29 commit 9e36787
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Expand Up @@ -4,6 +4,5 @@ export default {
name: 'undeploy',
group: 'graphql',
description: 'Remove a deployed GraphQL API',
action: lazyRequire(require.resolve('../../actions/graphql/deleteApiAction')),
hideFromHelp: true
action: lazyRequire(require.resolve('../../actions/graphql/deleteApiAction'))
}
Expand Up @@ -18,6 +18,5 @@ export default {
group: 'graphql',
description: 'Deploy a GraphQL API from the current Sanity schema',
action: lazyRequire(require.resolve('../../actions/graphql/deployApiAction')),
helpText,
hideFromHelp: true
helpText
}
3 changes: 1 addition & 2 deletions packages/@sanity/core/src/commands/graphql/graphqlGroup.js
Expand Up @@ -2,6 +2,5 @@ export default {
name: 'graphql',
signature: '[COMMAND]',
isGroupRoot: true,
description: 'Interact with GraphQL APIs',
hideFromHelp: true
description: 'Interact with GraphQL APIs'
}

0 comments on commit 9e36787

Please sign in to comment.