 for name, command of commands
   usage += "
   #{name}:\n
-    #{command.description.replace(/\n/g, '\n    ')}\n"
+    #{command.description.replace(/\n/g, "\n    ")}\n"
 
 exports.parseArgs = parseArgs = () ->
   argv = require("optimist")

log = (msg, level="info") ->
  console.log "[#{basename process.argv[1]} #{argv._[0]}] #{msg}"

usage = """#{("node $0 "+cmd+'\n' for cmd of commands).join("")}
`component` is a utility that's used for installing javascript components and
their dependencies -- imagine that!


              if argv.minify
                output text, minify: true, module: module, css: cssText

      # this must be after the optimization step, since it checks for optimized
      # files and includes them in the config
      if argv.templatepath
        templateObj = templateCommands.all config
        provide argv.templatepath
        contextjsonname = join(argv.templatepath, argv.contextjsonname)
        log "writing context json to #{contextjsonname}"
        write contextjsonname, JSON.stringify(templateObj)


  completion:
    description: """
    spits out a bash completion command.  something you can run like this:
