Skip to content

Commit 1e544ae

Browse files
committed
add make command
1 parent 98a7dfc commit 1e544ae

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

src/evalml/cli.py

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,7 @@ def showcase(configfile, cores, verbose, dry_run, unlock, report, extra_smk_args
128128
)
129129

130130

131-
@cli.command(
132-
help="Generate a sandbox for inference for the runs defined in the config YAML file."
133-
)
131+
@cli.command(help="Generate a sandbox for inference runs in the YAML config file.")
134132
@click.argument(
135133
"configfile", type=click.Path(exists=True, dir_okay=False, path_type=Path)
136134
)
@@ -146,3 +144,22 @@ def sandbox(configfile, cores, verbose, dry_run, unlock, report, extra_smk_args)
146144
report,
147145
extra_smk_args,
148146
)
147+
148+
149+
@cli.command(help="Make a specific file from a workflow defined in the YAML file.")
150+
@click.argument(
151+
"configfile", type=click.Path(exists=True, dir_okay=False, path_type=Path)
152+
)
153+
@click.argument("target", type=str)
154+
@workflow_options
155+
def make(configfile, target, cores, verbose, dry_run, unlock, report, extra_smk_args):
156+
execute_workflow(
157+
configfile,
158+
target,
159+
cores,
160+
verbose,
161+
dry_run,
162+
unlock,
163+
report,
164+
extra_smk_args,
165+
)

0 commit comments

Comments
 (0)