modulepackage
0.0.0-20231017222546-40707e4cbba0
Repository: https://github.com/lmika/scriptx.git
Documentation: pkg.go.dev
# README
scriptx - Extras for Script
Utilities that extend github.com/bitfield/script.
Currently a WIP. The API is subject to change.
# Functions
CSVColumn is a filter function that reads the source as a CSV file and extracts the cell values of the named column, excluding the header itself.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Run takes a number of pipes and executes them in order, until they all succeed or the first error is encountered.
No description provided by the author
ToCSV is a filter function that reads the source as a series of lines, splits them into tokens using the passed in Splitter, and writes them to the output as a CSV.
ToJSON is a filter function which converts each line from the source to a JSON structure.