UNPKG

wgc

Version:

The official CLI tool to manage the GraphQL Federation Platform Cosmo

13 lines 553 B
import { Command } from 'commander'; import generateCommand from './commands/generate.js'; import initCommand from './commands/init.js'; import listTemplatesCommand from './commands/list-templates.js'; export default (opts) => { const command = new Command('grpc-service'); command.description('Manage protobuf schemas for remote gRPC services'); command.addCommand(generateCommand(opts)); command.addCommand(initCommand(opts)); command.addCommand(listTemplatesCommand(opts)); return command; }; //# sourceMappingURL=index.js.map