#5540 Integrate Bubbletea list CLI for command selecting (get)
Pull request opened by
zychen5186 on <!date^1720188394^{date_short}|2024-07-05T14:06:34Z>
Tracking issue
Related to
#4440
Why are the changes needed?
1. Enhanced User Experience: Bubble Tea offers a more interactive and visually appealing interface. This enhances the overall user experience.
2. Increased Accessibility: With Bubble Tea, we can create CLIs that are easier to navigate, especially for users who might not be familiar with command line operations. This accessibility broadens our tool's user base.
What changes were proposed in this pull request?
User can select the command they want to use through the CLI by typing
./bin/flytectl get -i
!!!
Only get method is supported in this PR!!!
Uses GetDomain and ListProjects API to get project and domain if needed.
How was this patch tested?
This feature will only be triggered when -i flag is specified
Case tested:
./bin/flytectl -i (will not trigger bubbletea)
./bin/flytectl get -i
./bin/flytectl get execution -p my-project -i
./bin/flytectl get execution -d development -i
./bin/flytectl get execution -p my-project -d development -i
Setup process
In flytectl directory run
make compile
Screenshots
Jul-09-2024 23-38-37
Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
Related PRs
#5310
#5357
Docs link
flyteorg/flyte