many changes
This commit is contained in:
parent
126ede37a4
commit
661941a65c
7 changed files with 102 additions and 21 deletions
|
|
@ -66,12 +66,14 @@ def xe_healthcheck():
|
|||
"--currencies", default=",".join([]), show_default=True, type=click.STRING
|
||||
)
|
||||
@click.option("--dry-run", is_flag=True)
|
||||
@click.option("--ignore-warnings", is_flag=True)
|
||||
@click.option("--output", type=click.STRING, required=True)
|
||||
def get_rates(
|
||||
start_date: Union[str, datetime.datetime, datetime.date],
|
||||
end_date: Union[str, datetime.datetime, datetime.date],
|
||||
currencies: Union[None, str],
|
||||
dry_run: bool,
|
||||
ignore_warnings: bool,
|
||||
output: pathlib.Path,
|
||||
):
|
||||
get_rates_inputs = handle_get_rates_inputs(
|
||||
|
|
@ -79,6 +81,7 @@ def get_rates(
|
|||
end_date=end_date,
|
||||
currencies=currencies,
|
||||
dry_run=dry_run,
|
||||
ignore_warnings=ignore_warnings,
|
||||
output=output,
|
||||
)
|
||||
logger.info("Starting get-rates process.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue