node-djiparsetxt
Version:
command-line application that reads a DJI '.txt' file and outputs a json.
23 lines • 723 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Command = void 0;
var Command = /** @class */ (function () {
function Command(serviceMan) {
this.serviceMan = serviceMan;
this._logs = [];
}
Command.prototype.log = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var printed = args.map(function (val) { return val.toString(); });
this._logs.push(printed.join(" "));
};
Command.prototype.getLog = function () {
return this._logs.join("\n");
};
return Command;
}());
exports.Command = Command;
//# sourceMappingURL=Command.js.map