setr / redsystem

Static blog generator with cyclical digraph structure
https://setr.github.io/redsystem/index.html
0 stars 1 forks source link

print a digraph that iterates only n depth, and starting from a given node #2

Open setr opened 6 years ago

setr commented 6 years ago

We should be able to print a digraph that iterates only n depth, and starting from a given node

https://kbknapp.github.io/clap-rs/clap/struct.Arg.html#method.requires cli takes two new arguments: --depth [int] and --start [name] , which requires --graph to be set

use https://kbknapp.github.io/clap-rs/clap/struct.Arg.html#method.value_names for the cli arguments, for --help improvement