Improve doc

This commit is contained in:
Gabriel Augendre 2020-02-29 11:53:43 +01:00
parent ce85620f78
commit 3d4758c0d9
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4
2 changed files with 7 additions and 4 deletions

View file

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

View file

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