const lib =require('../lib')
let cache=lib.cache()
const config=lib.config;
const cacheDeviceType = config.deviceTypeIds.split(',')
lib.data(cache, cacheDeviceType).then((res, rej) => {
console.log(cache);
process.exit(0);
}).catch((err)=>{
console.error(err);
process.exit(-1);
});