 path = require 'path'
 global.templatePath = path.resolve("#{__dirname}/../templates/default/") + "/"
 
+
 # save spacec & make printing look a bit nicer
 global.puts = (msg, param1) ->
   unless param1

  .option("-d, --directory <path>", "Change the default component directory 'client/components'", "client/components/")

  .action((compName, options) ->
    require('./component').run(compName, options)
  )

  .on('--help', ->

  else
    console.log(msg, param1)


# Main mgen command options
prog.version('0.0.7')


Package = require './package'
Namespace = require './namespace'
Component = require './component'


# Components Command
