code: func NewKafkagenCommand(stdin io.Reader, stdout, stderr io.Writer) *cobra.Command {
  	KafkagenMain = kafkagen.NewMain()
  	command, err := cobrafy.Command(KafkagenMain)
  	if err != nil {
  		panic(err)
  	}
  	command.Use = "kafkagen"
  	command.Short = "Put fake data into kafka."
  	return command
  }
docs: // NewKafkagenCommand returns a new cobra command wrapping KafkagenMain.