Started a script to call the function
This commit is contained in:
parent
af2b7063b1
commit
3d924c1359
1 changed files with 9 additions and 0 deletions
9
script.sh
Normal file
9
script.sh
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ $1 -eq "0" ]]; then
|
||||||
|
sqlite3 test.db ".read create_db.sql"
|
||||||
|
elif [[ $1 -eq "1" ]]; then
|
||||||
|
sqlite3 test.db ".read insert_data.sql"
|
||||||
|
elif [[ $1 -eq "9" ]]; then
|
||||||
|
sqlite3 test.db ".read show_all.sql"
|
||||||
|
fi
|
Loading…
Reference in a new issue