{
  "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
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/hardhat.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "compile"
        ],
        "label": "Compile contracts",
        "description": "Compile the entire project.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/hardhat.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "force",
            "label": "Force",
            "description": "Force compilation ignoring cache.",
            "type": "boolean",
            "option": [
              "--force"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "quiet",
            "label": "Quiet",
            "type": "boolean",
            "option": [
              "--quiet"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "compile",
            "label": "Compile",
            "fields": [
              "force",
              "quiet"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "force",
              "quiet"
            ]
          }
        ]
      },
      {
        "path": [
          "test"
        ],
        "label": "Run tests",
        "description": "Run mocha tests.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/hardhat.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "no_compile",
            "label": "Skip compile",
            "type": "boolean",
            "option": [
              "--no-compile"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "test",
            "label": "Test",
            "fields": [
              "no_compile"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "no_compile"
            ]
          }
        ]
      },
      {
        "path": [
          "node"
        ],
        "label": "Start local node",
        "description": "Start a JSON-RPC server on top of Hardhat Network.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/hardhat.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "port",
            "label": "Port",
            "description": "Default 8545.",
            "type": "integer",
            "option": [
              "--port"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "hostname",
            "label": "Host to bind",
            "type": "string",
            "option": [
              "--hostname"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "fork",
            "label": "Fork from URL",
            "type": "string",
            "option": [
              "--fork"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "fork_block",
            "label": "Fork block number",
            "type": "integer",
            "option": [
              "--fork-block-number"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "node",
            "label": "Start node",
            "fields": [
              "port",
              "hostname"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "port",
              "hostname"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "fork",
              "fork_block"
            ]
          }
        ]
      }
    ]
  }
}
