mirror of
https://github.com/elisiariocouto/leggen.git
synced 2026-01-30 23:28:17 +00:00
feat(commands/bank/add): Add all supported GoCardless country ISO codes.
This commit is contained in:
@@ -14,7 +14,42 @@ def add(ctx):
|
|||||||
"""
|
"""
|
||||||
country = click.prompt(
|
country = click.prompt(
|
||||||
"Bank Country",
|
"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",
|
default="PT",
|
||||||
)
|
)
|
||||||
info(f"Getting bank list for country: {country}")
|
info(f"Getting bank list for country: {country}")
|
||||||
|
|||||||
Reference in New Issue
Block a user