# Path: cancat/utils/convert.py
# def cancat2candump(session, output):
# def cancat2pcap(session, output):
# def _import_candump(filename):
# def _import_pcap(filename):
# def candump2cancat(candumplog, output):
# def pcap2cancat(pcapfile, output):


import sys
import argparse
from cancat.utils import convert
# Command line entry point for candump2cancat



def main():
    argv = sys.argv[1:]
                                                                                  
    parser = argparse.ArgumentParser(
            prog='candump2cancat',
            description='Utility to convert a candump log into a CanCat session')
    parser.add_argument('log', help='input candump log')
    parser.add_argument('output', help='output cancat session')
    args = parser.parse_args(argv)


# Path: cancat/utils/convert.py
# def cancat2candump(session, output):
# def cancat2pcap(session, output):
# def _import_candump(filename):
# def _import_pcap(filename):
# def candump2cancat(candumplog, output):
# def pcap2cancat(pcapfile, output):


# Path: cancat/scripts/candump2cancat.py
import sys
import argparse
from cancat.utils import convert

# Command line entry point for candump2cancat



def main():
    argv = sys.argv[1:]
                                                                                  
    parser = argparse.ArgumentParser(
            prog='candump2cancat',
            description='Utility to convert a candump log into a CanCat session')
    parser.add_argument('log', help='input candump log')
    parser.add_argument('output', help='output cancat session')
    args = parser.parse_args(argv)


    convert.candump2cancat(args.log, args.output)