Skip to content

feat: bash completion and command docs automation#305

Merged
tuunit merged 1 commit into
refactor/service-definitionfrom
feat/bash-completion
May 18, 2026
Merged

feat: bash completion and command docs automation#305
tuunit merged 1 commit into
refactor/service-definitionfrom
feat/bash-completion

Conversation

@tuunit
Copy link
Copy Markdown
Contributor

@tuunit tuunit commented May 15, 2026

📝 Summary

This PR introduces bash completion for kubara:

# add the following line to your .bashrc
$ source <(kubara completion bash)
# or for zsh
$ source <(kubara completion zsh)
# after loading your rc file or opening a new terminal you will have tab completion for kubara
$ kubara <tab>
bootstrap  -- Bootstrap ArgoCD onto the specified cluster with optional external-secrets and prometheus CRD
generate   -- generates files from embedded templates and the config file; by default for both Helm and Terraform
help       -- Shows a list of commands or help for one command
init       -- Initialize a new kubara directory
schema     -- Generate JSON schema file for config structure

🧩 Type of change

  • 🔧 CLI / Go code
  • 📦 Helm chart
  • 🧱 Terraform module
  • 📝 Documentation
  • 🧪 Test or CI change
  • ♻️ Refactor / cleanup

⚠️ Is this a breaking change?

  • Yes, this change breaks existing functionality (explain in summary)

🧪 Testing

  • CI passed
  • Manually tested (local/dev cluster)
  • Unit tested
  • Not tested (explain why below)

🔗 Related Issues / Tickets

✅ Checklist

  • Code compiles and passes all tests
  • Linting and style checks pass
  • Comments added for complex logic
  • Documentation updated (if applicable)

📎 Additional Context (optional)

@tuunit tuunit force-pushed the feat/bash-completion branch from f8a3038 to 2d06c1e Compare May 15, 2026 16:51
Signed-off-by: Jan Larwig <jan@larwig.com>
@tuunit tuunit force-pushed the feat/bash-completion branch from 2d06c1e to 077a444 Compare May 15, 2026 16:51
@tuunit
Copy link
Copy Markdown
Contributor Author

tuunit commented May 18, 2026

urfave/cli-docs#22

Copy link
Copy Markdown
Contributor

@fabian-schmitt fabian-schmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍🏽

@tuunit tuunit merged commit af61063 into refactor/service-definition May 18, 2026
3 checks passed
@tuunit tuunit deleted the feat/bash-completion branch May 18, 2026 14:29
tuunit added a commit that referenced this pull request May 19, 2026
Signed-off-by: Jan Larwig <jan@larwig.com>
tuunit added a commit that referenced this pull request May 19, 2026
Signed-off-by: Jan Larwig <jan@larwig.com>
tuunit added a commit that referenced this pull request May 19, 2026
Signed-off-by: Jan Larwig <jan@larwig.com>
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