<gh_stars>1-10
#!/usr/bin/env python3
# PYTHON_ARGCOMPLETE_OK

from ays_general import __version__, __version_info__
import ays_general
import argparse, argcomplete


if __name__ == "__main__":
    parser = argparse.ArgumentParser(description="update the format of AWS TSM result files")
    parser.add_argument("files", metavar="file", type=str, nargs="+",
                        help="file with the (presumably) old format")

    # use argcomplete auto-completion
    argcomplete.autocomplete(parser)

    args = parser.parse_args()

    for current_file in args.files:

        ays_general.reformat(current_file, verbose=1)




