1
0
Fork 0
mirror of synced 2024-06-26 10:00:19 +12:00

docs: Update shell message to import models

This commit is contained in:
Cristian 2020-12-06 12:26:22 -05:00
parent 8d22ebf988
commit db73d92f83

View file

@ -443,7 +443,7 @@ def log_shell_welcome_msg():
from .cli import list_subcommands
print('{green}# ArchiveBox Imports{reset}'.format(**ANSI))
print('{green}from archivebox.core.models import Snapshot, User{reset}'.format(**ANSI))
print('{green}from core.models import Snapshot, User{reset}'.format(**ANSI))
print('{green}from archivebox import *\n {}{reset}'.format("\n ".join(list_subcommands().keys()), **ANSI))
print()
print('[i] Welcome to the ArchiveBox Shell!')