<commit_before>'use strict';

function showHelp() {
  return [
    '',
    '$ google --help',
    '',
    'CLI tool to launch Google Search in the default browser',
    '',
    'Usage: google <search-query>',
    '',
    'Example Usage:',
    '  google',
    '  google how do I google on google',
    '  google --help',
    '',
    'Flags:',
    '  -h, --help',
    '    Show this help.',
    ''
  ].join('\n');
}

function getCommand(os) {
  return os === 'darwin' ? 'open'
       : os === 'linux'  ? 'xdg-open'
       : os === 'win32'  ? 'explorer'
       : null;
}

function getQuery(raw) {
  return raw.map((s) => s.replace(/ /g, '+')).join('+');
}

function search(os, exec, query) {
  let cmd = getCommand(os);
  if (cmd === null)
    throw('Operating system not supported');<commit_msg>prettier help<commit_after>'use strict';

function showHelp() {
  return [
    '',
    '  CLI tool to launch Google Search in the default browser',
    '',
    '  Usage: google <search-query>',
    '',
    '  Example Usage:',
    '    google',
    '    google how do I google on google',
    '    google --help',
    '',
    '  Flags:',
    '    -h, --help',
    '      Show this help.',
    ''
  ].join('\n');
}

function getCommand(os) {
  return os === 'darwin' ? 'open'
       : os === 'linux'  ? 'xdg-open'
       : os === 'win32'  ? 'explorer'
       : null;
}

function getQuery(raw) {
  return raw.map((s) => s.replace(/ /g, '+')).join('+');
}

function search(os, exec, query) {
  let cmd = getCommand(os);
  if (cmd === null)
    throw('Operating system not supported');
{'fraction_non_alphanumeric': 0.1989828353464717, 'fraction_numerical': 0.0025429116338207248, 'mean_word_length': 2.30672268907563, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3043842', 'n_tokens_mistral': 552, 'n_tokens_neox': 557, 'n_words': 144}