@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.
30 lines (26 loc) • 546 B
JavaScript
import Conf from 'conf';
// Schema related to information of the SAP (Student Academic Portal) of NIT JSR
const sapSchema = {
username: {
type: 'string',
default: null,
},
password: {
type: 'string',
default: null,
},
lastUpdated: {
type: 'date',
default: null,
},
attendanceData: {
type: 'array',
default: null,
},
};
const sapStore = new Conf({
projectName: 'btw-cli',
configName: 'sapStore',
sapSchema,
});
export default sapStore;