]> git.ipfire.org Git - pakfire.git/commitdiff
cli: pakfire-builder: Add other basic commands
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 28 Sep 2023 14:40:32 +0000 (14:40 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 28 Sep 2023 14:40:32 +0000 (14:40 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/cli/pakfire-builder.c

index 2bd51c0b1698e8a9358bd97bf07c8178a3eb3d86..af5dd95a0811ba4976e206c5440543e2e9e02c65 100644 (file)
 #include <pakfire/pakfire.h>
 #include <pakfire/string.h>
 
+#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 },
        };