<commit_before>import logging
from pyrate import loader
import argparse

def main():
    logger = logging.getLogger()
    logger.setLevel(logging.DEBUG)
    
    # load tool components
    config = loader.DEFAULT_CONFIG
    config.read(['aistool.conf'])
    l = loader.Loader(config)
    
    def list_components(args):
        print("{} repositories:".format(len(l.get_data_repositories())))
        for r in l.get_data_repositories():
            print("\t"+r)
    
        print("{} algorithms:".format(len(l.get_algorithms())))
    
        for a in l.get_algorithms():
            print("\t"+a)
    <commit_msg>Update cli.py<commit_after>import logging
from pyrate import loader
import argparse

def main():
    """ The command line interface
    
    Type `pyrate --help` for help on how to use the command line interface
    """
    logger = logging.getLogger()
    logger.setLevel(logging.DEBUG)
    
    # load tool components
    config = loader.DEFAULT_CONFIG
    config.read(['aistool.conf'])
    l = loader.Loader(config)
    
    def list_components(args):
        print("{} repositories:".format(len(l.get_data_repositories())))
        for r in l.get_data_repositories():
            print("\t"+r)
    
        print("{} algorithms:".format(len(l.get_algorithms())))
    
        for a in l.get_algorithms():
            print("\t"+a)
    
{'fraction_non_alphanumeric': 0.12915129151291513, 'fraction_numerical': 0.0, 'mean_word_length': 2.6549865229110514, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6384953', 'n_tokens_mistral': 416, 'n_tokens_neox': 405, 'n_words': 92}