mirror of
https://github.com/sbrl/terrain50-cli.git
synced 2024-11-22 06:53:01 +00:00
identify: send the item number to stdout, but the decorations to stderr
This commit is contained in:
parent
8e8d510a2c
commit
daed644665
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,9 @@ export default async function(settings) {
|
|||
|
||||
let i = 0;
|
||||
for await(let next of Terrain50.ParseStream(stream)) {
|
||||
console.log(`${a.fgreen}>>>>> ${a.hicol}Item ${i}${a.reset}${a.fgreen} <<<<<${a.reset}`);
|
||||
console.error(`${a.fgreen}>>>>> ${a.hicol}`);
|
||||
console.log(`Item ${i}`);
|
||||
console.error(`${a.reset}${a.fgreen} <<<<<${a.reset}`);
|
||||
summarise_obj(next);
|
||||
|
||||
i++;
|
||||
|
|
Loading…
Reference in a new issue