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

[FEATURE REQUEST] Better cli AutoComplete in bash shell and others shell #59327

Open
Rockin2 opened this issue Jan 20, 2021 · 0 comments
Open
Assignees
Labels
Core relates to code central or existential to Salt Feature new functionality including changes to functionality and code refactors, etc.
Milestone

Comments

@Rockin2
Copy link
Contributor

Rockin2 commented Jan 20, 2021

Is your feature request related to a problem? Please describe.
I began to use the salt.bash script to have autocomplete of the salt command in Bash. However, it is not complete. There is no autocompletion for pillars and states for example.

Describe the solution you'd like
A better autocompletion. I think Salt itself must have code for the autocomplete feature. Let the bash script be ultra simple and do all the work in Python in the Salt code. Maybe we can create a Autocomplete module in Salt. With that, it should be simple to add autocompletion to other shells like fish, zsh, etc.

Describe alternatives you've considered
Rewrite the bash script without modifying salt code. However, I think the bash script will be complicated and the support of others shells will not be simple.

@Rockin2 Rockin2 added the Feature new functionality including changes to functionality and code refactors, etc. label Jan 20, 2021
@twangboy twangboy modified the milestones: Aluminium, Approved Jan 25, 2021
@twangboy twangboy added Core relates to code central or existential to Salt and removed needs-triage labels Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core relates to code central or existential to Salt Feature new functionality including changes to functionality and code refactors, etc.
Projects
None yet
Development

No branches or pull requests

3 participants