shshemi / tabiew

A lightweight TUI application to view and query tabular data files, such as CSV, TSV, or parquet.
MIT License
541 stars 14 forks source link

stdin as file #13

Open iloveitaly opened 2 months ago

iloveitaly commented 2 months ago

Looks like - is not supported as a alias for consuming stdin. This would be a great feature!

shshemi commented 2 months ago

Hey, Thanks for the suggestion. I added it to the backlog. Unfortunately, I do not think it is going to be a possibility any time soon as some parser libraries used in Tabiew are only capable of reading from files.

iloveitaly commented 2 months ago

Ah, makes sense! Thanks for explaining.

shshemi commented 3 weeks ago

Reading from stdin is implemented and will be available in the next release. If you want to try it before release, kindly build the main branch from the source. Then use:

curl -sSL "https://raw.githubusercontent.com/shshemi/tabiew/refs/heads/main/tutorial/company.csv" | tw
shshemi commented 1 week ago

The latest released version should resolve your problem