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

[v16] Refactor CLI prompt and config logic #47925

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

Joerger
Copy link
Contributor

@Joerger Joerger commented Oct 24, 2024

Backport #47874 to branch/v16

* Refactor CLI prompt and config logic.

* Move CLI prompt configuration to CLIPrompt

* Factor out dual prompt in CLI prompt logic.

* Make cli config a field rather than embedded; Add NewCLIPromptV2.
@Joerger Joerger added the no-changelog Indicates that a PR does not require a changelog entry label Oct 24, 2024
@github-actions github-actions bot added backport size/sm tctl tctl - Teleport admin tool labels Oct 24, 2024
@Joerger Joerger enabled auto-merge October 25, 2024 17:05
@Joerger Joerger added this pull request to the merge queue Oct 25, 2024
Merged via the queue into branch/v16 with commit 4756f37 Oct 25, 2024
40 checks passed
@Joerger Joerger deleted the joerger/v16/cli-prompt-refactor branch October 25, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/sm tctl tctl - Teleport admin tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants