From 317904cfb8a25fcdef398824f6c91b6fbf17a29d Mon Sep 17 00:00:00 2001 From: sowmyasri Date: Mon, 19 Aug 2024 11:22:23 +0200 Subject: [PATCH] updated help command --- fedn/cli/run_cmd.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fedn/cli/run_cmd.py b/fedn/cli/run_cmd.py index ca74caebc..731f83624 100644 --- a/fedn/cli/run_cmd.py +++ b/fedn/cli/run_cmd.py @@ -59,7 +59,7 @@ def run_cmd(ctx): @click.option("-p", "--path", required=True, help="Path to package directory containing fedn.yaml") @click.option("-i", "--input", required=True, help="Path to input model" ) @click.option("-o", "--output", required=True, help="Path to write the output JSON containing validation metrics") -@click.option("-v", "--keep-venv", is_flag=True, required=False, help="flag if set doesn't remove venv") +@click.option("-v", "--keep-venv", is_flag=True, required=False, help="Use flag to keep the python virtual environment (python_env in fedn.yaml)") @click.pass_context def validate_cmd(ctx, path, input, output, keep_venv): """Execute 'validate' entrypoint in fedn.yaml. @@ -86,7 +86,7 @@ def validate_cmd(ctx, path, input, output, keep_venv): @click.option("-p", "--path", required=True, help="Path to package directory containing fedn.yaml") @click.option("-i", "--input", required=True, help="Path to input model parameters" ) @click.option("-o", "--output", required=True, help="Path to write the updated model parameters ") -@click.option("-v", "--keep-venv", is_flag=True, required=False, help="flag if set doesn't remove venv") +@click.option("-v", "--keep-venv", is_flag=True, required=False, help="Use flag to keep the python virtual environment (python_env in fedn.yaml)") @click.pass_context def train_cmd(ctx, path, input, output, keep_venv): """Execute 'train' entrypoint in fedn.yaml. @@ -111,7 +111,7 @@ def train_cmd(ctx, path, input, output, keep_venv): delete_virtual_environment(dispatcher) @run_cmd.command("startup") @click.option("-p", "--path", required=True, help="Path to package directory containing fedn.yaml") -@click.option("-v", "--keep-venv", is_flag=True, required=False, help="flag if set doesn't remove venv") +@click.option("-v", "--keep-venv", is_flag=True, required=False, help="Use flag to keep the python virtual environment (python_env in fedn.yaml)") @click.pass_context def startup_cmd(ctx, path, keep_venv): """Execute 'startup' entrypoint in fedn.yaml. @@ -136,7 +136,7 @@ def startup_cmd(ctx, path, keep_venv): @run_cmd.command("build") @click.option("-p", "--path", required=True, help="Path to package directory containing fedn.yaml") -@click.option("-v", "--keep-venv", is_flag=True, required=False, help="flag if set doesn't remove venv") +@click.option("-v", "--keep-venv", is_flag=True, required=False, help="Use flag to keep the python virtual environment (python_env in fedn.yaml)") @click.pass_context def build_cmd(ctx, path, keep_venv): """Execute 'build' entrypoint in fedn.yaml.