function quickPrompterSetup (repoConfig, adapterConfig, commitMessage, options = {}) {

  commitizenInit(repoConfig.path, adapterConfig.npmName);

  // NOTE:
  // In our real code we'd use this here but since we're testing,
  // we'll provide prompter. We'd normally use:
  //   let prompter = getPrompter(adapterConfig.path);
  let prompter = function (cz, commit) {
    commit(commitMessage, options);
  }

  gitInit(repoConfig.path);

  writeFilesToPath(repoConfig.files, repoConfig.path);

  for (let key in repoConfig.files) {
    let file = repoConfig.files[key];
    if (file.add !== false) {
      gitAddFile(repoConfig.path, file.filename);
    }
  }

  // NOTE: In the real world we would not be returning
  // this we would instead be just making the commented
  // out getPrompter() call to get user input (above).
  return prompter;
}
This is just a helper for testing. NOTE that prompter
prompter is overriden for testing purposes.