This command line application strips nodes from a given DAG. The dag is given in the format of [x-y],*
where x
and y
are any utf-8 strings without whitespace, -
, or ,
.
If no strip flag is added then the command will remove duplicate edges, verify the DAG, and alphabetize.
When a node is removed, all it's children are added to all it's parents.
``` buzzec-strip-dag-node 0.1.0 Strips out a dag node. Defaults to stdin, use --in to input a command line argument. If skip and no-verify are not present will verify and format the given DAG.
USAGE: buzzec-strip-dag-node [FLAGS] [OPTIONS]
FLAGS: -h, --help Prints help information --no-verify Disables verification. No guarantees on the output if given a bad DST -V, --version Prints version information
OPTIONS:
-i, --in
Install with:
shell
cargo install buzzec-strip-dag-node
To update use:
shell
cargo install buzzec-strip-dag-node --force
```shell buzzec-strip-dag-node --in a-b,b-c,c-d --strip c
a-b,b-d ```