mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-12 09:34:50 +02:00
load ipython rich extension in archivebox shell
This commit is contained in:
@@ -2,4 +2,9 @@ from archivebox.logging_util import log_shell_welcome_msg
|
||||
|
||||
|
||||
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()
|
||||
|
Reference in New Issue
Block a user