bin/gen-edgerc.js
function writeEdgerc(data, callback) {
  try {
    edgercWriter.writeEdgercSection(
      args.path,
      args.section,
      data["URL:"],
      data["Secret:"],
      data["Tokens:"],
      data["token:"],
      data["max-body"]
    );
  } catch (err) {
    callback(err);
  }

  return callback();
}
function writeEdgerc(data, callback) {
  try {
    edgercWriter.writeEdgercSection(
      args.path,
      args.section,
      data["URL:"],
      data["Secret:"],
      data["Tokens:"],
      data["token:"],
      data["max-body"]
    );
  } catch (err) {
    callback(err);
  }

  return callback();
}
function writeEdgerc ( data , callback ) { try { edgercWriter . writeEdgercSection ( args . path , args . section , data [ "URL:" ] , data [ "Secret:" ] , data [ "Tokens:" ] , data [ "token:" ] , data [ "max-body" ] ) ; } catch ( err ) { callback ( err ) ; } return callback ( ) ; }
Writes the parsed client auth data to the .edgerc file.

@param  {Array}   data       Array of parsed client auth data
@param  {Function} callback  unction to receive errors and handle completion
Writes the parsed client auth data to the . edgerc file .