This commit is contained in:
parent
48a2da8a75
commit
104b4eb780
506
Cargo.lock
generated
506
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -4,7 +4,7 @@ version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "3.2.22", features = ["cargo"] }
|
clap = { version = "4.5.4", features = ["cargo"] }
|
||||||
crossterm = "0.27.0"
|
crossterm = "0.27.0"
|
||||||
dirs = "5.0.1"
|
dirs = "5.0.1"
|
||||||
image = "0.25.1"
|
image = "0.25.1"
|
||||||
|
|
9
src/bin/test.rs
Normal file
9
src/bin/test.rs
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
fn main() {
|
||||||
|
println!("hello, world");
|
||||||
|
|
||||||
|
let bruh: &str = "hello";
|
||||||
|
|
||||||
|
println!("bruh this is one of the worst things of all time");
|
||||||
|
|
||||||
|
println!("{}", bruh);
|
||||||
|
}
|
|
@ -157,7 +157,7 @@ For more advanced usage, use `less` or `more` to scroll through the list!",
|
||||||
.short('f')
|
.short('f')
|
||||||
.long("form")
|
.long("form")
|
||||||
.default_value("regular")
|
.default_value("regular")
|
||||||
.multiple_values(true)
|
.value_delimiter(' ')
|
||||||
.requires("name_or_pokedex"),
|
.requires("name_or_pokedex"),
|
||||||
)
|
)
|
||||||
// print/hide-name
|
// print/hide-name
|
||||||
|
@ -175,7 +175,7 @@ For more advanced usage, use `less` or `more` to scroll through the list!",
|
||||||
.long("name")
|
.long("name")
|
||||||
.default_value("")
|
.default_value("")
|
||||||
.hide_default_value(true)
|
.hide_default_value(true)
|
||||||
.multiple_values(true)
|
.value_delimiter(' ')
|
||||||
.conflicts_with("pokedex")
|
.conflicts_with("pokedex")
|
||||||
)
|
)
|
||||||
// print/pokedex
|
// print/pokedex
|
||||||
|
@ -189,7 +189,7 @@ For more advanced usage, use `less` or `more` to scroll through the list!",
|
||||||
.value_parser(clap::value_parser!(u16).range(0..906))
|
.value_parser(clap::value_parser!(u16).range(0..906))
|
||||||
.default_value("0")
|
.default_value("0")
|
||||||
.hide_default_value(true)
|
.hide_default_value(true)
|
||||||
.multiple_values(true)
|
.value_delimiter(' ')
|
||||||
.conflicts_with("name")
|
.conflicts_with("name")
|
||||||
)
|
)
|
||||||
// print/shiny
|
// print/shiny
|
||||||
|
@ -215,7 +215,7 @@ For more advanced usage, use `less` or `more` to scroll through the list!",
|
||||||
)
|
)
|
||||||
.group(
|
.group(
|
||||||
clap::ArgGroup::new("name_or_pokedex")
|
clap::ArgGroup::new("name_or_pokedex")
|
||||||
.args(&["name", "pokedex"])
|
.args(["name", "pokedex"])
|
||||||
.required(false),
|
.required(false),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue