From 8dc285b85fb95acbcaf5beaec9c23fb5db9e25ef Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 26 Oct 2007 12:43:00 -0400 Subject: This adds alternative output formats for func-inventory, so that other programs could more easily read the tree. The default is still pretty print as that makes the git diffs nicest. --- docs/func-inventory.pod | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/func-inventory.pod b/docs/func-inventory.pod index ce79691..cfe362d 100644 --- a/docs/func-inventory.pod +++ b/docs/func-inventory.pod @@ -49,6 +49,13 @@ be tracked using standard git-tools such as "git log" and "gitk", when run on th Additional built in hooks to notify changes can be written using git's own trigger mechanism, though something more specific to func will likely be developed in the future -- also eliminating the need to grok git internals. +=head1 ALTERNATIVE OUTPUT FORMATS + +func-inventory can be passed a --json or --xmlrpc parameter to override the default output format. These +output formats are much less readable in the git-produced diffs, but are more easily loaded by other programs +that may want to "mine" the output of a func-inventory tree. Using --json requires that the python-simplejson +RPM be installed. + =head1 ADDITONAL RESOURCES See https://hosted.fedoraproject.org/projects/func/ for more information. -- cgit