id = "hardhat" name = "Hardhat" description = "Ethereum development environment." homepage = "https://hardhat.org" executables = ["hardhat"] [commands] format = 1 label = "Hardhat" description = "Compile, test and run a local node. Global options such as --network are left out." quality = "ai-draft" base = "fig:hardhat" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/hardhat.ts" license = "MIT" [[commands.subcommand]] path = ["compile"] label = "Compile contracts" description = "Compile the entire project." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/hardhat.ts" license = "MIT" [[commands.subcommand.field]] id = "force" label = "Force" description = "Force compilation ignoring cache." type = "boolean" option = ["--force"] sources = ["fig"] [[commands.subcommand.field]] id = "quiet" label = "Quiet" type = "boolean" option = ["--quiet"] sources = ["fig"] [[commands.subcommand.task]] id = "compile" label = "Compile" fields = ["force", "quiet"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["force", "quiet"] [[commands.subcommand]] path = ["test"] label = "Run tests" description = "Run mocha tests." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/hardhat.ts" license = "MIT" [[commands.subcommand.field]] id = "no_compile" label = "Skip compile" type = "boolean" option = ["--no-compile"] sources = ["fig"] [[commands.subcommand.task]] id = "test" label = "Test" fields = ["no_compile"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["no_compile"] [[commands.subcommand]] path = ["node"] label = "Start local node" description = "Start a JSON-RPC server on top of Hardhat Network." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/hardhat.ts" license = "MIT" [[commands.subcommand.field]] id = "port" label = "Port" description = "Default 8545." type = "integer" option = ["--port"] sources = ["fig"] [[commands.subcommand.field]] id = "hostname" label = "Host to bind" type = "string" option = ["--hostname"] sources = ["fig"] [[commands.subcommand.field]] id = "fork" label = "Fork from URL" type = "string" option = ["--fork"] sources = ["fig"] [[commands.subcommand.field]] id = "fork_block" label = "Fork block number" type = "integer" option = ["--fork-block-number"] sources = ["fig"] [[commands.subcommand.task]] id = "node" label = "Start node" fields = ["port", "hostname"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["port", "hostname"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["fork", "fork_block"]