Skip to content

Commit

Permalink
enhance shell
Browse files Browse the repository at this point in the history
  • Loading branch information
ileodo committed May 3, 2024
1 parent 5717d9d commit 9c43411
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/moneywiz_api/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from typing import Dict, List

import click
import pandas as pd

from moneywiz_api.cli.helpers import ShellHelper
from moneywiz_api.moneywiz_api import MoneywizApi
Expand Down Expand Up @@ -126,6 +127,9 @@ def main(db_file_path, demo_dump, log_level):
_vars = globals()
_vars.update(locals())

pd.options.display.max_rows = None
pd.options.display.max_colwidth = None

readline.set_completer(rlcompleter.Completer(_vars).complete)
readline.parse_and_bind("tab: complete")
InteractiveConsole(_vars).interact(banner="\n".join(banner))
Expand Down

0 comments on commit 9c43411

Please sign in to comment.