Skip to content

Commit bb037a3

Browse files
committed
Add experimental tag on prompter because it can't work interactively
1 parent 21044d6 commit bb037a3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

runbook/cli/commands/plan.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,13 @@ def get_parser_by_language(language: str):
6060
"-p", "--params", default={}, type=click.UNPROCESSED, callback=validate_plan_params
6161
)
6262
@click.option("-i", "--identifier", default="", type=click.STRING)
63-
@click.option("-p", "--prompter", default="", type=click.Path(file_okay=True))
63+
@click.option(
64+
"-p",
65+
"--prompter",
66+
default="",
67+
type=click.Path(file_okay=True),
68+
help="[Experimental] Path to a prompter script that will be used to gather parameters from the user",
69+
)
6470
@click.pass_context
6571
def plan(ctx, input, embed, identifier="", params={}, prompter=""):
6672
"""Prepares the runbook for execution by injecting parameters. Doesn't run runbook."""

0 commit comments

Comments
 (0)