code: function () {
        var defaultConfig = JSON.parse(fs.readFileSync(__dirname + '/../patsy.default.json', 'utf8'));
  
        var projectSpecificSettings = {
          "project": {
            "details" : {
              "name" : path.basename(process.cwd())
            },
            "environment": {
              "root" : path.basename(process.cwd()),
              "abs_path": process.cwd() + path.sep
            }
          }
        };
  
        var almostDefaultConfig = require('./utils').deepExtend(defaultConfig, projectSpecificSettings);
  
        almostDefaultConfig = JSON.stringify(almostDefaultConfig, null, 2);
  
        fs.writeFileSync("patsy.json", almostDefaultConfig);
  
      }
docs: Generates a default patsy.json configuration file in the root of the current project.
  
  @var     Object