csvpsql
csvpsql
generate Postgres table from csv file.
Installation
Usage
<file>
Example
;
)
csvpsql
generate Postgres table from csv file.
cargo install csvpsql
USAGE:
csvpsql [FLAGS] [OPTIONS] [file]
FLAGS:
--help Prints help information
-h, --no-header
-V, --version Prints version information
OPTIONS:
-d, --delimiter <delimiter> [default: ,]
-n, --null-as <null-as> Empty string are null by default [default: ]
ARGS:
<file>
$ csvpsql example.csv
create table example (
city text not null,
region text not null,
country text not null,
population integer not null
);