def main():
parser = make_parser()<EOL>args = parser.parse_args()<EOL>if not hasattr(args, '<STR_LIT:action>'):<EOL><INDENT>parser.print_help()<EOL>exit(<NUM_LIT:1>)<EOL><DEDENT>if args.action == '<STR_LIT>':<EOL><INDENT>from bernard.misc.sheet_sync import main as main_sheet<EOL>main_sheet(args)<EOL><DEDENT>elif args.action == '<STR_LIT>':<EOL><INDENT>from bernard.cli import main as main_run<EOL>main_run()<EOL><DEDENT>elif args.action == '<STR_LIT>':<EOL><INDENT>from bernard.misc.start_project import main as main_sp<EOL>main_sp(args)<EOL><DEDENT>
Run the appropriate main function according to the output of the parser.