<commit_before># -*- coding: utf-8 -*-

import os

import argparse

from markdoc.config import Config


parser = argparse.ArgumentParser(**{
    'prog': 'markdoc',
    'description': 'A Markdown-based documentation build tool',
    'version': '1.0'
})

config = parser.add_argument('--config', '-c', default=os.getcwd(),
    help="Use the specified Markdoc config (a YAML file or a directory "
         "containing markdoc.yaml)")

subparsers = parser.add_subparsers(dest='command', title='commands', metavar='CMD')
<commit_msg>Made --quiet a global CLI option.<commit_after># -*- coding: utf-8 -*-

import os

import argparse

from markdoc.config import Config


parser = argparse.ArgumentParser(**{
    'prog': 'markdoc',
    'description': 'A Markdown-based documentation build tool',
    'version': '1.0'
})

config = parser.add_argument('--config', '-c', default=os.getcwd(),
    help="Use the specified Markdoc config (a YAML file or a directory "
         "containing markdoc.yaml)")

quiet = parser.add_argument('--quiet', '-q', default=False, action='store_true',
    help="Suppress non-error output")

subparsers = parser.add_subparsers(dest='command', title='commands', metavar='CMD')

{'fraction_non_alphanumeric': 0.15719063545150502, 'fraction_numerical': 0.005016722408026756, 'mean_word_length': 4.29646017699115, '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': '7557122', 'n_tokens_mistral': 384, 'n_tokens_neox': 373, 'n_words': 101}