mirror of
https://github.com/mrfluffy-dev/kami.git
synced 2026-01-17 12:50:32 +00:00
added menu
This commit is contained in:
10
src/main.rs
10
src/main.rs
@@ -67,7 +67,15 @@ fn main() {
|
||||
print_help();
|
||||
}
|
||||
if anime == false && ln == false {
|
||||
print_help();
|
||||
println!("1: Anime");
|
||||
println!("2: Light Novel");
|
||||
|
||||
let a = int_input("pick your poison rip hh");
|
||||
match a{
|
||||
1 => anime = true,
|
||||
2 => ln = true,
|
||||
_=>println!("invalid option no hentai here")
|
||||
};
|
||||
}
|
||||
if anime == true && ln == true {
|
||||
println!("you can only use one of the arguments at a time");
|
||||
|
||||
Reference in New Issue
Block a user