Categorygithub.com/dono/csv2sqlite
modulepackage
0.0.0-20211216143952-09ec2d67ec00
Repository: https://github.com/dono/csv2sqlite.git
Documentation: pkg.go.dev

# README

csv2sqlite

CLI tool to convert csv to sqlite with type info

Usage

Run with options (single table)

$ csv2sqlite -c ./foo.csv -t foo_tb -d ./dump.db
foo.csv -> dump.db (incl. foo_tb)

Run with options (multiple tables)

$ csv2sqlite -c ./foo.csv -t foo_tb -c ./bar.csv -t bar_tb -d ./dump.db
(foo.csv, bar.csv) -> dump.db (incl. foo_tb, bar_tb)

Run with no options (only single table)

$ csv2sqlite ./foo.csv
foo.csv -> foo.db (incl. foo)

Useful in combination with drag-and-drop or shortcuts

Installation

$ go install github.com/dono/csv2sqlite/cmd/csv2sqlite@latest

License

MIT

# Packages

No description provided by the author

# Functions

No description provided by the author
TODO: escape "(", ")", ",", and so on.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author