From 534eeab3644dd4aff7173cc61d0b1ab2941d5e35 Mon Sep 17 00:00:00 2001 From: Tianwei Dong Date: Mon, 29 Apr 2024 22:18:28 +0100 Subject: [PATCH] [Fix] Add missing tag manger into cli (#22) --- src/moneywiz_api/cli/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/moneywiz_api/cli/cli.py b/src/moneywiz_api/cli/cli.py index f56d896..8a0a7e3 100644 --- a/src/moneywiz_api/cli/cli.py +++ b/src/moneywiz_api/cli/cli.py @@ -65,6 +65,7 @@ def main(db_file_path, demo_dump, log_level): category_manager, transaction_manager, investment_holding_manager, + tag_manager, ) = ( moneywiz_api.accessor, moneywiz_api.account_manager, @@ -72,6 +73,7 @@ def main(db_file_path, demo_dump, log_level): moneywiz_api.category_manager, moneywiz_api.transaction_manager, moneywiz_api.investment_holding_manager, + moneywiz_api.tag_manager, ) helper = ShellHelper(moneywiz_api) @@ -84,6 +86,7 @@ def main(db_file_path, demo_dump, log_level): f"{category_manager=}".split("=")[0]: "Category Manageer", f"{transaction_manager=}".split("=")[0]: "Transaction Manager", f"{investment_holding_manager=}".split("=")[0]: "Investment Holding Manager", + f"{tag_manager=}".split("=")[0]: "Tag Manager", f"{helper=}".split("=")[0]: "Shell Helper", }