<commit_before>const command = {
  command: "config",
  description: "set user-level configuration options",
  config: {
    usage: "truffle config --enable-analytics",
    options: [   
      {
        option: "--enable-analytics",
        description: "Enable Truffle to send usage data to Google Analytics",
      }, 
      {
        option: "--disable-analytics",
        description: "Disable Truffle's ability to send usage data to Google Analytics",
      }
    ]
  },
  builder: {},
  /**
  * run config commands to set user-level config settings
  * @param {Object} options
  * @param {Func} callback
  */
  run: function (options, done) {
    const googleAnalytics = require("../services/google-analytics");
    let setAnalytics;
    if(options.enableAnalytics) {
      setAnalytics = googleAnalytics.setAnalytics(true);
    } else if (options.disableAnalytics){
      setAnalytics = googleAnalytics.setAnalytics(false);
    } else {
      setAnalytics = googleAnalytics.setUserConfigViaPrompt();
      setAnalytics.then(() => done()).catch((err)=> err);
    }

    if(setAnalytics === true) { 
      return done();
    }
  }
}

module.exports = command;
<commit_msg>change wording of parts of config command<commit_after>const command = {
  command: "config",
  description: "Set user-level configuration options",
  config: {
    usage: "truffle config <option>",
    options: [   
      {
        option: "--enable-analytics",
        description: "Enable Truffle to send usage data to Google Analytics",
      }, 
      {
        option: "--disable-analytics",
        description: "Disable Truffle's ability to send usage data to Google Analytics",
      }
    ]
  },
  builder: {},
  /**
  * run config commands to set user-level config settings
  * @param {Object} options
  * @param {Func} callback
  */
  run: function (options, done) {
    const googleAnalytics = require("../services/google-analytics");
    let setAnalytics;
    if(options.enableAnalytics) {
      setAnalytics = googleAnalytics.setAnalytics(true);
    } else if (options.disableAnalytics){
      setAnalytics = googleAnalytics.setAnalytics(false);
    } else {
      setAnalytics = googleAnalytics.setUserConfigViaPrompt();
      setAnalytics.then(() => done()).catch((err)=> err);
    }

    if(setAnalytics === true) { 
      return done();
    }
  }
}

module.exports = command;

{'fraction_non_alphanumeric': 0.12689713322091062, 'fraction_numerical': 0.0, 'mean_word_length': 2.877450980392157, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 8, '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': '2357446', 'n_tokens_mistral': 695, 'n_tokens_neox': 683, 'n_words': 174}