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

Bash auto completion for ank CLI #237

Open
3 tasks
christoph-hamm opened this issue Apr 10, 2024 · 2 comments
Open
3 tasks

Bash auto completion for ank CLI #237

christoph-hamm opened this issue Apr 10, 2024 · 2 comments
Labels
enhancement New feature or request. Issue will appear in the change log "Features" good first issue Good for newcomers
Milestone

Comments

@christoph-hamm
Copy link
Contributor

Description

We should write an auto completion script for bash, to make the usage for the ank CLI easier.

Goals

Add auto completion script.

Final result

Summary

To be filled when the final solution is sketched.

Tasks

  • Auto completion for command names
  • Auto completion for workload names (only where workload names are used)
  • Auto completion of filenames (only where filenames are used)
@christoph-hamm christoph-hamm added the enhancement New feature or request. Issue will appear in the change log "Features" label Apr 10, 2024
@windsource
Copy link
Contributor

Maybe we can add support for zsh autocompletion as well.

@windsource windsource added the good first issue Good for newcomers label Apr 12, 2024
@krucod3 krucod3 added this to the backlog milestone Apr 15, 2024
@krucod3 krucod3 modified the milestones: backlog, v0.5 May 2, 2024
@windsource
Copy link
Contributor

See also Clap CompleteCommand which seems to be work in progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request. Issue will appear in the change log "Features" good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants