#NEWLINE# @ click . command ( help = 'List the browser history.' ) #NEWLINE# def history_show( ) : #NEWLINE# #INDENT# history = get_history ( ) #NEWLINE# click . echo ( click . style ( 'History' , bold = True ) ) #NEWLINE# for ( is_active , doc ) in history . get_items ( ) : #NEWLINE# #INDENT# prefix = ( '[*] ' if is_active else '[ ] ' ) #NEWLINE# click . echo ( ( prefix + get_document_string ( doc ) ) )