diff --git a/build/actions/device.js b/build/actions/device.js index e112937b..20271a53 100644 --- a/build/actions/device.js +++ b/build/actions/device.js @@ -41,7 +41,7 @@ } return resin.models.device.getAll(); }).tap(function(devices) { - return console.log(visuals.table.horizontal(devices, ['uuid', 'name', 'device_type', 'application_name', 'status'])); + return console.log(visuals.table.horizontal(devices, ['id', 'uuid', 'name', 'device_type', 'application_name', 'status'])); }).nodeify(done); } }; diff --git a/lib/actions/device.coffee b/lib/actions/device.coffee index de21e2aa..0db3db4b 100644 --- a/lib/actions/device.coffee +++ b/lib/actions/device.coffee @@ -39,6 +39,7 @@ exports.list = .tap (devices) -> console.log visuals.table.horizontal devices, [ + 'id' 'uuid' 'name' 'device_type'