You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wubloader/chat_archiver/chat_archiver/merge_all.py

14 lines
268 B
Python

import argh
import logging
from .main import merge_all
def main(path, log='INFO'):
"""Merge all batch files with the same timestamp within given directory"""
logging.basicConfig(level=log)
merge_all(path)
if __name__ == '__main__':
argh.dispatch_command(main)