<commit_before>#!/usr/bin/env node

var program = require('commander');
var stashScm = require('./lib/sources/stashScm');

var command = {};

program
    .version('0.0.1')
    .option('-p, --projects', 'List Projects')
    .option('-r, --repositories', 'List All Repositories on Server.')
    .arguments('<cmd>')
    .action(function (cmd) {
        command = cmd;
    })
    .parse(process.argv);

if (program.repositories && program.projects) {
    stashScm.listProjectsRepositories();
} else if (program.projects) {
    stashScm.listProjects();
} else if (program.repositories) {
    stashScm.listRepositories();
}

if (typeof command === 'undefined') {
    console.error('no command given!');
    process.exit(1);
} else if (command == 'backup') {
    stashScm.backupRepositories();
}<commit_msg>Removing single quotes and going with double quotes.<commit_after>#!/usr/bin/env node

var program = require("commander");
var stashScm = require("./lib/sources/stashScm");

var command = {};

program
  .version("0.0.1")
  .option("-p, --projects", "List Projects")
  .option("-r, --repositories", "List All Repositories on Server.")
  .arguments("<cmd>")
    .action(function (cmd) {
        command = cmd;
    })
    .parse(process.argv);

if (program.repositories && program.projects) {
    stashScm.listProjectsRepositories();
} else if (program.projects) {
    stashScm.listProjects();
} else if (program.repositories) {
    stashScm.listRepositories();
}

if (typeof command === "undefined") {
    console.error("no command given!");
    process.exit(1);
} else if (command == "backup") {
    stashScm.backupRepositories();
}
{'fraction_non_alphanumeric': 0.1759656652360515, 'fraction_numerical': 0.004904966278356836, 'mean_word_length': 3.75801749271137, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '39190', 'n_tokens_mistral': 547, 'n_tokens_neox': 538, 'n_words': 115}