UNPKG

ircgrampp

Version:

IRCGram++ is a complexly simple Telegram <-> IRC Gateway

25 lines (19 loc) 616 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = _default; var _debug = _interopRequireDefault(require("debug")); var _plugins = require("../../plugins"); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } //import config from "../../config"; const debug = (0, _debug.default)('cli.plugins.sync'); function _default() { debug('Sync'); process.stdout.write(`Sync plugins...\n`); (0, _plugins.syncPlugins)().then(cant => { process.stdout.write(`${cant} synchorinized`); }).catch(e => { throw e; }); }