UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

58 lines 1.55 kB
import { globalFlag, globalOption } from "../config.js"; import { ArgumentType } from "../types/arguments.js"; export const BUILTIN_GLOBAL_OPTIONS_DEFINITIONS = new Map([ [ "config", { pluginId: "builtin", option: globalOption({ name: "config", description: "A Hardhat config file.", type: ArgumentType.STRING_WITHOUT_DEFAULT, defaultValue: undefined, }), }, ], [ "help", { pluginId: "builtin", option: globalFlag({ name: "help", shortName: "h", description: "Show this message, or a task's help if its name is provided.", }), }, ], [ "init", { pluginId: "builtin", option: globalFlag({ name: "init", description: "Initializes a Hardhat project.", }), }, ], [ "showStackTraces", { pluginId: "builtin", option: globalFlag({ name: "showStackTraces", description: "Show stack traces (always enabled on CI servers).", }), }, ], [ "version", { pluginId: "builtin", option: globalFlag({ name: "version", description: "Show the version of hardhat.", }), }, ], ]); //# sourceMappingURL=builtin-global-options.js.map