docker-minecraft-server/titandb/scripts/GraphOfTheGods.groovy

8 lines
206 B
Groovy

import com.thinkaurelius.titan.core.TitanFactory
import com.thinkaurelius.titan.example.GraphOfTheGodsFactory
def g = TitanFactory.open('conf/titan.properties')
GraphOfTheGodsFactory.load(g)
g.shutdown()