UNPKG

@rawcmd/core

Version:
14 lines 452 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class CommandLink { constructor(recipe) { recipe = Object.assign({}, recipe); this.name = recipe.name || null; this.url = recipe.url || null; } clone(recipe) { return new this.constructor(Object.assign({ name: this.name, url: this.url }, recipe)); } } exports.CommandLink = CommandLink; //# sourceMappingURL=command-link.js.map