Files
speckle-server/packages/server/modules/cli/commands/graphql.ts
T
2023-05-30 12:35:15 +03:00

14 lines
330 B
TypeScript

import { noop } from 'lodash'
import { CommandModule } from 'yargs'
const command: CommandModule = {
command: 'graphql',
describe: 'GraphQL actions - dumping schema to file etc.',
builder(yargs) {
return yargs.commandDir('graphql', { extensions: ['js', 'ts'] }).demandCommand()
},
handler: noop
}
export = command