Skip to content

Commit

Permalink
feat(cli): include file size if known
Browse files Browse the repository at this point in the history
  • Loading branch information
blacha committed Nov 29, 2023
1 parent b4f22cb commit 5e90764
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/cli/src/commands/info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ export const commandInfo = command({
FetchLog.fetches.length === 1 ? '' : 's'
})`,
},
tiff.source.metadata?.size
? {
key: 'Size',
value: toByteSizeString(tiff.source.metadata.size),
}
: null,
];

const firstImage = tiff.images[0];
Expand Down

0 comments on commit 5e90764

Please sign in to comment.