#NEWLINE# def main( ) : #NEWLINE# #INDENT# parser = argparse . ArgumentParser ( description = six . u ( 'Minify content of HTML files' ) ) #NEWLINE# parser . add_argument ( 'filename' , metavar = 'filename' , type = str , nargs = 1 ) #NEWLINE# parser . add_argument ( '--keep-comments' , action = 'store_true' ) #NEWLINE# args = parser . parse_args ( ) #NEWLINE# content = '' #NEWLINE# with open ( os . path . join ( my_dir , args . filename [ 0 ] ) ) as html_file : #NEWLINE# #INDENT# content = html_file . read ( ) #NEWLINE# #UNINDENT# print ( html_minify ( args , ignore_comments = ( not args . keep_comments ) ) )