tuteng opened a new pull request #5738: Support auto generate pulsar admin cli
URL: https://github.com/apache/pulsar/pull/5738
 
 
   ### Motivation
   
   Currently, the commands on the page 
http://pulsar.apache.org/docs/en/pulsar-admin/ are all manually added. when the 
document changes, there are often wrong contents. in order to solve this 
problem, we expect the commands on this page to be automatically generated. 
this pr is the first step. If it passes, we will add a new page on the website 
to show the automatically generated commands later.
   
   ### Modifications
   
   * Add a hidden command `--generate-doc` to automatically generate command 
line documents
   * Add integration tests
   
   ### Usage
   
   ```
   ./bin/pulsar-admin --generate-doc tenants
   ./bin/pulsar-admin --generate-doc namespaces
   .....
   ```
   
   The following is what we expect:
   
![image](https://user-images.githubusercontent.com/1907867/69538714-e137fd80-0fbd-11ea-94c4-1d3a95756b6c.png)
   
   
   ### Verifying this change
   
   Integration test pass
   
   

----------------------------------------------------------------
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

Reply via email to