Skip to content

Commit

Permalink
fix: public consume and produce commands (#1637)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki authored Jul 12, 2022
1 parent 3b6b527 commit 471a97e
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/commands/rhoas_kafka_topic.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 70 additions & 0 deletions docs/commands/rhoas_kafka_topic_consume.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions docs/commands/rhoas_kafka_topic_produce.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pkg/cmd/kafka/topic/consume/consume.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ func NewConsumeTopicCommand(f *factory.Factory) *cobra.Command {
Short: f.Localizer.MustLocalize("kafka.topic.consume.cmd.shortDescription"),
Long: f.Localizer.MustLocalize("kafka.topic.consume.cmd.longDescription"),
Example: f.Localizer.MustLocalize("kafka.topic.consume.cmd.example"),
Hidden: true,
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) (err error) {
if opts.kafkaID == "" {
Expand Down
1 change: 0 additions & 1 deletion pkg/cmd/kafka/topic/produce/produce.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ func NewProduceTopicCommand(f *factory.Factory) *cobra.Command {
Short: f.Localizer.MustLocalize("kafka.topic.produce.cmd.shortDescription"),
Long: f.Localizer.MustLocalize("kafka.topic.produce.cmd.longDescription"),
Example: f.Localizer.MustLocalize("kafka.topic.produce.cmd.example"),
Hidden: true,
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) (err error) {
if opts.kafkaID == "" {
Expand Down

0 comments on commit 471a97e

Please sign in to comment.