cargo install sql2csv
sql2csv \
--db "postgres://postgres@localhost/test" \
--out "export.csv" \
inline \
--sql "SELECT id, name FROM users" \
--header "id, name"
sql2csv \
--db "postgres://postgres@localhost/test" \
--out "export.csv" \
file \
--file test.toml