<s> """<STR_LIT>""" <EOL> from argparse import ArgumentParser , ArgumentDefaultsHelpFormatter <EOL> from cheddar . app import create_app <EOL> def main ( ) : <EOL> parser = ArgumentParser ( formatter_class = ArgumentDefaultsHelpFormatter ) <EOL> parser . add_argument ( '<STR_LIT>' , <EOL> dest = '<STR_LIT>' , <EOL> action = '<STR_LIT:store_true>' , <EOL> default = False , <EOL> help = '<STR_LIT>' ) <EOL> parser . add_argument ( '<STR_LIT>' , <EOL> dest = '<STR_LIT:port>' , <EOL> type = int , <EOL> default = <NUM_LIT> , <EOL> help = '<STR_LIT>' ) <EOL> args , extra = parser . parse_known_args ( ) <EOL> app = create_app ( debug = True ) <EOL> if args . all_interfaces : <EOL> app . run ( host = '<STR_LIT>' , <EOL> port = args . port ) <EOL> else : <EOL> app . run ( port = args . port ) </s>
