From cab0885735bc48deb52553baac2701ae86dc3749 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 3 Jul 2026 18:01:52 +0200 Subject: build(completion): budget group and auto-budget enum values Co-Authored-By: Claude Opus 4.8 --- scripts/gen_completion.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/gen_completion.py') diff --git a/scripts/gen_completion.py b/scripts/gen_completion.py index cee7d8e..b749f08 100644 --- a/scripts/gen_completion.py +++ b/scripts/gen_completion.py @@ -19,7 +19,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from firefly_cli import registry import firefly_cli.commands # noqa: F401 triggers registration -GROUP_ORDER = ["auth", "account", "category", "tag", "tx"] +GROUP_ORDER = ["auth", "account", "category", "tag", "tx", "budget"] # Static value suggestions for flags whose choices are a fixed enum, keyed on # "" then flag. Account/transaction types are fixed in Firefly, so @@ -29,6 +29,10 @@ FLAG_VALUES = { "account create": {"--type": "asset expense revenue"}, "tx add": {"--type": "withdrawal deposit transfer"}, "tx edit": {"--type": "withdrawal deposit transfer"}, + "budget create": { + "--auto-budget-type": "reset rollover adjusted none", + "--auto-budget-period": "daily weekly monthly quarterly half_year yearly", + }, } -- cgit v1.2.3