<commit_before>"""lists stuff

list all            -- list everything
list build-tools    -- list supported build tools
list build-types    -- list supported build types
list generators     -- list supported generator names
list configs        -- list available configs
list registry       -- list content of fips registry
list settings       -- list fips settings of current project
list exports        -- list project exports
list imports        -- list project imports
list                -- same as 'list all'
"""

from mod import log, util, config, project, registry, settings, dep

#-------------------------------------------------------------------------------
def list_build_tools() :
    """list supported build tools"""
    log.colored(log.YELLOW, '=== build-tools:')
    for tool in config.build_tools :
        log.info('{}'.format(tool))

#-------------------------------------------------------------------------------
def list_build_types() :
    """list supported build types"""
    log.colored(log.YELLOW, '=== build-types:')
    for type in config.build_types :
        log.info('{}'.format(type))

#-------------------------------------------------------------------------------
def list_generators() :
    """list supported generatores"""
    log.colored(log.YELLOW, '=== generators:')
    for gen in config.generators :
        log.info('{}'.format(gen))<commit_msg>Remove the 2 obsolete functions list_generators and list_build_types from list.py<commit_after>"""lists stuff

list all            -- list everything
list build-tools    -- list supported build tools
list build-types    -- list supported build types
list generators     -- list supported generator names
list configs        -- list available configs
list registry       -- list content of fips registry
list settings       -- list fips settings of current project
list exports        -- list project exports
list imports        -- list project imports
list                -- same as 'list all'
"""

from mod import log, util, config, project, registry, settings, dep

#-------------------------------------------------------------------------------
def list_build_tools() :
    """list supported build tools"""
    log.colored(log.YELLOW, '=== build-tools:')
    for tool in config.build_tools :
        log.info('{}'.format(tool))
{'fraction_non_alphanumeric': 0.22854678740836568, 'fraction_numerical': 0.00043122035360068997, 'mean_word_length': 1.7455621301775148, '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': '6017572', 'n_tokens_mistral': 533, 'n_tokens_neox': 521, 'n_words': 197}