CLI interactivity (#13148)

Will implement more later
This commit is contained in:
Erick Friis
2023-11-14 09:53:29 -08:00
committed by GitHub
parent 2f6fe6ddf3
commit 927824b7cb

View File

@@ -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]],