shshemi / tabiew

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

stdin as file #13

Open iloveitaly opened 1 month ago

iloveitaly commented 1 month ago

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

shshemi commented 1 month 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 1 month ago

Ah, makes sense! Thanks for explaining.

shshemi commented 1 week 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