mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 23:07:54 +00:00
implement system link / unlink cmds
This commit is contained in:
parent
6d6dcc389f
commit
228a177ea3
3 changed files with 11 additions and 6 deletions
|
|
@ -245,6 +245,12 @@ pub fn edit() -> impl Iterator<Item = Command> {
|
|||
]
|
||||
.into_iter();
|
||||
|
||||
let system_link = [
|
||||
command!("link" => "system_link"),
|
||||
command!("unlink", ("target", OpaqueString) => "system_unlink"),
|
||||
]
|
||||
.into_iter();
|
||||
|
||||
system_new_cmd
|
||||
.chain(system_name_self_cmd)
|
||||
.chain(system_server_name_self_cmd)
|
||||
|
|
@ -271,4 +277,5 @@ pub fn edit() -> impl Iterator<Item = Command> {
|
|||
.chain(system_banner_cmd)
|
||||
.chain(system_info_cmd)
|
||||
.chain(system_front_cmd)
|
||||
.chain(system_link)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue