Skip to content

Commit

Permalink
funky....
Browse files Browse the repository at this point in the history
  • Loading branch information
jessekrubin committed Nov 8, 2023
1 parent e2229df commit 19ee6f4
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions crates/utiles-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,7 @@ pub fn cli_main(argv: Option<Vec<String>>, loop_fn: Option<&dyn Fn() -> ()>) {
Some(argv) => argv,
None => std::env::args().collect::<Vec<_>>(),
};

let args = Cli::parse_from(&argv);

// level is info by default and debug if --debug is passed
// let level = if args.debug {
// tracing::Level::DEBUG
Expand Down Expand Up @@ -247,22 +245,9 @@ pub fn cli_main(argv: Option<Vec<String>>, loop_fn: Option<&dyn Fn() -> ()>) {
.filter(|l| !l.as_ref().unwrap().is_empty())
{
let lstr = line.unwrap();
// println!("Line from stdin: `{}`", lstr);
// let json: serde_json::Value = serde_json::from_str(the_file)l;

let thingy = parse_bbox(
&lstr,
).unwrap();

// match thingy {
// Ok(thingy) => thingy,
// Err(e) => {
// println!("Error parsing bbox: {}", e);
// continue;
// }
// }
// let thingy = BBox::from(lstr);

for tile in tiles(
(thingy.west, thingy.south, thingy.east, thingy.north),
ZoomOrZooms::Zoom(zoom),
Expand Down

0 comments on commit 19ee6f4

Please sign in to comment.