mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 23:37:54 +00:00
make some common flags into constants
This commit is contained in:
parent
479e0a59b5
commit
f4216a83a9
10 changed files with 95 additions and 89 deletions
|
|
@ -3,7 +3,7 @@ use super::*;
|
|||
pub fn cmds() -> impl Iterator<Item = Command> {
|
||||
[
|
||||
command!("import", Optional(("url", OpaqueStringRemainder)) => "import")
|
||||
.flag(("yes", ["y"])),
|
||||
.flag(YES),
|
||||
command!("export" => "export"),
|
||||
]
|
||||
.into_iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue