Skip to content

Commit 471a97e

Browse files
authored
fix: public consume and produce commands (#1637)
1 parent 3b6b527 commit 471a97e

File tree

5 files changed

+130
-2
lines changed

5 files changed

+130
-2
lines changed

docs/commands/rhoas_kafka_topic.md

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/commands/rhoas_kafka_topic_consume.md

Lines changed: 70 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/commands/rhoas_kafka_topic_produce.md

Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/cmd/kafka/topic/consume/consume.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ func NewConsumeTopicCommand(f *factory.Factory) *cobra.Command {
6565
Short: f.Localizer.MustLocalize("kafka.topic.consume.cmd.shortDescription"),
6666
Long: f.Localizer.MustLocalize("kafka.topic.consume.cmd.longDescription"),
6767
Example: f.Localizer.MustLocalize("kafka.topic.consume.cmd.example"),
68-
Hidden: true,
6968
Args: cobra.NoArgs,
7069
RunE: func(cmd *cobra.Command, args []string) (err error) {
7170
if opts.kafkaID == "" {

pkg/cmd/kafka/topic/produce/produce.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ func NewProduceTopicCommand(f *factory.Factory) *cobra.Command {
5656
Short: f.Localizer.MustLocalize("kafka.topic.produce.cmd.shortDescription"),
5757
Long: f.Localizer.MustLocalize("kafka.topic.produce.cmd.longDescription"),
5858
Example: f.Localizer.MustLocalize("kafka.topic.produce.cmd.example"),
59-
Hidden: true,
6059
Args: cobra.NoArgs,
6160
RunE: func(cmd *cobra.Command, args []string) (err error) {
6261
if opts.kafkaID == "" {

0 commit comments

Comments
 (0)