From 84484d5add368bf1fd82ac3668c50e52312be515 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Fri, 15 Dec 2017 10:28:53 +0100 Subject: [PATCH] adding graph doc --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 6573e11..cca1399 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ See the [example](#example) for an overview of the available features. * [Walk indexed files with ls](#walk-indexed-files-with-ls) * [Find files](#find-files) * [Display entire tree](#display-entire-tree) + * [Catalog graph](#catalog-graph) * [Example](#example) * [Contribution](#contribution) @@ -151,6 +152,18 @@ The entire catalog can be shown using the `tree` command. See the [example](#example) for more. +## Catalog graph + +The catalog can be exported in a dot file that can be used to +generate a graph of the indexed files. + +```bash +$ catcli graph +dot file created under "/tmp/catcli.dot" +create graph with "dot /tmp/catcli.dot -T png -o /tmp/tree.png" (you need graphviz) +$ dot /tmp/catcli.dot -T png -o /tmp/tree.png +``` + # Example Let's first create some files and directories: