Skip to content

Commit 6a2b7bd

Browse files
changing the argument name
1 parent 3702b2b commit 6a2b7bd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/datacustomcode/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def deploy(
280280
@click.option(
281281
"--use-in-feature",
282282
default="SearchIndexChunking",
283-
help="Feature to invoke the function (only applicable for functions). If not provided, will be inferred from function signature.",
283+
help="Feature where this function will be used (only applicable for function).",
284284
)
285285
def init(directory: str, code_type: str, use_in_feature: Optional[str]):
286286
from datacustomcode.scan import (
@@ -331,7 +331,7 @@ def init(directory: str, code_type: str, use_in_feature: Optional[str]):
331331
click.echo(
332332
"Test your function locally with "
333333
+ click.style(
334-
f"datacustomcode run {entrypoint_path} --test_with {test_json_path}",
334+
f"datacustomcode run {entrypoint_path} --test-with {test_json_path}",
335335
fg="blue",
336336
bold=True,
337337
)
@@ -375,7 +375,7 @@ def scan(filename: str, config: str, dry_run: bool, no_requirements: bool):
375375
@click.option("--dependencies", default=[], multiple=True)
376376
@click.option("--profile", default="default")
377377
@click.option(
378-
"--test_with",
378+
"--test-with",
379379
default=None,
380380
type=click.Path(exists=True),
381381
help="Path to test JSON file for function testing",

0 commit comments

Comments
 (0)