UNPKG

@s-hiroshi/bks

Version:

Cli bookmarks application

20 lines 766 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConfigureShowControl = void 0; const readLines_1 = require("../service/readLines"); class ConfigureShowControl { constructor() { // TODO: remove for controlCharactor is unused this.controlCharactor = "configure show"; this.homeDir = process.env[process.platform == "win32" ? "USERPROFILE" : "HOME"]; this.configPath = `${this.homeDir}/.config/s-hiroshi/bks/.env`; } getControlCharactor() { return this.controlCharactor; } async execute() { console.log(await (0, readLines_1.readLines)(this.configPath)); } } exports.ConfigureShowControl = ConfigureShowControl; //# sourceMappingURL=ConfigureShowControl.js.map