aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gen_completion.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen_completion.py')
-rw-r--r--scripts/gen_completion.py6
1 files changed, 5 insertions, 1 deletions
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
# "<group leaf>" 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",
+ },
}