A tool to read animebox backup files and export the data in alternate formats.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
851 B

use clap::{App, Arg};
const VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION");
mod model;
fn main() {
let matches = App::new("AnimeBoxes Sync")
.version(VERSION.unwrap_or("UNKNOWN"))
.author("Drew Short <warrick@sothr.com>")
.about("Parses AnimeBoxes backup files")
.arg(
Arg::with_name("config")
.short("c")
.value_name("FILE")
.help("Set a custom config file")
.takes_value(true),
)
.arg(
Arg::with_name("INPUT")
.help("The AnimeBoxes file to process")
.required(true)
.index(1),
)
.get_matches();
let config = matches.value_of("config").unwrap_or("abs-default.conf");
let file = matches.value_of("INPUT").unwrap();
}