skysync-cli
Version:
SkySync Command Line Interface
24 lines (23 loc) • 567 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.writeConfiguration = void 0;
const outputFormat = {
table: [
{
header: 'Level',
property: 'level',
},
{
header: 'Retention Days',
property: 'retention_days',
}
],
json: [
'level',
'retention_days'
]
};
const writeConfiguration = (config, output) => {
output.writeItem(config, outputFormat);
};
exports.writeConfiguration = writeConfiguration;