PluralKit/crates/command_definitions/src/import_export.rs

10 lines
339 B
Rust

use super::*;
pub fn cmds() -> impl IntoIterator<Item = Command> {
[
command!("import", Optional(Remainder(("url", OpaqueString))) => "import")
.help("Imports system information from a data file")
.flag(YES),
command!("export" => "export").help("Exports system information to a file"),
]
}