mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 07:17:56 +00:00
add missing help text and redo the existing ones based on CommandHelp.cs
This commit is contained in:
parent
bdf6a6c345
commit
e2b354aae1
14 changed files with 142 additions and 99 deletions
|
|
@ -2,7 +2,9 @@ use super::*;
|
|||
|
||||
pub fn cmds() -> impl IntoIterator<Item = Command> {
|
||||
[
|
||||
command!("import", Optional(Remainder(("url", OpaqueString))) => "import").flag(YES),
|
||||
command!("export" => "export"),
|
||||
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"),
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue