CLI: Add ability to save console output
This branch adds the --record
flag, which saves the command-line output to one of four formats (based on the file extension):
- Plain text -
.txt
- Text with ANSI style codes -
.asc
- SVG -
.svg
- HTML -
.html
Implemented using the rich
Console
save_
methods