require('../config/loadEnv')();

const mongoReadAdapter = require('../services/mongoLedgerReadAdapter');

const status = mongoReadAdapter.getStatus();
console.log(JSON.stringify(status, null, 2));
if (status.requested && !status.enabled) process.exitCode = 1;
