typeline 0.1.0

Efficient, Type-Safe Pipeline Processor
Documentation

Typeline

githubgithub-buildcrates-iomsrvdocs-rs

An efficient, type-safe pipeline processing language.

Usage Examles

Add Leading Zeroes to Numbered Files

ls | tl lines r="foo_(?<id>\d+)\.txt" mv="foo_{id:02}.txt"

Advent of Code (Day 1, Part 1, 2023)

tl <input.txt lines fe: r-m='\d' fc: head next tail end join to_int end sum

Download all PNG Images from a Website

tl str="https://google.com" GET xpath="//@href" r-f="\.png$" GET enum-n write="{:02}.png"

License

MIT