feat(commands/bank/add): Add all supported GoCardless country ISO codes.

This commit is contained in:
Elisiário Couto
2024-03-08 00:00:53 +00:00
parent 7f71589af1
commit 0c8f68adfd

View File

@@ -14,7 +14,42 @@ def add(ctx):
"""
country = click.prompt(
"Bank Country",
type=click.Choice(["PT", "GB"], case_sensitive=True),
type=click.Choice(
[
"AT",
"BE",
"BG",
"HR",
"CY",
"CZ",
"DK",
"EE",
"FI",
"FR",
"DE",
"GR",
"HU",
"IS",
"IE",
"IT",
"LV",
"LI",
"LT",
"LU",
"MT",
"NL",
"NO",
"PL",
"PT",
"RO",
"SK",
"SI",
"ES",
"SE",
"GB",
],
case_sensitive=True,
),
default="PT",
)
info(f"Getting bank list for country: {country}")