Skip to content

Commit 9cdc9ce

Browse files
committed
recipe to workflow
1 parent da0b831 commit 9cdc9ce

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/haddock/clis/cli.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,13 @@
3636
ap = argparse.ArgumentParser()
3737

3838
ap.add_argument(
39-
"recipe",
39+
"workflow",
4040
type=arg_file_exist,
41-
help="The input recipe file path",
42-
)
41+
help=(
42+
"The input configuration file path describing "
43+
"the workflow to be performed"
44+
),
45+
)
4346

4447
add_restart_arg(ap)
4548
add_extend_run(ap)
@@ -76,7 +79,7 @@ def maincli() -> None:
7679

7780

7881
def main(
79-
recipe: FilePath,
82+
workflow: FilePath,
8083
restart: Optional[int] = None,
8184
extend_run: Optional[FilePath] = EXTEND_RUN_DEFAULT,
8285
setup_only: bool = False,
@@ -87,8 +90,8 @@ def main(
8790
8891
Parameters
8992
----------
90-
recipe : str or pathlib.Path
91-
The path to the recipe (config file).
93+
workflow : str or pathlib.Path
94+
The path to the workflow (config file).
9295
9396
restart : int
9497
The step to restart the run from (inclusive).
@@ -145,7 +148,7 @@ def main(
145148

146149
with log_error_and_exit():
147150
params, other_params = setup_run(
148-
recipe,
151+
workflow,
149152
restart_from=restart,
150153
extend_run=extend_run,
151154
)

0 commit comments

Comments
 (0)