<commit_before>/* module update cloud commander */

(function(){
    'use strict';
    
    if(!global.cloudcmd)
        return console.log(
             '# update.js'                                      + '\n'  +
             '# -----------'                                    + '\n'  +
             '# Module is part of Cloud Commander,'             + '\n'  +
             '# used for work update thru git.'                 + '\n'  +
             '# If you wont to see at work install git'         + '\n'  +
             '# http://coderaiser.github.io/cloudcmd'           + '\n');
    
    var main            = global.cloudcmd.main,
        mainpackage     = main.mainpackage || {},
        exec            = main.child_process.exec,
        Util            = main.util,
        DIR             = main.DIR;
    
    exports.get = function(){
        exec('git pull', {cwd : DIR}, pull);
    };
    
    /**
     * function pulls cloud cmd content from repo
     * @param pError
     * @param pStdout
     * @param pStderr
     */
  function pull(pError, pStdout, pStderr){
        var lExec, lStdout,<commit_msg>feature(update) git pull -> git pull --rebase<commit_after>/* module update cloud commander */

(function(){
    'use strict';
    
    if(!global.cloudcmd)
        return console.log(
             '# update.js'                                      + '\n'  +
             '# -----------'                                    + '\n'  +
             '# Module is part of Cloud Commander,'             + '\n'  +
             '# used for work update thru git.'                 + '\n'  +
             '# If you wont to see at work install git'         + '\n'  +
             '# http://coderaiser.github.io/cloudcmd'           + '\n');
    
    var main            = global.cloudcmd.main,
        mainpackage     = main.mainpackage || {},
        exec            = main.child_process.exec,
        Util            = main.util,
        DIR             = main.DIR;
    
    exports.get = function(){
        exec('git pull --rebase', {cwd : DIR}, pull);
    };
    
    /**
     * function pulls cloud cmd content from repo
     * @param pError
     * @param pStdout
     * @param pStderr
     */
  function pull(pError, pStdout, pStderr){
        var lExec, lStdout,
{'fraction_non_alphanumeric': 0.13198416190057194, 'fraction_numerical': 0.0, 'mean_word_length': 1.127221702525725, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1316014', 'n_tokens_mistral': 625, 'n_tokens_neox': 626, 'n_words': 161}