load ipython rich extension in archivebox shell

This commit is contained in:
Nick Sweeting 2024-09-24 19:37:05 -07:00
parent 9f7937e1b7
commit bde0bf8263
No known key found for this signature in database

View file

@ -2,4 +2,9 @@ from archivebox.logging_util import log_shell_welcome_msg
if __name__ == '__main__': if __name__ == '__main__':
# load the rich extension for ipython for pretty printing
# https://rich.readthedocs.io/en/stable/introduction.html#ipython-extension
get_ipython().run_line_magic('load_ext', 'rich')
# print the welcome message
log_shell_welcome_msg() log_shell_welcome_msg()