 
     generate:
       help: 'Generate model, view or route for current project'
-      opts:
+      options:
         generator:
           position: 1
           help: 'generator type'

path = require 'path'
yaml = require 'yaml'
fs = require 'fs'

brunch = require './brunch'
helpers = require './helpers'


    test:
      help: 'Run tests for a brunch project'
      options:
        verbose:
          flag: yes
          help: 'set verbose option for test runner'
      callback: (options) ->
        brunch.test parseOpts options

  options:
    version:
      abbr: 'v'
      help: 'display brunch version'
      flag: yes
      callback: -> brunch.VERSION


exports.run = ->
  args.parse config
