<commit_before>"""
Export JSON files suitable for visualization with auspice.
"""
from .argparse_ import add_command_subparsers
from . import export_v1, export_v2

SUBCOMMANDS = [
    export_v1,
    export_v2,
]


def register_parser(parent_subparsers):
    parser = parent_subparsers.add_parser("export", help=__doc__)
    # Add subparsers for subcommands
    metavar_msg ="Augur export now needs you to define the JSON version " + \
                 "you want, e.g. `augur export v2`."
    subparsers = parser.add_subparsers(title="JSON SCHEMA",
                                       metavar=metavar_msg)
    add_command_subparsers(subparsers, SUBCOMMANDS)
    return parser<commit_msg>doc: Switch order of export v1 and v2 to make v2 show up first in docs<commit_after>"""
Export JSON files suitable for visualization with auspice.
"""
from .argparse_ import add_command_subparsers
from . import export_v1, export_v2

SUBCOMMANDS = [
    export_v2,
    export_v1,
]


def register_parser(parent_subparsers):
    parser = parent_subparsers.add_parser("export", help=__doc__)
    # Add subparsers for subcommands
    metavar_msg ="Augur export now needs you to define the JSON version " + \
                 "you want, e.g. `augur export v2`."
    subparsers = parser.add_subparsers(title="JSON SCHEMA",
                                       metavar=metavar_msg)
    add_command_subparsers(subparsers, SUBCOMMANDS)
    return parser
{'fraction_non_alphanumeric': 0.07735191637630662, 'fraction_numerical': 0.009059233449477353, 'mean_word_length': 3.1744186046511627, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6150707', 'n_tokens_mistral': 455, 'n_tokens_neox': 459, 'n_words': 122}