From 3d4758c0d9de7d5bca46f2958d15efd6c98faa22 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 29 Feb 2020 11:53:43 +0100 Subject: [PATCH] Improve doc --- ofx_processor/main.py | 6 ++++-- ofx_processor/utils/ynab.py | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ofx_processor/main.py b/ofx_processor/main.py index d9821e4..99630db 100644 --- a/ofx_processor/main.py +++ b/ofx_processor/main.py @@ -9,8 +9,10 @@ CONTEXT_SETTINGS = dict(help_option_names=["-h", "--help"]) @click.group(context_settings=CONTEXT_SETTINGS) @click.version_option() def cli(): - pass # This function acts only as a group to collect other subcommands - # As such, it intentionally has no body + """ + Import your data to YNAB with the processors listed below + or manage your config. + """ cli.add_command(ynab.config, name="config") diff --git a/ofx_processor/utils/ynab.py b/ofx_processor/utils/ynab.py index 73314dd..01b5c48 100644 --- a/ofx_processor/utils/ynab.py +++ b/ofx_processor/utils/ynab.py @@ -29,8 +29,9 @@ def get_config_file_name(): @click.group() def config(): - pass # This function acts only as a group to collect other subcommands - # As such, it intentionally has no body + """ + Manage configuration with subcommands + """ @config.command("edit")