Add slackware package database parser

This commit is contained in:
2025-03-06 22:20:38 +01:00
parent 26fc7c0bd6
commit 2d2b8c266e
4 changed files with 112 additions and 0 deletions

14
cli/main.cpp Normal file
View File

@ -0,0 +1,14 @@
#include <filesystem>
#include <iostream>
#include "katja/database.hpp"
int main()
{
for (const auto& entry : std::filesystem::directory_iterator(katja::database))
{
katja::database_package database_entry{ entry.path().filename() };
std::cout << database_entry.to_string() << std::endl;
}
return 0;
}