BentoML icon indicating copy to clipboard operation
BentoML copied to clipboard

feat(wip): CLI autocompletion

Open aarnphm opened this issue 3 years ago • 2 comments

Signed-off-by: Aaron Pham [email protected]

added zsh completion.

Ideally we want to extend click-completion, but right now click-completion is very slow and wouldn't understand how to autocomplete bento and models

aarnphm avatar Jun 20 '22 23:06 aarnphm

Codecov Report

Merging #2618 (8c14cb5) into main (3c2c0de) will decrease coverage by 0.64%. The diff coverage is 100.00%.

:exclamation: Current head 8c14cb5 differs from pull request most recent head 3f68575. Consider uploading reports for the commit 3f68575 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2618      +/-   ##
==========================================
- Coverage   68.08%   67.44%   -0.65%     
==========================================
  Files         113      120       +7     
  Lines       10899    10111     -788     
  Branches     1923        0    -1923     
==========================================
- Hits         7421     6819     -602     
- Misses       3041     3292     +251     
+ Partials      437        0     -437     
Impacted Files Coverage Δ
bentoml/_internal/cli/bento_management.py 57.02% <100.00%> (ø)
bentoml/_internal/utils/pkg.py 0.00% <0.00%> (-81.82%) :arrow_down:
bentoml/_internal/frameworks/pytorch.py 65.33% <0.00%> (-30.97%) :arrow_down:
bentoml/_internal/io_descriptors/multipart.py 63.82% <0.00%> (-30.29%) :arrow_down:
bentoml/_internal/frameworks/lightgbm.py 56.77% <0.00%> (-25.17%) :arrow_down:
bentoml/_internal/frameworks/sklearn.py 63.41% <0.00%> (-24.52%) :arrow_down:
bentoml/_internal/frameworks/transformers.py 55.02% <0.00%> (-22.50%) :arrow_down:
bentoml/_internal/frameworks/pytorch_lightning.py 75.43% <0.00%> (-19.80%) :arrow_down:
bentoml/_internal/utils/analytics/usage_stats.py 76.81% <0.00%> (-18.89%) :arrow_down:
bentoml/_internal/io_descriptors/text.py 69.23% <0.00%> (-16.19%) :arrow_down:
... and 114 more

codecov[bot] avatar Jun 20 '22 23:06 codecov[bot]

I will close this for now, as it is lower priority in the list

aarnphm avatar Jun 28 '22 19:06 aarnphm