 Usage: dobi <command> [command-specific-options]
 
 where <command> [command-specific-options] is one of:
+  backup <site-slug>                create a backup of a site
   create <my-package> <type=app>    create a new package
   deploy <my-app>                   deploy an app (COMING SOON)
   docs                              open the dobi docs


  # initialize a workspace
  when 'init'
    getWorkspacePath (workspace) ->
      exit "already in a workspace: #{workspace}" if workspace
      fs.writeFile path.join(CWD, 'dobi.json'), JSON.stringify({
        created: Date.now()
      }), (err) ->
        exit 'failed to create workspace config' if err
        fs.mkdir path.join(CWD, 'pkg'), (err) ->
          exit 'failed to create pkg directory' if err
          exit "workspace successfully created at: #{CWD}"

  # create a site using your app
  when 'install'

CSON = require 'cson'
Firebase = require 'firebase'
async = require 'async'
crypto = require 'crypto'
extend =  require 'node.extend'
findit = require 'findit'
fs = require 'fs'
mkdirp = require 'mkdirp'
mongofb = require 'mongofb'
