jkosh44 opened a new issue #1085: Make commands more easily reusable outside of 
CLI
URL: https://github.com/apache/fluo/issues/1085
 
 
   In Issue #983 some people expressed a desire to be able to reuse commands 
outside of the CLI, for example in APIs and UIs. PR #1083 helped with this by 
removing `System.exit` from the commands themselves and restructuring the 
module so you don't have to call the `main` method on a command to execute it.
   
   The following three issues still make it difficult for the commands to be 
reusable:
   1. Many of the commands directly print to `System.out` or log to a Logger.
   2. Many of the commands rely on side effects instead of returning a 
meaningful response (ex: `FluoList`, `FluoStatus`).
   3. There's no way to set the options of a command.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to