hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
19 lines • 638 B
JavaScript
import { ArgumentType } from "../../../types/arguments.js";
import { task } from "../../core/config.js";
const hardhatPlugin = {
id: "builtin:flatten",
tasks: [
task("flatten")
.setDescription("Flatten and print contracts and their dependencies")
.addVariadicArgument({
name: "files",
defaultValue: [],
description: "An optional list of files to flatten",
type: ArgumentType.FILE,
})
.setAction(async () => import("./task-action.js"))
.build(),
],
};
export default hardhatPlugin;
//# sourceMappingURL=index.js.map