Textualize / rich-cli

Rich-cli is a command line toolbox for fancy output in the terminal

Home Page:https://www.textualize.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Allow tailing a CSV

cool-RR opened this issue · comments

I want to load a CSV as a table, but as new lines are added, I want the table to automatically update. Is that possible?

commented

There is nothing built-in at the moment.

Most Unixes have a watch command (install with brew install watch on macOS) that you could use:

watch rich --csv foobar.csv

Otherwise, it is common to use tail -f or less +F to watch files as new lines are added. This will not work perfectly with CSV files of course, but it's better than nothing. See for example: