315157973 commented on a change in pull request #10062:
URL: https://github.com/apache/pulsar/pull/10062#discussion_r602893634
##########
File path:
pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java
##########
@@ -110,14 +111,15 @@ public PulsarClientTool(Properties properties) {
produceCommand = new CmdProduce();
consumeCommand = new CmdConsume();
+ generateDocument = new CmdGenerateDocument();
this.commandParser = new JCommander();
this.usageFormatter = new DefaultUsageFormatter(this.commandParser);
-
commandParser.setProgramName("pulsar-client");
commandParser.addObject(this);
commandParser.addCommand("produce", produceCommand);
commandParser.addCommand("consume", consumeCommand);
+ commandParser.addCommand("document", generateDocument);
Review comment:
Good idea, I will revise it.
Actually, I don’t know how to integrate it into the web page. But now there
must be automated tools:
http://pulsar.apache.org/tools/pulsar-admin/2.7.0-SNAPSHOT/
cc @codelipenghui
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]