Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 568 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 568 Bytes

ply Stack Test CI

A tool for running SQL queries on CSVs

ChangeLog | Roadmap

Installation

git clone https://github.com/amcknight/ply.git
cd ply
stack build
stack install

I put ~/.local/bin in my PATH to make it available in my shell after install.

Usage

With a CSV that has headers 'name' and 'age' in "my/dir/" you could, for example, run:

ply "SELECT name, "Mc" ++ name ++ "face" AS mcname FROM my/dir/people WHERE age < 30"