This CLI was created to convert SQLITE to SQL. It was used GoLang and libraries: [go-sqlite3](github.com/mattn/go-sqlite3 v1.14.19).
- GoLang >= v1.16.5
- [go-sqlite3](github.com/mattn/go-sqlite3 v1.14.19)
- SQLITE file with the name
database.dbin the same folder as the executable
How to install the golang: GoLang
- Open the terminal
- Run the command to download golang
sudo apt-get update && sudo apt-get install golang-go- Verify the installation
go version- Download the installer from the official website
- Run the installer
- Verify the installation
go version-
Download the project
-
Run the command below to install the dependencies
go get- Run the command below to build the project
go build -o sqlite2sql-
Save the SQLITE file in the same folder as the executable with the name
database.db -
Run the command below to convert the SQLITE file to SQL
./sqlite2sql- The SQL file will be created in the same folder as the executable with the name
output.sql