This commit is contained in:
richardpaulhudson 2022-07-20 18:14:38 +02:00
parent 4902dd68be
commit e2c2ba4aba

View File

@ -159,10 +159,11 @@ def print_run_help(project_dir: Path, subcommand: Optional[str] = None) -> None:
steps.append((parallel_char, step))
print(f"\nWorkflow consisting of {len(steps)} commands:")
if contains_parallel:
steps_data = [
parallel_steps_data = [
(f"{i + 1}.", f"{step[0]} {step[1]}", commands[step[1]].get("help", ""))
for i, step in enumerate(steps)
]
msg.table(parallel_steps_data)
else:
steps_data = [
(f"{i + 1}. {step[1]}", commands[step[1]].get("help", ""))