add missing help text and redo the existing ones based on CommandHelp.cs

This commit is contained in:
dawn 2026-01-17 11:29:42 +03:00
parent bdf6a6c345
commit e2b354aae1
No known key found for this signature in database
14 changed files with 142 additions and 99 deletions

View file

@ -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"),
]
}