@graphql-mesh/serve-cli
Version:
9 lines (8 loc) • 343 B
JavaScript
import { addCommand as addProxyCommand } from './proxy.js';
import { addCommand as addSubgraphCommand } from './subgraph.js';
import { addCommand as addSupergraphCommand } from './supergraph.js';
export const addCommands = (ctx, cli) => {
addSupergraphCommand(ctx, cli);
addSubgraphCommand(ctx, cli);
addProxyCommand(ctx, cli);
};