Crates.io | buzzec-strip-dag-node |
lib.rs | buzzec-strip-dag-node |
version | 1.0.0 |
source | src |
created_at | 2021-05-22 23:06:30.847274 |
updated_at | 2021-05-22 23:06:30.847274 |
description | This command line application strips nodes from a given DAG. |
homepage | https://github.com/Buzzec/buzzec-strip-dag-node |
repository | https://github.com/Buzzec/buzzec-strip-dag-node |
max_upload_size | |
id | 400943 |
size | 33,112 |
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 <in> Optional argument for evaluating from a command line argument rather than stdin
-s, --strip <strip>... Strips a given node from the DAG. If the node is not present the DAG will not change
Install with:
cargo install buzzec-strip-dag-node
To update use:
cargo install buzzec-strip-dag-node --force
buzzec-strip-dag-node --in a-b,b-c,c-d --strip c
> a-b,b-d