tablo
`tablo` is a golang data pipeline tool inspired by Nushell, where every element is data and everything flows seamlessly through pipes.
Usage
Use -l or -line-delimiter-char for line delimiter.
echo "${PATH}" | tablo -l ":" # ":" as line delimiter
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β /opt/homebrew/opt/postgresql@16/bin β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β /Users/vigo/.cargo/bin β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β /Users/vigo/.orbstack/bin β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# output is trimmed...
You can disable row separation line with -n or -no-separate-rows flag:
echo "${PATH}" | tablo -l ":" -n # ":" as line delimiter, remove row separation
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β /opt/homebrew/opt/postgresql@16/bin β
β /Users/vigo/.cargo/bin β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# output is trimmed...
Letβs say you have a text file under /tmp/foo:
cat /tmp/foo | tablo
ββββββββββββββββββ
β this is line 1 β
ββββββββββββββββββ€
β this is line 2 β
ββββββββββββββββββ€
β this is line β
ββββββββββββββββββ
cat /tmp/foo | tablo -n
ββββββββββββββββββ
β this is line 1 β
β this is line 2 β
β this is line β
ββββββββββββββββββ
cat /tmp/foo | go run . -n -nb
this is line 1
this is line 2
this is line Copilot says:
AI-generated
Dive into smooth sailing with this golang-powered data pipeline that treats every element as data and lets it flow effortlessly through pipes, making your command-line data wrangling a breeze! Itβs like Nushellβs cool cousin who speaks Go and loves piping data around.
Key features:
- π₯ Inspired by Nushell for seamless data flow
- β‘ Customizable field and line delimiters for flexible input parsing
- π― Interactive mode plus powerful column filtering by name or index
- πΎ Output redirection to files or stdout for easy data export
This summary was generated by GitHub Copilot based on the project README.