@capawesome/cli
Version:
The Capawesome Cloud Command Line Interface (CLI) to manage Live Updates and more.
17 lines (16 loc) • 425 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const rc9_1 = require("rc9");
class UserConfigImpl {
constructor() {
this.file = '.capawesome';
}
read() {
return (0, rc9_1.readUser)({ name: this.file });
}
write(config) {
(0, rc9_1.writeUser)(config, { name: this.file });
}
}
const userConfig = new UserConfigImpl();
exports.default = userConfig;