   else
     ''
 
+log =
+  if options.verbose
+    (str) -> console.log str
+  else
+    () ->
+
+  
 # Get sections of matching doc/code blocks.
 getSections = (filename) ->
   lang = langs.getLanguage filename

    .default('resources', path.resolve(__dirname, '../resources'))
  .describe('preprocessor', 'Custom preprocessor command')
  .describe('include', 'CSS to include on all pages')
  .describe('version', 'Display StyleDocco version')
  .argv
options.in = options._[0] or './'

writeStaticFile = (fileName) ->
  outPath = path.join options.out, fileName
  fs.writeFileSync outPath, fs.readFileSync getResourcePath(fileName), 'utf-8'
  log "styledocco: writing #{outPath}"

writeStaticFile 'docs.css'
writeStaticFile 'docs.js'
