make some common flags into constants

This commit is contained in:
dusk 2025-10-08 04:29:48 +00:00
parent 479e0a59b5
commit f4216a83a9
No known key found for this signature in database
10 changed files with 95 additions and 89 deletions

View file

@ -50,3 +50,7 @@ pub fn all() -> impl Iterator<Item = Command> {
}
pub const RESET: (&str, [&str; 2]) = ("reset", ["clear", "default"]);
pub const CLEAR: (&str, [&str; 1]) = ("clear", ["c"]);
pub const YES: (&str, [&str; 1]) = ("yes", ["y"]);
pub const ALL: (&str, [&str; 1]) = ("all", ["a"]);