flyte icon indicating copy to clipboard operation
flyte copied to clipboard

Integrate Bubbletea list CLI for command selecting

Open zychen5186 opened this issue 1 year ago • 1 comments

Tracking issue

Related to https://github.com/flyteorg/flyte/issues/<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

How was this patch tested?

This feature will only be triggered when -i flag is specified

Case I tested:

./bin/flytectl -i
./bin/flytectl get -i 
./bin/flytectl get execution -p my-project  -i 
./bin/flytectl get execution -p my-project -d development -i 

Setup process

make compile

Screenshots

May-12-2024 15-43-38

Check all the applicable boxes

  • [ ] I updated the documentation accordingly.
  • [ ] All new and existing tests passed.
  • [X] All commits are signed-off.

Related PRs

https://github.com/flyteorg/flyte/pull/5310

Docs link

zychen5186 avatar May 12 '24 22:05 zychen5186

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.09%. Comparing base (2f1f813) to head (d2929a6). Report is 26 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5357   +/-   ##
=======================================
  Coverage   61.08%   61.09%           
=======================================
  Files         793      793           
  Lines       51156    51157    +1     
=======================================
+ Hits        31251    31252    +1     
  Misses      17033    17033           
  Partials     2872     2872           
Flag Coverage Δ
unittests-datacatalog 69.31% <ø> (ø)
unittests-flyteadmin 58.86% <ø> (ø)
unittests-flytecopilot 17.79% <ø> (ø)
unittests-flytectl 68.32% <100.00%> (+<0.01%) :arrow_up:
unittests-flyteidl 79.30% <ø> (ø)
unittests-flyteplugins 61.94% <ø> (ø)
unittests-flytepropeller 57.32% <ø> (ø)
unittests-flytestdlib 65.75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 13 '24 05:05 codecov[bot]