@@ -0,0 +1,1251 @@
+#!/usr/bin/env python%0A# -*- coding: utf-8 -*-%0A%22%22%22%0A    main%0A    ~~~~%0A%0A    Endpoint of robo.%0A%0A%0A    :copyright: (c) 2015 Shinya Ohyanagi, All rights reserved.%0A    :license: BSD, see LICENSE for more details.%0A%22%22%22%0Aimport os%0Aimport sys%0Asys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))%0A%0Aimport argparse%0Aimport logging%0Afrom robo.robot import Robot%0A%0A%0Adef main(args=None):%0A    %22%22%22Main.%0A%0A    :param args: :class:%60argparse%60 Args%0A    %22%22%22%0A    logging.basicConfig(level=args.verbose, format=Robot.debug_log_format)%0A    logger = logging.getLogger('robo')%0A%0A    robot = Robot(name=args.name, logger=logger)%0A    robot.register_default_handlers()%0A    robot.load_adapter(args.adapter)%0A    robot.run(args.adapter)%0A%0A%0Adef parse_options():%0A    %22%22%22Parse options. %22%22%22%0A    description = 'Dead simple bot framework'%0A    parser = argparse.ArgumentParser(description=description, add_help=False)%0A    parser.add_argument('-a', '--adapter', default='shell')%0A    parser.add_argument('-u', '--name', default='robo')%0A    parser.add_argument('-vv', '--verbose', default=logging.INFO, nargs='?',%0A                        const=logging.DEBUG)%0A%0A    args = parser.parse_args()%0A%0A    return args%0A%0A%0Aif __name__ == '__main__':%0A    args = parse_options()%0A    main(args)%0A

Add example.