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

cmd: add completion command #133

Merged
merged 1 commit into from
Oct 2, 2019
Merged

Conversation

camandel
Copy link
Contributor

@camandel camandel commented Oct 1, 2019

Added "completion" command to generate scripts for shell auto-completion (bash and zsh).
Example:

agola completion bash >/etc/bash_completion.d/agola

cmd/agola/cmd/completion.go Outdated Show resolved Hide resolved
@camandel camandel force-pushed the cmd_add_completion branch from 6508398 to d409e6e Compare October 1, 2019 10:02
cmd/agola/cmd/completionzsh.go Outdated Show resolved Hide resolved
cmd/agola/cmd/completionbash.go Outdated Show resolved Hide resolved
cmd/agola/cmd/completionbash.go Show resolved Hide resolved
@camandel camandel force-pushed the cmd_add_completion branch from d409e6e to 761a777 Compare October 1, 2019 14:02
@sgotti
Copy link
Member

sgotti commented Oct 2, 2019

@camandel LGTM. Merging. Thanks!

@sgotti sgotti merged commit 9588394 into agola-io:master Oct 2, 2019
@camandel camandel deleted the cmd_add_completion branch October 4, 2019 09:38
tulliobotti64 pushed a commit to tulliobotti64/agola that referenced this pull request Oct 19, 2022
tulliobotti64 pushed a commit to tulliobotti64/agola that referenced this pull request Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants