@graphprotocol/graph-cli
Version:
CLI for building for and deploying to The Graph
27 lines (26 loc) • 2.16 kB
TypeScript
import { Command } from '@oclif/core';
export default class InitCommand extends Command {
static description: string;
static args: {
argSubgraphName: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
argDirectory: 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-subgraph': 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>;
}