(
env: Environment,
filename: list[click.Path],
backup_suffix: str,
rename_account: list[tuple[str, str]],
rename_currency: list[tuple[str, str]],
stdin_mode: bool,
backup: bool,
)
| 221 | @click.option("-b", "--backup", is_flag=True, help="Create backup file") |
| 222 | @pass_env |
| 223 | def main( |
| 224 | env: Environment, |
| 225 | filename: list[click.Path], |
| 226 | backup_suffix: str, |
| 227 | rename_account: list[tuple[str, str]], |
| 228 | rename_currency: list[tuple[str, str]], |
| 229 | stdin_mode: bool, |
| 230 | backup: bool, |
| 231 | ): |
| 232 | format_beancount( |
| 233 | filenames=list(map(lambda item: pathlib.Path(str(item)), filename)), |
| 234 | backup_suffix=backup_suffix, |
| 235 | rename_account=rename_account, |
| 236 | rename_currency=rename_currency, |
| 237 | stdin_mode=stdin_mode, |
| 238 | backup=backup, |
| 239 | logger=env.logger, |
| 240 | ) |
nothing calls this directly
no test coverage detected