Currently it's easy to test ImageCharts
charts in CLI mode since they are hosted on their own server.
While we can easily send Buffer
as a file attachment to Discord, we can't do the same for the CLI.
For now I see these approaches:
- Save the
Buffer
chart as a image in the os.tmpdir()
, provide the file path to user in CLI
- Use library which allows us to display pictures in terminals (might not work on all terminals)
- Use library which allows us to transform pictures to ASCII alternatives