UNPKG

@capawesome/cli

Version:

The Capawesome Cloud Command Line Interface (CLI) to manage Live Updates and more.

13 lines (12 loc) 301 B
import { readUser, writeUser } from 'rc9'; class UserConfigImpl { file = '.capawesome'; read() { return readUser({ name: this.file }); } write(config) { writeUser(config, { name: this.file }); } } const userConfig = new UserConfigImpl(); export default userConfig;