@rawcmd/core
Version:
Rawcmd core package.
14 lines • 452 B
JavaScript
;
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