@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.
31 lines (27 loc) • 613 B
JavaScript
import Conf from 'conf';
const linkSchema = {
quickLink: {
type: 'array',
items: {
type: 'object',
properties: {
name: {
type: 'string',
minLength: 1,
},
url: {
type: 'string',
minLength: 1,
},
},
required: ['name', 'url'],
},
default: [],
},
};
const linkStore = new Conf({
projectName: 'btw-cli',
configName: 'linkStore',
linkSchema,
});
export default linkStore;