summaryrefslogtreecommitdiff
path: root/bin/rtt-export
blob: b82950c557e3960fd6add79251871ed622f4bf4d (plain)
1
2
3
4
5
6
7
#!/bin/bash
if [ -n "$1" ]
then
	sqlite3 db "select export from game_export_view where game_id=$1"
else
	echo "usage: rtt-export GAME > game.json"
fi