<commit_before>import click
import click_log
from .view import main as view
from . import code
from . import debug
from . import setup
from . import submit
from . import test
from . import repl
from . import config
from . import ls
from . import clip
from ..utils.logging import logger
from ..utils.config import check_config_path
from ..utils.exceptions import handle_exceptions

CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])


# TODO correct handle_exceptions using modifying ctx.invoke
# and use single exception
@click.group(context_settings=CONTEXT_SETTINGS)
@click.version_option()
@click_log.simple_verbosity_option(logger, envvar='TERMICODER_VERBOSE', default='info')
@handle_exceptions(BaseException)
def main():
    '''
    \b
    __       __                      _                __
    \ \     / /____  _________ ___  (_)________  ____/ /__  _____
     \ \   / __/ _ \/ ___/ __ `__ \/ / ___/ __ \/ __  / _ \/ ___/<commit_msg>change env variable to verbosity<commit_after>import click
import click_log
from .view import main as view
from . import code
from . import debug
from . import setup
from . import submit
from . import test
from . import repl
from . import config
from . import ls
from . import clip
from ..utils.logging import logger
from ..utils.config import check_config_path
from ..utils.exceptions import handle_exceptions

CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])


# TODO correct handle_exceptions using modifying ctx.invoke
# and use single exception
@click.group(context_settings=CONTEXT_SETTINGS)
@click.version_option()
@click_log.simple_verbosity_option(logger, envvar='TERMICODER_VERBOSITY', default='info')
@handle_exceptions(BaseException)
def main():
    '''
    \b
    __       __                      _                __
    \ \     / /____  _________ ___  (_)________  ____/ /__  _____
     \ \   / __/ _ \/ ___/ __ `__ \/ / ___/ __ \/ __  / _ \/ ___/
{'fraction_non_alphanumeric': 0.0998439937597504, 'fraction_numerical': 0.0, 'mean_word_length': 2.9185336048879837, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, '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': '7430833', 'n_tokens_mistral': 587, 'n_tokens_neox': 580, 'n_words': 146}