From 480bb4077814f5383f34bd2fddaef3335d92e04f Mon Sep 17 00:00:00 2001 From: bra-i-am Date: Wed, 27 Mar 2024 18:31:04 -0500 Subject: [PATCH] docs: improve docstring & command helper to be clearer --- tutordistro/commands/run_extra_commands.py | 4 ++-- .../distro/extra_commands/infrastructure/tutor_commands.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tutordistro/commands/run_extra_commands.py b/tutordistro/commands/run_extra_commands.py index 30842d2..95c43b7 100644 --- a/tutordistro/commands/run_extra_commands.py +++ b/tutordistro/commands/run_extra_commands.py @@ -13,10 +13,10 @@ ) -@click.command(name="run-extra-commands", help="Run distro extra commands") +@click.command(name="run-extra-commands", help="Run tutor commands") def run_extra_commands(): """ - This command runs the distro extra commands + This command runs tutor commands defined in DISTRO_EXTRA_COMMANDS """ directory = ( subprocess.check_output("tutor config printroot", shell=True) diff --git a/tutordistro/distro/extra_commands/infrastructure/tutor_commands.py b/tutordistro/distro/extra_commands/infrastructure/tutor_commands.py index fd38eed..79c6304 100644 --- a/tutordistro/distro/extra_commands/infrastructure/tutor_commands.py +++ b/tutordistro/distro/extra_commands/infrastructure/tutor_commands.py @@ -1,5 +1,5 @@ """ -Distro tutor commands functions. +Distro tutor command functions. """ import subprocess