{
"name": "hardhat",
"description": "Ethereum development environment",
"subcommands": [
{
"name": "accounts",
"description": "Prints the list of accounts"
},
{
"name": "check",
"description": "Check whatever you need"
},
{
"name": "clean",
"description": "Clears the cache and deletes all artifacts",
"options": [
{
"names": [
"--global"
],
"description": "Clear the global cache"
}
]
},
{
"name": "compile",
"description": "Compiles the entire project, building all artifacts",
"options": [
{
"names": [
"--force"
],
"description": "Force compilation ignoring cache"
},
{
"names": [
"--quiet"
],
"description": "Makes the compilation process less verbose"
}
]
},
{
"name": "console",
"description": "Opens a hardhat console",
"options": [
{
"names": [
"--no-compile"
],
"description": "Don't compile before running this task"
}
]
},
{
"name": "flatten",
"description": "Flattens and prints contracts and their dependencies"
},
{
"name": "help",
"description": "Prints this message"
},
{
"name": "node",
"description": "Starts a JSON-RPC server on top of Hardhat Network",
"options": [
{
"names": [
"--fork"
],
"description": "The URL of the JSON-RPC server to fork from"
},
{
"names": [
"--fork-block-number"
],
"description": "The block number to fork from"
},
{
"names": [
"--hostname"
],
"description": "The host to which to bind to for new connections"
},
{
"names": [
"--port"
],
"description": "The port on which to listen for new connections (default: 8545)"
}
]
},
{
"name": "run",
"description": "Runs a user-defined script after compiling the project",
"options": [
{
"names": [
"--no-compile"
],
"description": "Don't compile before running this task"
}
]
},
{
"name": "test",
"description": "Runs mocha tests",
"options": [
{
"names": [
"--no-compile"
],
"description": "Don't compile before running this task"
}
]
}
],
"options": [
{
"names": [
"config"
],
"description": "A Hardhat config file"
},
{
"names": [
"--emoji"
],
"description": "Use emoji in messages"
},
{
"names": [
"--max-memory"
],
"description": "The maximum amount of memory that Hardhat can use"
},
{
"names": [
"--help"
],
"description": "Shows the help text or task's help if name is provided",
"takes_arg": true,
"arg": {
"name": "task"
}
},
{
"names": [
"--network"
],
"description": "The network to connect to"
},
{
"names": [
"---show-stack-traces"
],
"description": "Show stack traces"
},
{
"names": [
"--verbose"
],
"description": "Enables Hardhat verbose logging"
},
{
"names": [
"--version"
],
"description": "Shows hardhat's version"
}
]
}