add 'new' argument

This commit is contained in:
timeshifter
2023-01-12 11:23:45 +01:00
parent 5f10aa35da
commit dd20b3640a
3 changed files with 25 additions and 1 deletions
+6
View File
@@ -25,6 +25,12 @@ fn get_arg_parser() -> Command<'static> {
.arg_required_else_help(true)
.arg(Arg::new("files").multiple_values(true)),
)
.subcommand(
Command::new(NEW)
.about("create new group files")
.arg_required_else_help(true)
.arg(Arg::new("groups").multiple_values(true)),
)
.subcommand(
Command::new(REMOVE)
.about("remove one or more previously imported groups")