hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
24 lines (20 loc) • 572 B
text/typescript
import type { HardhatPlugin } from "../../../types/plugins.js";
import { task } from "../../core/config.js";
const hardhatPlugin: HardhatPlugin = {
id: "builtin:telemetry",
tasks: [
task("telemetry", "Display and modify telemetry settings")
.addFlag({
name: "enable",
description: "Enable telemetry",
})
.addFlag({
name: "disable",
description: "Disable telemetry",
})
.setAction(async () => import("./task-action.js"))
.build(),
],
npmPackage: "hardhat",
};
export default hardhatPlugin;