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

Tab completion to list functions for eval and doc commands #2457

Closed
phanimarupaka opened this issue Aug 16, 2021 · 0 comments · Fixed by #2449
Closed

Tab completion to list functions for eval and doc commands #2457

phanimarupaka opened this issue Aug 16, 2021 · 0 comments · Fixed by #2449
Assignees
Labels
area/hydrate customer deep engagement enhancement New feature or request p1 size/M 2 day
Milestone

Comments

@phanimarupaka
Copy link
Contributor

This issue is to implement the tab completion feature for eval and doc commands. This is significantly helps with the discovery of functions and make them almost seem like the part of the CLI.

$ kpt fn eval -i [tab]
apply-setters:v0.1          fix:v0.2                    list-setters:v0.1           set-labels:v0.1             starlark:v0.2             
create-setters:v0.1         gatekeeper:v0.2             search-replace:v0.2         set-namespace:v0.1          upsert-resource:v0.1      
ensure-name-substring:v0.1  kubeval:v0.1                set-annotations:v0.1        set-project-id:v0.1 
$ kpt fn doc -i [tab]
apply-setters:v0.1          fix:v0.2                    list-setters:v0.1           set-labels:v0.1             starlark:v0.2             
create-setters:v0.1         gatekeeper:v0.2             search-replace:v0.2         set-namespace:v0.1          upsert-resource:v0.1      
ensure-name-substring:v0.1  kubeval:v0.1                set-annotations:v0.1        set-project-id:v0.1 
@phanimarupaka phanimarupaka added enhancement New feature or request area/hydrate size/M 2 day p1 customer deep engagement labels Aug 16, 2021
@phanimarupaka phanimarupaka added this to the v1.0.0-beta.4 milestone Aug 16, 2021
@phanimarupaka phanimarupaka self-assigned this Aug 16, 2021
@phanimarupaka phanimarupaka linked a pull request Aug 16, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hydrate customer deep engagement enhancement New feature or request p1 size/M 2 day
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant