   ['-e', '--environment [ARG]', 'set environment']
   ['-v', '--verbose',           'verbose output']
   ['-V', '--version',           'show version']
+  ['-p', '--plugin [FILE*]'],   'add plugin file or dir']
   ['-h', '--help',              'display this help message']
 ]
+
+###* Entry point ###
 
 main = () ->
   optParser  = new OptionParser SWITCHES, BANNER
   o = optParser.parse process.argv[2..]
   
   if o.help
-    printLine optParser.help() 
+    console.log optParser.help() 
     return
     
   if o.version
-    printLine "nbuild v#{VERSION}"
+    console.log "nbuild v#{VERSION}"
     return
   
   configFiles = []

require 'colors'
fs           = require 'fs'
_            = require 'underscore'


{join, existsSync} = path

VERSION = "0.1"
BANNER = 'Usage: nbuild [options] command[:step]'
SWITCHES = [
