tursodatabase / libsql-shell-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create initial version of `libsql-shell` command-line tool

haaawk opened this issue · comments

The first version of the libsql-shell that requires a -e flag and a path to a db file.
It would look like this: libsql-shell -e "<sql statements separated with ;>" <path to db>
It should use a shell library that in turn uses SQLite backed to open a given DB file, execute the given SQL statements on that DB, save the DB to file if it was modified and print the results of the SQL statements to the standard output.