Fix warning and add README
This commit is contained in:
parent
137f269b47
commit
77e02aa620
16
README.md
16
README.md
@ -1,2 +1,18 @@
|
|||||||
# lasy-cli
|
# 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 <https://git.interhacker.space/teamlaser/LJ>:
|
||||||
|
|
||||||
|
`$ 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
|
@ -1,7 +1,7 @@
|
|||||||
use std::{hash::Hash, hash::Hasher, io};
|
use std::{hash::Hash, hash::Hasher, io};
|
||||||
|
|
||||||
use anyhow::Result;
|
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 io::Write;
|
||||||
use lasy::{
|
use lasy::{
|
||||||
euler_graph_to_euler_circuit, interpolate_euler_circuit, point_graph_to_euler_graph,
|
euler_graph_to_euler_circuit, interpolate_euler_circuit, point_graph_to_euler_graph,
|
||||||
|
Loading…
Reference in New Issue
Block a user