add package search
This commit is contained in:
@@ -44,6 +44,12 @@ fn get_arg_parser() -> Command<'static> {
|
||||
.arg_required_else_help(true)
|
||||
.arg(Arg::new("groups").multiple_values(true)),
|
||||
)
|
||||
.subcommand(
|
||||
Command::new(SEARCH)
|
||||
.about("search for packages which match a provided regex")
|
||||
.arg_required_else_help(true)
|
||||
.arg(Arg::new("string")),
|
||||
)
|
||||
.subcommand(
|
||||
Command::new(SHOW)
|
||||
.about("show packages under an imported group")
|
||||
|
||||
Reference in New Issue
Block a user