__author__ = 'Bill French'

import argparse

from mi.idk.platform.switch_driver import SwitchDriver

def run():
    opts = parseArgs()

    if opts.list:
        SwitchDriver.list_drivers()
    else:
        app = SwitchDriver(path=opts.path, version=opts.version)
        app.run()

def parseArgs():
    parser = argparse.ArgumentParser(description='Switch the current driver.')
    parser.add_argument('path', nargs="?", help='driver path')
    parser.add_argument('version', nargs="?", help='driver version')
    parser.add_argument('--list', dest="list", action="store_true", help='list drivers')

    return parser.parse_args()


if __name__ == '__main__':
    run()

18c133c65ed99af0461bf4978c0a8f006bc1871b
<mask token>


def run():
    opts = parseArgs()
    if opts.list:
        SwitchDriver.list_drivers()
    else:
        app = SwitchDriver(path=opts.path, version=opts.version)
        app.run()


def parseArgs():
    parser = argparse.ArgumentParser(description='Switch the current driver.')
    parser.add_argument('path', nargs='?', help='driver path')
    parser.add_argument('version', nargs='?', help='driver version')
    parser.add_argument('--list', dest='list', action='store_true', help=
        'list drivers')
    return parser.parse_args()


<mask token>

<mask token>


def run():
    opts = parseArgs()
    if opts.list:
        SwitchDriver.list_drivers()
    else:
        app = SwitchDriver(path=opts.path, version=opts.version)
        app.run()


def parseArgs():
    parser = argparse.ArgumentParser(description='Switch the current driver.')
    parser.add_argument('path', nargs='?', help='driver path')
    parser.add_argument('version', nargs='?', help='driver version')
    parser.add_argument('--list', dest='list', action='store_true', help=
        'list drivers')
    return parser.parse_args()


if __name__ == '__main__':
    run()

__author__ = 'Bill French'
<mask token>


def run():
    opts = parseArgs()
    if opts.list:
        SwitchDriver.list_drivers()
    else:
        app = SwitchDriver(path=opts.path, version=opts.version)
        app.run()


def parseArgs():
    parser = argparse.ArgumentParser(description='Switch the current driver.')
    parser.add_argument('path', nargs='?', help='driver path')
    parser.add_argument('version', nargs='?', help='driver version')
    parser.add_argument('--list', dest='list', action='store_true', help=
        'list drivers')
    return parser.parse_args()


if __name__ == '__main__':
    run()

__author__ = 'Bill French'
import argparse
from mi.idk.platform.switch_driver import SwitchDriver


def run():
    opts = parseArgs()
    if opts.list:
        SwitchDriver.list_drivers()
    else:
        app = SwitchDriver(path=opts.path, version=opts.version)
        app.run()


def parseArgs():
    parser = argparse.ArgumentParser(description='Switch the current driver.')
    parser.add_argument('path', nargs='?', help='driver path')
    parser.add_argument('version', nargs='?', help='driver version')
    parser.add_argument('--list', dest='list', action='store_true', help=
        'list drivers')
    return parser.parse_args()


if __name__ == '__main__':
    run()

__author__ = 'Bill French'

import argparse

from mi.idk.platform.switch_driver import SwitchDriver

def run():
    opts = parseArgs()

    if opts.list:
        SwitchDriver.list_drivers()
    else:
        app = SwitchDriver(path=opts.path, version=opts.version)
        app.run()

def parseArgs():
    parser = argparse.ArgumentParser(description='Switch the current driver.')
    parser.add_argument('path', nargs="?", help='driver path')
    parser.add_argument('version', nargs="?", help='driver version')
    parser.add_argument('--list', dest="list", action="store_true", help='list drivers')

    return parser.parse_args()


if __name__ == '__main__':
    run()
