| 26 | } |
| 27 | |
| 28 | std::vector<std::string> ListPackages() |
| 29 | { |
| 30 | vili::node packages = vili::parser::from_file("Package/Packages.vili"_fs); |
| 31 | std::vector<std::string> packageNames; |
| 32 | for (auto [packageName, _] : packages.items()) |
| 33 | { |
| 34 | packageNames.push_back(packageName); |
| 35 | } |
| 36 | return packageNames; |
| 37 | } |
| 38 | |
| 39 | bool Install(const std::string& packageName) |
| 40 | { |
no test coverage detected