Open Aviksaikat opened 1 month ago
https://github.com/sharkdp/bat?tab=readme-ov-file#development
If you want to build an application that uses
bat
s pretty-printing features as a library, check out the the API documentation. Note that you have to use either regex-onig or regex-fancy as a feature when you depend onbat
as a library.
Do we have to create a new instance of PrettyPrinter every time we want to print out something?
How can we use
bat
as a module and use it for colourful logging and terminal outputs from rust programs?