UNPKG

@prana-w/btw

Version:

btw_cli (btw: by-the-W) is a simple and powerful Command Line Interface (CLI) designed to help you perform various useful tasks directly from your terminal.

27 lines (22 loc) 479 B
// Store user details and preferences automatically to use in the future import Conf from 'conf'; const userSchema = { roll: { type: 'string', default: null, }, githubUsername: { type: 'string', default: null, }, codeforcesHandle: { type: 'string', default: false, }, }; const userStore = new Conf({ projectName: 'btw-cli', configName: 'userStore', userSchema, }); export default userStore;