UNPKG

@graphql-mesh/compose-cli

Version:
23 lines (22 loc) 791 B
import 'dotenv/config'; import { Command } from '@commander-js/extra-typings'; import type { Logger } from '@graphql-mesh/types'; declare let program: Command<[], { configPath?: string; subgraph?: string; output?: string; }>; export interface RunOptions extends ReturnType<typeof program.opts> { /** @default new DefaultLogger() */ log?: Logger; /** @default Mesh Compose */ productName?: string; /** @default compose a GraphQL federated schema from any API service(s) */ productDescription?: string; /** @default mesh-compose */ binName?: string; /** @default undefined */ version?: string; } export declare function run({ log: rootLog, productName, productDescription, binName, version, }: RunOptions): Promise<void | never>; export {};