 config = require './config.js'
 utils = require './utils.js'
 async = require 'async'
+Sync = require 'sync'
 dashdash = require 'dashdash'
 
 anyDB = null
-needAnyDB = () ->
+createAnyDBConnection = (url) ->
 	anyDB = require 'any-db' unless anyDB?
+	anyDB.createConnection(url)
 
 
 checkError = (error, dontExit) ->

	]
	type: 'bool'
	help: 'Show current revision and status.'
	action: info
,
	names: [
		'create-database'

	]
	type: 'bool'
	help: 'Print this help and exit.'
,
	names: [
		'info'
