mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-18 21:27:51 +00:00
Merge pull request #274 from resin-io/jviotti/feat/id-devices
Show id in devices command
This commit is contained in:
commit
800d13e3cd
@ -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);
|
||||
}
|
||||
};
|
||||
|
@ -39,6 +39,7 @@ exports.list =
|
||||
|
||||
.tap (devices) ->
|
||||
console.log visuals.table.horizontal devices, [
|
||||
'id'
|
||||
'uuid'
|
||||
'name'
|
||||
'device_type'
|
||||
|
Loading…
Reference in New Issue
Block a user