From d20b1a8373d3e4d1041c98ef9caa55fa3f19e7a5 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 28 Sep 2023 14:40:32 +0000 Subject: [PATCH] cli: pakfire-builder: Add other basic commands Signed-off-by: Michael Tremer --- src/cli/pakfire-builder.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/cli/pakfire-builder.c b/src/cli/pakfire-builder.c index 2bd51c0b1..af5dd95a0 100644 --- a/src/cli/pakfire-builder.c +++ b/src/cli/pakfire-builder.c @@ -28,8 +28,12 @@ #include #include +#include "lib/clean.h" #include "lib/command.h" +#include "lib/provides.h" #include "lib/repolist.h" +#include "lib/requires.h" +#include "lib/search.h" #include "lib/terminal.h" #include "lib/version.h" @@ -49,7 +53,11 @@ struct config { static int cli_main(struct pakfire* pakfire, int argc, char* argv[]) { static const struct command commands[] = { - { "repolist", 0, cli_repolist }, + { "clean", 0, cli_clean }, + { "provides", 0, cli_provides }, + { "repolist", 0, cli_repolist }, + { "requires", 0, cli_requires }, + { "search", 0, cli_search }, { NULL }, }; -- 2.47.2