<commit_before>fetchGitHubRepo = require("fetch-github-repo")
_ = require('underscore')
fs = require 'fs'
path = require 'path'
{getConfig,saveConfig} = require('./config')



module.exports = (args, callback)->
  callback = callback || ()->
  args = _.defaults args,
    organization: 'No Organization'
    repo: 'No Repo'
    path: process.cwd()

  rakeFilePath = path.join( args.path, "Rakefile" )
  deleteRake = ()->
    if fs.existsSync(rakeFilePath)
      fs.unlink(rakeFilePath)
    callback.call(arguments)
<commit_msg>Adding more logging for Clone command<commit_after>fetchGitHubRepo = require("fetch-github-repo")
_ = require('underscore')
fs = require 'fs'
path = require 'path'
{getConfig,saveConfig} = require('./config')



module.exports = (args, callback)->
  callback = callback || ()->
  args = _.defaults args,
    organization: 'No Organization'
    repo: 'No Repo'
    path: process.cwd()
  console.log "Cloning #{args.organization}/#{args.repo}"
  rakeFilePath = path.join( args.path, "Rakefile" )
  deleteRake = ()->
    if fs.existsSync(rakeFilePath)
      fs.unlink(rakeFilePath)
    callback.call(arguments)

{'fraction_non_alphanumeric': 0.1515418502202643, 'fraction_numerical': 0.0, 'mean_word_length': 4.117117117117117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5853214', 'n_tokens_mistral': 370, 'n_tokens_neox': 359, 'n_words': 80}