initial commit

This commit is contained in:
Dr. Matthias Ratajczak
2022-09-02 17:22:07 +02:00
parent 586a4ab189
commit 69d1034835
7 changed files with 459 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
use clap::Command;
pub(crate) fn get_arg_parser() -> Command<'static> {
let result = Command::new("pacdef")
.about("declarative package manager for Arch Linux")
.version("1.0.0-alpha")
.subcommand_required(true)
.arg_required_else_help(true)
.subcommand(Command::new("sync").about("install packages from all imported groups"));
result
}