UNPKG

@graphprotocol/graph-cli

Version:

CLI for building for and deploying to The Graph

26 lines (25 loc) 2.02 kB
import { Command } from '@oclif/core'; export default class InitCommand extends Command { static description: string; static args: { subgraphName: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>; directory: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>; }; static flags: { help: import("@oclif/core/interfaces").BooleanFlag<void>; protocol: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; node: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; 'from-contract': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; 'from-example': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; 'contract-name': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; 'index-events': import("@oclif/core/interfaces").BooleanFlag<boolean>; 'skip-install': import("@oclif/core/interfaces").BooleanFlag<boolean>; 'skip-git': import("@oclif/core/interfaces").BooleanFlag<boolean>; 'start-block': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; abi: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; spkg: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; network: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>; ipfs: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>; }; run(): Promise<never>; }