def main():
p = argparse.ArgumentParser(description='<STR_LIT>',<EOL>prog='<STR_LIT>',<EOL>version=__version__)<EOL>subparsers = p.add_subparsers(help='<STR_LIT>')<EOL>as_service = subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>as_subparsers = as_service.add_subparsers(help='<STR_LIT>')<EOL>as_service_list = as_subparsers.add_parser('<STR_LIT:list>', help='<STR_LIT>')<EOL>as_service_list.set_defaults(func=as_list_handler)<EOL>ec2_service = subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>ec2_subparsers = ec2_service.add_subparsers(help='<STR_LIT>')<EOL>ec2_service_list = ec2_subparsers.add_parser('<STR_LIT:list>', help='<STR_LIT>')<EOL>ec2_service_list.add_argument('<STR_LIT>', '<STR_LIT>', help='<STR_LIT>')<EOL>ec2_service_list.add_argument('<STR_LIT>', '<STR_LIT>', nargs='<STR_LIT:*>', metavar=('<STR_LIT:id>', '<STR_LIT:id>'),<EOL>help='<STR_LIT>')<EOL>ec2_service_list.add_argument('<STR_LIT>', default='<STR_LIT>', choices=['<STR_LIT>', '<STR_LIT>', '<STR_LIT>'],<EOL>help='<STR_LIT>')<EOL>ec2_service_list.set_defaults(func=ec2_list_handler)<EOL>ec2_service_fab = ec2_subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>ec2_service_fab.add_argument('<STR_LIT>', '<STR_LIT>', help='<STR_LIT>')<EOL>ec2_service_fab.add_argument('<STR_LIT>', '<STR_LIT>', nargs='<STR_LIT:*>', metavar=('<STR_LIT:id>', '<STR_LIT:id>'),<EOL>help='<STR_LIT>')<EOL>ec2_service_fab.add_argument('<STR_LIT>', '<STR_LIT>', nargs='<STR_LIT:+>', help='<STR_LIT>')<EOL>ec2_service_fab.add_argument('<STR_LIT>',<EOL>metavar='<STR_LIT>',<EOL>nargs='<STR_LIT:+>',<EOL>help='<STR_LIT>')<EOL>ec2_service_fab.set_defaults(func=ec2_fab_handler)<EOL>ec2_service_create = ec2_subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>ec2_service_create.set_defaults(func=ec2_create_handler)<EOL>ec2_service_start = ec2_subparsers.add_parser('<STR_LIT:start>', help='<STR_LIT>')<EOL>ec2_service_start.add_argument('<STR_LIT>', nargs='<STR_LIT:+>', help='<STR_LIT>')<EOL>ec2_service_start.set_defaults(func=ec2_start_handler)<EOL>ec2_service_stop = ec2_subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>ec2_service_stop.add_argument('<STR_LIT>', nargs='<STR_LIT:+>', help='<STR_LIT>')<EOL>ec2_service_stop.add_argument('<STR_LIT>', '<STR_LIT>', action='<STR_LIT:store_true>', help='<STR_LIT>')<EOL>ec2_service_stop.set_defaults(func=ec2_stop_handler)<EOL>ec2_service_terminate = ec2_subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>ec2_service_terminate.add_argument('<STR_LIT>', nargs='<STR_LIT:+>', help='<STR_LIT>')<EOL>ec2_service_terminate.set_defaults(func=ec2_terminate_handler)<EOL>ec2_service_images = ec2_subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>ec2_service_images.add_argument('<STR_LIT:image>', nargs='<STR_LIT:*>',<EOL>help='<STR_LIT>')<EOL>ec2_service_images.set_defaults(func=ec2_images_handler)<EOL>ec2_service_create_image = ec2_subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>ec2_service_create_image.add_argument('<STR_LIT>', help='<STR_LIT>')<EOL>ec2_service_create_image.add_argument('<STR_LIT:name>', help='<STR_LIT>')<EOL>ec2_service_create_image.add_argument('<STR_LIT>', '<STR_LIT>', help='<STR_LIT>')<EOL>ec2_service_create_image.add_argument('<STR_LIT>', action='<STR_LIT:store_true>', default=False,<EOL>help='<STR_LIT>' +<EOL>'<STR_LIT>')<EOL>ec2_service_create_image.set_defaults(func=ec2_create_image_handler)<EOL>elb_service = subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>elb_subparsers = elb_service.add_subparsers(help='<STR_LIT>')<EOL>elb_service_list = elb_subparsers.add_parser('<STR_LIT:list>', help='<STR_LIT>')<EOL>elb_service_list.add_argument('<STR_LIT>', default='<STR_LIT>', choices=['<STR_LIT>', '<STR_LIT>'],<EOL>help='<STR_LIT>')<EOL>elb_service_list.set_defaults(func=elb_list_handler)<EOL>elb_service_instances = elb_subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>elb_service_instances.add_argument('<STR_LIT>', help='<STR_LIT>')<EOL>elb_service_instances.set_defaults(func=elb_instances_handler)<EOL>elb_service_register = elb_subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>elb_service_register.add_argument('<STR_LIT>', help='<STR_LIT>')<EOL>elb_service_register.add_argument('<STR_LIT>', nargs='<STR_LIT:+>', help='<STR_LIT>')<EOL>elb_service_register.set_defaults(func=elb_register_handler)<EOL>elb_service_deregister = elb_subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>elb_service_deregister.add_argument('<STR_LIT>', help='<STR_LIT>')<EOL>elb_service_deregister.add_argument('<STR_LIT>', nargs='<STR_LIT:+>', help='<STR_LIT>')<EOL>elb_service_deregister.set_defaults(func=elb_deregister_handler)<EOL>elb_service_zones = elb_subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>elb_service_zones.add_argument('<STR_LIT>', help='<STR_LIT>')<EOL>elb_service_zones.add_argument('<STR_LIT>', nargs='<STR_LIT:+>', help='<STR_LIT>')<EOL>elb_service_zones.add_argument('<STR_LIT:status>', help='<STR_LIT>', choices=['<STR_LIT>', '<STR_LIT>'])<EOL>elb_service_zones.set_defaults(func=elb_zones_handler)<EOL>elb_service_delete = elb_subparsers.add_parser('<STR_LIT>', help='<STR_LIT>')<EOL>elb_service_delete.add_argument('<STR_LIT>', help='<STR_LIT>')<EOL>elb_service_delete.set_defaults(func=elb_delete_handler)<EOL>arguments = p.parse_args()<EOL>arguments.func(p, arguments)<EOL>
AWS support script's main method