UNPKG

pact-toolbox

Version:

A tool to help you build, test and deploy your Pact smart contracts

27 lines (25 loc) 580 B
import { defineCommand } from "citty"; import { initToolbox } from "@pact-toolbox/init"; //#region src/commands/init.ts const initCommand = defineCommand({ meta: { name: "init", description: "Init kadena toolbox in your current project" }, args: { cwd: { type: "string", description: "path to cwd", default: process.cwd() }, contractsDir: { type: "string", description: "path to contract folder", default: "pact" } }, run: async ({ args }) => initToolbox(args) }); //#endregion export { initCommand }; //# sourceMappingURL=init-C29OMETy.js.map