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

Allow prompt to have a default answer. #156

Merged
merged 6 commits into from
Oct 16, 2024
Merged

Conversation

Gerrit91
Copy link
Contributor

@Gerrit91 Gerrit91 commented Oct 9, 2024

Description

It's typical for CLI tools to have default answers, which are indicated by capital letters. This PR introduces default answers to our generic CLI prompts.

@Gerrit91 Gerrit91 marked this pull request as ready for review October 11, 2024 13:37
@Gerrit91 Gerrit91 requested a review from a team as a code owner October 11, 2024 13:37
@Gerrit91 Gerrit91 requested a review from vknabel October 11, 2024 13:37
pkg/genericcli/prompt.go Outdated Show resolved Hide resolved
@Gerrit91 Gerrit91 merged commit 100f7e5 into master Oct 16, 2024
2 checks passed
@Gerrit91 Gerrit91 deleted the prompt-default-answer branch October 16, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants