|
|
|
@ -28,9 +28,9 @@ function helpGames {
|
|
|
|
|
|
|
|
|
|
function addGames {
|
|
|
|
|
read -p "Nombre del Juego: " nameGame
|
|
|
|
|
read -p "Nombre del Año: " anoGame
|
|
|
|
|
read -p "Nombre del Mes: " mesGame
|
|
|
|
|
read -p "Nombre del Plataforma: " plataformaGame
|
|
|
|
|
read -p "Año: " anoGame
|
|
|
|
|
read -p "Mes: " mesGame
|
|
|
|
|
read -p "Plataforma: " plataformaGame
|
|
|
|
|
echo "INSERT INTO GAMES (NAME,YEAR,MONTH,PLATFORM) VALUES ('$nameGame','$anoGame','$mesGame','$plataformaGame');" | sqlite3 "$dbDir/$dbName"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|