Skip to content

[Enhancement]: shell completions #78

@kastl-ars

Description

@kastl-ars

📌 Enhancement Title

shell completions for bash, fish and zsh

💫 Enhancement Summary

Dear maintainers,

most cloud-native tools are providing a shell completion subcommand to generate completion files. Something like xxx completion bash, normally for bash, fish and zsh. From what I heard this is relatively easy to implement in golang.

Would it be possible to add such a completion subcommand for ksctl (the CLI), too?

Kind Regards,
Johannes (who has just started packaging the CLI for openSUSE...)

🎯 Motivation and Goals

Shell completions make it easier for the user to use the tool.

🔨 Detailed Design

I am not a go developer, but if you look at e.g. helm or kubectl, they offer such a completion subcommand.

🤔 Alternative Approaches

No response

🎯 Impact Areas

  • 🖥️ CLI - Command line interface changes
  • 🎨 UI - User interface modifications
  • 📚 Documentation - Documentation updates
  • ⚙️ Core - Core functionality changes
  • 🔌 API - API modifications
  • 🧪 Tests - Test suite updates

📎 Additional Context

No response

📝 Agreement

  • 🤝 Engage in constructive discussion and follow our Contribution Guidelines
  • 💪 Help implement this enhancement if approved (optional)
  • 📢 Provide additional information if requested

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions