@nomiclabs/buidler
Version:
Buidler is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
79 lines (76 loc) • 1.85 kB
text/typescript
import { BuidlerParamDefinitions } from "../../../types";
import * as types from "./argumentTypes";
export const BUIDLER_PARAM_DEFINITIONS: BuidlerParamDefinitions = {
network: {
name: "network",
defaultValue: undefined,
description: "The network to connect to.",
type: types.string,
isOptional: true,
isFlag: false,
isVariadic: false,
},
showStackTraces: {
name: "showStackTraces",
defaultValue: false,
description: "Show stack traces.",
type: types.boolean,
isFlag: true,
isOptional: true,
isVariadic: false,
},
version: {
name: "version",
defaultValue: false,
description: "Shows buidler's version.",
type: types.boolean,
isFlag: true,
isOptional: true,
isVariadic: false,
},
help: {
name: "help",
defaultValue: false,
description: "Shows this message, or a task's help if its name is provided",
type: types.boolean,
isFlag: true,
isOptional: true,
isVariadic: false,
},
emoji: {
name: "emoji",
defaultValue: process.platform === "darwin",
description: "Use emoji in messages.",
type: types.boolean,
isFlag: true,
isOptional: true,
isVariadic: false,
},
config: {
name: "config",
defaultValue: undefined,
description: "A Buidler config file.",
type: types.inputFile,
isFlag: false,
isOptional: true,
isVariadic: false,
},
verbose: {
name: "verbose",
defaultValue: false,
description: "Enables Buidler verbose logging",
type: types.boolean,
isFlag: true,
isOptional: true,
isVariadic: false,
},
maxMemory: {
name: "maxMemory",
defaultValue: undefined,
description: "The maximum amount of memory that Buidler can use.",
type: types.int,
isOptional: true,
isFlag: false,
isVariadic: false,
},
};