sijie commented on issue #5738: [Pulsar Client Tools]Support generate documentation of pulsar admin cli automatically URL: https://github.com/apache/pulsar/pull/5738#issuecomment-559645674 > I found that different command objects jcommand was used in the PulsarAdminTool and CmdBase. The jcommand in PulsarrAdminTool is the root command.The jcommand in CmdBase is for a command group. > All the child commands were inherited from the class CmdBase. In subclasses such as CmdTopics, we cannot get the commandMap object. You can get the command groups from the commandMap of PulsarAdminTool. Then you can iterate the command group. For each command group, you can get its sub commandMap.
---------------------------------------------------------------- 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] With regards, Apache Git Services
