Show HN: Poor Fox – A beautiful CLI app for keeping track of your expenses
github.com
github.com
- The application creates a file called pfox_console_printout.js, which is hidden in your home directory.
- It writes the tables/graph line by line into that file. Each line starts with 'console.log(' or 'process.stdout.write(' and ends appropriately.
- When it is done writing it executes 'node pfox_console_printout.js' and all the data is displayed.
The reason I went through the trouble of doing all that is to have Windows support. I had a lot of issues with Unicode characters and with changing the colors of text in a way that worked in Unix and Windows. I also think that using Chalk simplifies the process of changing the colors, which will prove useful when I start supporting new color schemes!