ready for release
This commit is contained in:
parent
b5a73fb148
commit
34af300dbd
1 changed files with 3 additions and 9 deletions
12
src/main.rs
12
src/main.rs
|
|
@ -19,8 +19,8 @@ struct Cli {
|
||||||
input: String,
|
input: String,
|
||||||
|
|
||||||
// Specify save file or ent file type
|
// Specify save file or ent file type
|
||||||
#[arg(value_enum)]
|
//#[arg(value_enum)]
|
||||||
kind: Kind,
|
//kind: Kind,
|
||||||
|
|
||||||
/// Output file path
|
/// Output file path
|
||||||
#[arg(short, long)]
|
#[arg(short, long)]
|
||||||
|
|
@ -395,11 +395,5 @@ fn do_save(cli: Cli) {
|
||||||
fn main() {
|
fn main() {
|
||||||
let cli = Cli::parse();
|
let cli = Cli::parse();
|
||||||
|
|
||||||
match cli.kind {
|
do_save(cli);
|
||||||
Kind::Save => do_save(cli),
|
|
||||||
Kind::Ent => todo!(),
|
|
||||||
}
|
|
||||||
|
|
||||||
//let mut save = Save::load(Path::new(save_path)).expect("load save");
|
|
||||||
//save.save(Path::new(out_path)).expect("failed to save");
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue