diff --git a/ofx_processor/utils/config.py b/ofx_processor/utils/config.py index df953a5..b42b756 100644 --- a/ofx_processor/utils/config.py +++ b/ofx_processor/utils/config.py @@ -38,12 +38,18 @@ def config(): """Manage configuration.""" -@config.command("edit") +@config.command("edit", help="Edit the config file.") def edit_config(): config_file = get_config_file_name() click.edit(filename=config_file) +@config.command("file", help="Print the config file path.") +def show_file_name(): + config_file = get_config_file_name() + click.echo(config_file) + + @dataclass(frozen=True) class Config: account: str diff --git a/pyproject.toml b/pyproject.toml index 2c58042..7bd9dda 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ofx-processor" -version = "3.1.0" +version = "3.2.0" description = "Personal ofx processor" readme = "README.md" license = "GPL-3.0-or-later"