Skip to content

Commit

Permalink
updated help command
Browse files Browse the repository at this point in the history
  • Loading branch information
sowmyasris committed Aug 19, 2024
1 parent c685cff commit 317904c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fedn/cli/run_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 317904c

Please sign in to comment.