diff --git a/README.md b/README.md index 9778db0..a79e115 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,18 @@ # lasy-cli +# How to install + +1. Visit https://rustup.rs/ and follow instructions to install Rust +2. Run: `$ cargo install --git https://git.interhacker.space/lle-bout/lasy-cli.git --force` + +# How to use + +For example with : + +`$ python clitools/generators/tunnel.py | clitools/filters/kaleidoscope.py | lasy-cli` + +And it will print optimized points in the same format. + +# How to update with latest changes from this repo + +Re-run step 2 of installation \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 160f173..2d102e0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ use std::{hash::Hash, hash::Hasher, io}; use anyhow::Result; -use clap::{app_from_crate, crate_authors, crate_description, crate_name, crate_version, App, Arg}; +use clap::{app_from_crate, crate_authors, crate_description, crate_name, crate_version, Arg}; use io::Write; use lasy::{ euler_graph_to_euler_circuit, interpolate_euler_circuit, point_graph_to_euler_graph,