Open linuxcaffe opened 9 years ago
Do you mean piping the command in?
task +work | dot
dot is one of several tools, that are shipped with graphviz (there is also neato, pdf, spdf, circo, ...) This pipe is executed inside dotwarrior at the moment. One could think about refactoring it out. But then the whole command for generating a picture would be
task export | dotwarrior.py | dot -Tsvg > graph.svg
Some examples could be wrapped in shellscripts, though.
I'm suggesting NOT generating a picture, but offering up a text-representation of the hierarchy in the console, a command-line function, and rather than constructing a pipe, creating a user command that does the same thing.
If I recall correctly, graph-viz has a text-mode. Maybe dotwarrior could be used in the console (no GUI) and with a user-command, so something like;
would produce a graphiz text-mode hierarchical representation