code: function(paths) {
  
        function relativePath(p, dirType) {
            var relativeStart = p.indexOf('./') === 0 || p.indexOf('../') === 0;
            return relativeStart? prefixPath(options.dirs.client,p) : prefixPath(options.dirs[dirType], p);
        }
  
        function prefixPath(base,p) {
            base = base.replace(/^\//,'');
            if (p === '*') {
              return base;
            }
            p = p.replace(/\/\*$/,'');
            return path.join(base,p);
        }
  
        function entries(from, dirType) {
          if (from == null) {
            return [];
          }
          var list = (from instanceof Array)? from : [from];
  
          return list.map(function(value) {
            return relativePath(value, dirType);
          });
        }
  
        paths.css = entries(paths.css, 'css');
        paths.code = entries(paths.code, 'code');
        paths.tmpl = entries(paths.tmpl || paths.templates, 'templates');
  
        if (paths.view) {
          paths.view = relativePath(paths.view, 'views');
        }
  
        return paths;
      }
docs: input is decorated and returned