formatting
This commit is contained in:
parent
6c9d912df3
commit
28a36d80cd
1 changed files with 10 additions and 4 deletions
|
@ -6,6 +6,8 @@ use std::collections::HashSet;
|
|||
use std::io::Write;
|
||||
use std::path::{Path,PathBuf};
|
||||
|
||||
|
||||
|
||||
#[derive(StructOpt)]
|
||||
#[structopt(about="Recursively get images")]
|
||||
struct CLIArguments {
|
||||
|
@ -34,6 +36,8 @@ struct CLIArguments {
|
|||
targets: Vec<String>,
|
||||
}
|
||||
|
||||
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>>{
|
||||
let args = {
|
||||
let mut args = CLIArguments::from_args();
|
||||
|
@ -64,6 +68,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>>{
|
|||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
|
||||
struct Registry<'a> {
|
||||
registry: Vec<(std::fs::Metadata, PathBuf)>,
|
||||
valid_extensions: HashSet<&'a str>
|
||||
|
|
Loading…
Add table
Reference in a new issue