skysync-cli
Version:
SkySync Command Line Interface
39 lines (38 loc) • 867 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.detailOutputFormat = exports.listOutputFormat = void 0;
const listOutputFormat = {
table: [
{
header: 'ID',
property: 'id'
},
{
header: 'Name',
property: 'name'
},
{
header: 'Kind',
property: 'kind'
},
{
header: 'Enabled',
property: 'disabled',
transform: val => !val
}
],
json: [
'transfer'
]
};
exports.listOutputFormat = listOutputFormat;
const detailOutputFormat = {
table: [
...listOutputFormat.table
],
json: [
'schedule',
...listOutputFormat.json
]
};
exports.detailOutputFormat = detailOutputFormat;