1
0
Fork 0
mirror of https://github.com/sbrl/terrain50-cli.git synced 2024-11-26 07:33:00 +00:00

identify: make it prettier in stream mode

This commit is contained in:
Starbeamrainbowlabs 2020-07-03 16:14:41 +01:00
parent f8eb85abee
commit 8e8d510a2c
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -35,7 +35,7 @@ export default async function(settings) {
let i = 0;
for await(let next of Terrain50.ParseStream(stream)) {
console.log(`>>>>> Item ${i} <<<<<`);
console.log(`${a.fgreen}>>>>> ${a.hicol}Item ${i}${a.reset}${a.fgreen} <<<<<${a.reset}`);
summarise_obj(next);
i++;