@hkvstore/taco-cli
Version:
taco-cli is a command-line interface for rapid Apache Cordova development (forked from Microsoft taco-cli)
38 lines (36 loc) • 1.21 kB
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
/// <reference path="../../typings/tacoUtils.d.ts" />
;
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var tacoUtility = require("taco-utils");
var commands = tacoUtility.Commands;
var telemetry = tacoUtility.Telemetry;
/**
* feedback
*
* handles "taco feedback"
*/
var Feedback = (function (_super) {
__extends(Feedback, _super);
function Feedback() {
_super.apply(this, arguments);
this.name = "feedback";
}
Feedback.prototype.parseArgs = function (args) {
return { options: {}, original: [], remain: [] };
};
/**
* Prompt for telemetry consent
*/
Feedback.prototype.runCommand = function () {
return telemetry.changeTelemetryOptInSetting();
};
return Feedback;
}(commands.TacoCommandBase));
module.exports = Feedback;
//# sourceMappingURL=feedback.js.map