Version: 0.0.00.0.10.0.30.0.40.0.50.0.60.0.70.0.80.0.90.0.100.0.110.0.120.0.130.0.140.0.150.0.160.0.170.0.180.0.190.0.200.0.210.0.220.0.230.0.240.0.250.0.260.0.270.0.280.0.290.0.300.0.310.0.320.0.330.0.340.0.350.1.00.1.10.1.20.1.30.1.40.1.50.1.60.1.70.1.80.1.90.1.100.2.00.2.10.2.20.2.30.3.00.3.11.0.0-alpha.11.0.0-alpha.21.0.0-alpha.31.0.0-alpha.41.0.0-alpha.51.0.0-alpha.61.0.0-alpha.71.0.0-alpha.82.0.0-alpha.12.0.0-alpha.22.0.0-alpha.32.0.0-alpha.42.0.0-alpha.52.0.0-alpha.62.0.0-alpha.72.0.0-alpha.82.0.0-alpha.92.0.0-alpha.102.0.0-alpha.112.0.0-alpha.122.0.0-alpha.132.0.0-alpha.142.0.0-alpha.152.0.0-alpha.162.0.0-alpha.172.0.0-alpha.182.0.0-alpha.192.0.0-alpha.202.0.0-alpha.212.0.0-alpha.222.0.0-alpha.232.0.0-alpha.242.0.0-alpha.252.0.0-alpha.262.0.0-alpha.272.0.0-alpha.282.0.0-alpha.292.0.0-alpha.302.0.0-alpha.312.0.0-alpha.322.0.0-alpha.332.0.0-alpha.342.0.0-alpha.35
let config = require('../config/ocular.config')();
const configPath = process.argv[2] || '';
configPath.split('.')
.filter(Boolean)
.forEach(path => {
config = config[path];
});
if (typeof config !== 'string') {
config = config === undefined ? "" : JSON.stringify(config);
}
console.log(config);