add aliases for subcommands

This commit is contained in:
steven-omaha
2023-02-18 19:01:26 +01:00
parent c3b49d56f5
commit 7c434a1f84
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -7,4 +7,3 @@
- tutorial
- remove "Arch" references
- update README for subcommands "group", "package"
- add shortcuts for subcommands
+2
View File
@@ -58,6 +58,7 @@ fn get_group_cmd() -> Command {
Command::new("group")
.arg_required_else_help(true)
.about("TODO????")
.visible_alias("g")
.subcommand_required(true)
.subcommands([edit, import, list, new, remove, show])
}
@@ -76,6 +77,7 @@ fn get_package_cmd() -> Command {
Command::new("package")
.arg_required_else_help(true)
.about("TODO????")
.visible_alias("p")
.subcommand_required(true)
.subcommands([clean, review, unmanaged, search, sync])
}