Add a --version option
This commit is contained in:
parent
ee2ff797aa
commit
95c1ac6b43
3 changed files with 3 additions and 1 deletions
|
@ -32,6 +32,7 @@ def process_name_and_memo(transaction):
|
||||||
|
|
||||||
|
|
||||||
@click.command()
|
@click.command()
|
||||||
|
@click.version_option()
|
||||||
@click.argument("ofx_filename")
|
@click.argument("ofx_filename")
|
||||||
@click.option(
|
@click.option(
|
||||||
"--ynab/--no-ynab",
|
"--ynab/--no-ynab",
|
||||||
|
|
|
@ -36,6 +36,7 @@ def process_outflow(line):
|
||||||
|
|
||||||
|
|
||||||
@click.command()
|
@click.command()
|
||||||
|
@click.version_option()
|
||||||
@click.argument("csv_filename")
|
@click.argument("csv_filename")
|
||||||
@click.option(
|
@click.option(
|
||||||
"--ynab/--no-ynab",
|
"--ynab/--no-ynab",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "ofx-processor"
|
name = "ofx-processor"
|
||||||
version = "0.4.1"
|
version = "0.4.2"
|
||||||
description = "Personal ofx processor"
|
description = "Personal ofx processor"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
|
|
Loading…
Reference in a new issue