mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
16 lines
511 B
Rust
16 lines
511 B
Rust
use super::*;
|
|
|
|
pub fn cmds() -> impl Iterator<Item = Command> {
|
|
let system = ("system", ["s"]);
|
|
let new = ("new", ["n"]);
|
|
|
|
let system_new = tokens!(system, new);
|
|
|
|
[
|
|
command!(system => "system_show").help("Shows information about your system"),
|
|
command!(system_new => "system_new").help("Creates a new system"),
|
|
command!(system_new, ("name", OpaqueString) => "system_new_name")
|
|
.help("Creates a new system (using the provided name)"),
|
|
]
|
|
.into_iter()
|
|
}
|