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

Provide shell command completion support (for Bash) #32

Open
PatrickLehnerXI opened this issue Aug 4, 2021 · 0 comments
Open

Provide shell command completion support (for Bash) #32

PatrickLehnerXI opened this issue Aug 4, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@PatrickLehnerXI
Copy link
Contributor

Most shells offer tab completion to automatically complete commands and arguments based on what the user has entered on the prompt so far.

These completions usually automatically include things like all executables on the PATH, or local files and directories.
Additionally, they can usually be extended by users and third-party programs, e.g. to add (more or less intelligent) completion of sub-commands and command-line options of programs. A popular example is Git, which offers brings tab-completion for the Bash shell, with which you can complete Git sub-commands, branch names, etc.

It would be a great convenience feature for DevCmd to offer completion integration with popular shells, so that the locally available devcmd tasks are automatically completed.

The integration is usually shell-specific and therefore needs to be done individually; I suggest that we start with Bash, since this is still a very popular shell.

The tab-completion for devcmd can probably make good use of the "list" option (#30), or a variant for machine consumption.

@PatrickLehnerXI PatrickLehnerXI added the help wanted Extra attention is needed label Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant