#NEWLINE# def main( ) : #NEWLINE# #INDENT# argparser = argparse . ArgumentParser ( prog = 'bepasty-server' ) #NEWLINE# argparser . add_argument ( '--host' , help = 'Host to listen on' ) #NEWLINE# argparser . add_argument ( '--port' , type = int , help = 'Port to listen on' ) #NEWLINE# argparser . add_argument ( '--debug' , help = 'Activate debug mode' , action = 'store_true' ) #NEWLINE# args = argparser . parse_args ( ) #NEWLINE# app = create_app ( ) #NEWLINE# print ( ' * Starting bepasty server...' ) #NEWLINE# app . run ( host = argparser . host , port = args . port , debug = args . debug )