UNPKG

wangyj

Version:

wangyj 个人常用命令库

17 lines (16 loc) 880 B
#!/usr/bin/env node "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const commander_1 = require("commander"); const package_json_1 = __importDefault(require("../../package.json")); const printVersion_1 = require("../../utils/printVersion"); const index_1 = require("./command/index"); const program = new commander_1.Command(); program.name("vic").description("vscode css注入工具,用于在vscode中注入css样式"); // 查看项目模板列表 program.command("run").description("将workbench字体注入为Maple Mono Normal NF CN").action(index_1.inject); program.version((0, printVersion_1.printVersion)(package_json_1.default.version), "-V, --version", "输出版本号"); program.parse(process.argv);