You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prettybat works by piping data from a formatter to bat. Because of that, it's not possible for bat to know the size of the original file.
There is a --file-name argument to tell bat the name of the original file, but unfortunately, there isn't any equivalent option for the file size. Until that's added, it's not going to be possible to fix this issue.
prettybat works by piping data from a formatter to bat. Because of that, it's not possible for bat to know the size of the original file.
There is a --file-name argument to tell bat the name of the original file, but unfortunately, there isn't any equivalent option for the file size. Until that's added, it's not going to be possible to fix this issue.
$ prettybat index.json [20:27:13]
───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: index.json
│ Size: -
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ {
2 │ "schemaVersion": 2,
3 │ "manifests": [
4 │ {
5 │ "mediaType": "application/vnd.oci.image.manifest.v1+json",
6 │ "digest": "sha256:694a0f0e074158fhddaf55e5ddf4220b7271xxe491cacud30815xx4d75363758f",
7 │ "size": 1032,
8 │ "annotations": { "org.opencontainers.image.ref.name": "2.4.44" }
9 │ }
10 │ ]
11 │ }
$ prettybat --version
prettybat 2021.04.06
$ bat --version
bat 0.20.0
The text was updated successfully, but these errors were encountered: