 
 'use strict'
 
+config = require './config.js'
+utils = require './utils.js'
+async = require 'async'
+dashdash = require 'dashdash'
+
+anyDB = null
+needAnyDB = () ->
+	anyDB = require 'any-db' unless anyDB?
+
+
 checkError = (error, dontExit) ->
 	if error?
 		console.error error
 		unless dontExit then process.exit 1
+
 
 checkArgs = (passed, available) ->
 	unless passed in available


if opts._order.length is 0
	opts.help = true

# Some other schema:
#  'help', 'h', 'Show this text'

			console.log "init.js with #{newest + 1} revisions on board."
			console.log "Current revision is #{result} (#{status})."
			process.exit 0


createDatabase = (arg, callback) ->
	needAnyDB()
