From f3a74cc46d36f8a4cddbf2287d79a3bc55aa11ab Mon Sep 17 00:00:00 2001 From: jacksonfu14 Date: Wed, 12 Nov 2025 07:10:55 +0100 Subject: feat: add sorting flags to cli --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 4954dcb..6a20518 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,21 @@ cargo run --bin generate 5 # Run the generate command with pretty printing cargo run --bin generate -- --pretty 5 +# Sort with negative-first outer precedence +cargo run --bin generate 5 --neg-first-outer + +# Sort with negative-first inner precedence +cargo run --bin generate 5 --neg-first-inner + +# Sort with breadth-first sorting +cargo run --bin generate 5 --breadth-first + +# Sort with backward sorting direction +cargo run --bin generate 5 --backward + +# Sort with interpolated length sorting +cargo run --bin generate 5 --interpolate-length + # Run the release version cli ./target/release/generate --pretty 6 -- cgit v1.2.3