1 from argparse
import ArgumentParser
3 from .robots_loader
import ROBOTS, load
5 ROBOTS = sorted(ROBOTS.keys())
7 parser = ArgumentParser(description=load.__doc__)
8 parser.add_argument(
'robot', nargs=
'?', default=ROBOTS[0], choices=ROBOTS)
9 parser.add_argument(
'--no-display', action=
'store_true')
11 args = parser.parse_args()
13 load(args.robot, display=
not args.no_display)
def load(name, display=False, rootNodeName='')