UNPKG

@ton-contests/tolk-utils

Version:
17 lines (16 loc) 624 B
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const commander_1 = require("commander"); const build_js_1 = require("./build.js"); commander_1.program .name("ton-contests-tolk") .description("Tolk utilities for TON Contests plaform"); commander_1.program .command("build") .description("Build Tolk projects specified in tolk.config.json file") .option("--root <string>", "path to the project root relative to process.cwd()", "./") .action(async (options) => { await (0, build_js_1.build)({ root: options.root }); }); commander_1.program.parse();