segmentio / topicctl

Tool for declarative management of Kafka topics
MIT License
580 stars 54 forks source link

Create separate subcmds for get #148

Closed petedannemann closed 10 months ago

petedannemann commented 10 months ago

In order to make topicctl get more flexible in future work, this PR breaks the topicctl get subcommands into proper Cobra subcommands. This allows them to be configured individually and will open up the possibility of custom flags for each. The functionally of them is equivalent, but they now have descriptions.

These commands are not under automated tests so I functionally tested several of them commands side by side with the old implementation and the output looked the same as before