Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Allow tailing a CSV #78

Open
cool-RR opened this issue Dec 14, 2022 · 2 comments
Open

Feature request: Allow tailing a CSV #78

cool-RR opened this issue Dec 14, 2022 · 2 comments

Comments

@cool-RR
Copy link

cool-RR commented Dec 14, 2022

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?

@harkabeeparolus
Copy link

harkabeeparolus commented Dec 15, 2022

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:

@cool-RR
Copy link
Author

cool-RR commented Dec 15, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants