Add a --version option

This commit is contained in:
Gabriel Augendre 2020-02-13 18:21:02 +01:00
parent ee2ff797aa
commit 95c1ac6b43
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4
3 changed files with 3 additions and 1 deletions

View file

@ -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",

View file

@ -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",

View file

@ -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"