UNPKG

@kubiklabs/wasmkit

Version:

Wasmkit is a development environment to compile, deploy, test, run cosmwasm contracts on different networks.

18 lines (17 loc) 1.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const project_creation_1 = require("../internal/cli/project-creation"); const config_env_1 = require("../internal/core/config/config-env"); const task_names_1 = require("./task-names"); function default_1() { (0, config_env_1.task)(task_names_1.TASK_INIT, "Initializes a new project in the given directory") .addPositionalParam("projectName", "Name of project") .addOptionalPositionalParam("templateName", "Name of the template. If no template is specified, a default " + "template(counter) will be downloaded.") .addOptionalPositionalParam("destination", "Path to the directory in which you would like to initialize the project files. " + "If destination is\n not provided, this defaults to the current directory.\n") .setAction(async ({ projectName, templateName, destination }, _) => { await (0, project_creation_1.createProject)(projectName, templateName, destination); }); } exports.default = default_1;