UNPKG

symfony-style-console

Version:

Use the style and utilities of the Symfony Console in Node.js

21 lines (20 loc) 599 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * This is pretty much a dummy class. * * It allows for enabling or disabling "interactive" mode to prevent questions. */ var ConsoleInput = /** @class */ (function () { function ConsoleInput() { this.interactive = true; } ConsoleInput.prototype.isInteractive = function () { return this.interactive; }; ConsoleInput.prototype.setInteractive = function (interactive) { this.interactive = interactive; }; return ConsoleInput; }()); exports.default = ConsoleInput;