Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent user Experience with y/N. #1747

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions nebari/cli/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ def guided_init_wizard(ctx: typer.Context, guided_init: str):
"Would you like us to auto provision the Auth0 Machine-to-Machine app?",
default=False,
qmark=qmark,
auto_enter=False,
).unsafe_ask()

elif inputs.auth_provider.lower() == AuthenticationEnum.github.value.lower():
Expand All @@ -424,6 +425,7 @@ def guided_init_wizard(ctx: typer.Context, guided_init: str):
"Would you like to adopt a GitOps approach to managing Nebari?",
default=False,
qmark=qmark,
auto_enter=False,
).unsafe_ask():
repo_url = "http://{git_provider}/{org_name}/{repo_name}"

Expand Down Expand Up @@ -452,6 +454,7 @@ def guided_init_wizard(ctx: typer.Context, guided_init: str):
f"Would you like nebari to create a remote repository on {git_provider}?",
default=False,
qmark=qmark,
auto_enter=False,
).unsafe_ask()

if not disable_checks and inputs.repository_auto_provision:
Expand All @@ -473,6 +476,7 @@ def guided_init_wizard(ctx: typer.Context, guided_init: str):
"Would you like to add a Let's Encrypt SSL certificate to your domain?",
default=False,
qmark=qmark,
auto_enter=False,
).unsafe_ask()

if ssl_cert:
Expand All @@ -497,6 +501,7 @@ def guided_init_wizard(ctx: typer.Context, guided_init: str):
"Would you like to make advanced configuration changes?",
default=False,
qmark=qmark,
auto_enter=False,
).unsafe_ask():
# TERRAFORM STATE
inputs.terraform_state = questionary.select(
Expand Down