UNPKG

@graphprotocol/graph-cli

Version:

CLI for building for and deploying to The Graph

28 lines (27 loc) 1.52 kB
import { Command } from '@oclif/core'; export default class PublishCommand extends Command { static description: string; static args: { 'subgraph-manifest': import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>; }; static flags: { help: import("@oclif/core/interfaces").BooleanFlag<void>; 'subgraph-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; 'protocol-network': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>; ipfs: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>; 'ipfs-hash': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; 'webapp-url': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>; 'api-key': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; }; /** * Prompt the user to open up the browser to continue publishing the subgraph */ publishWithBrowser({ ipfsHash, webapp, subgraphId, protocolNetwork, apiKey, }: { ipfsHash: string; webapp: string; subgraphId: string | undefined; protocolNetwork: string | undefined; apiKey: string | undefined; }): Promise<void>; run(): Promise<void>; }