satishbellapu commented on issue #5580:
URL: 
https://github.com/apache/incubator-pinot/issues/5580#issuecomment-646892388


   If you are designing CLI here are the few suggestions,
   
   Command should be #pinot in the terminal,
   
   ```
   Usage:
       pinot [command] [options]
   
   Available Commands:
       start
       stop
   
   Available Options:
       batch (quickstart-batch)
       stream (quickstart-stream)
       hybrid (quickstart-hybrid)
       zookeeper(standalone-zookeeper or clustered-zookeeper)
       services(standalone-services)
       controller(clustered-service)
       broker(clustered-service)
       server(clustered-service)
   
   Flags:
       -h, --help
       -v, --verbose etc.
   ```
   
   ```
   export **PINOT_CONF**=/some/location/<all-in-one.config> or <zoo.cfg> or 
<controller.config> or <broker.config> or <server.config>
   export **PINOT_MODE**=quickstart / standalone / clustered
   ```
   
   `Use " pinot [command] [options] --help" for more information about a 
command.`
   
    
   
   Instead of passing the configurations to the commands we can export the 
configuration folder so based on the options choice, it can select expected 
configurations, this will be more flexible in the future for expanding to other 
options.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to