From 927824b7cbc2975fa11a2c0a3b0e4f7f065bed5c Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Tue, 14 Nov 2023 09:53:29 -0800 Subject: [PATCH] CLI interactivity (#13148) Will implement more later --- libs/cli/langchain_cli/namespaces/app.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libs/cli/langchain_cli/namespaces/app.py b/libs/cli/langchain_cli/namespaces/app.py index 2eeddcdb64d..ae3c38cabe3 100644 --- a/libs/cli/langchain_cli/namespaces/app.py +++ b/libs/cli/langchain_cli/namespaces/app.py @@ -35,7 +35,13 @@ app_cli = typer.Typer(no_args_is_help=True, add_completion=False) @app_cli.command() def new( - name: Annotated[str, typer.Argument(help="The name of the folder to create")], + name: Annotated[ + str, + typer.Option( + help="The name of the folder to create", + prompt="What folder would you like to create?", + ), + ], *, package: Annotated[ Optional[List[str]],