ctubbsii opened a new issue, #6391:
URL: https://github.com/apache/accumulo/issues/6391

   Many tools display data in a custom human-readable format. The fate admin 
command, and the zookeeper commands, are two examples.
   
   It would be very convenient if there were standard options for computer 
readable output, similar to git's `--porcelain` or gpg's `--with-colons` that 
guarantees the output is well formatted for computer readability. The awscli 
tool also does something similar by returning JSON output for most, if not all, 
of its commands.
   
   If we did go with JSON as a standard, then we should be able to add `--json` 
to many commands, to output in JSON format. Alternatively, we could just try to 
ensure that all output is always computer readable, but that gets tricky if 
we're displaying data that might have newlines in it, or non-printable 
characters.
   
   It may be the case that different command will need different 
computer-readable output formats and options, but it would be nice if we could 
standardize.
   
   For this ticket, it would be sufficient to make any progress towards 
creating computer-readable output in the zookeeper utilities, the fate admin 
utility, or another similar tool, to demonstrate and set a convention for other 
tools. Then, follow-on tickets could be made to implement the same capability 
in additional tools.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to