cli: add CArgumentParser

This commit is contained in:
Vaxry 2025-11-22 17:23:57 +00:00
parent 21c62325c4
commit 34185fbe58
Signed by: vaxry
GPG key ID: 665806380871D640

View file

@ -30,7 +30,7 @@ namespace Hyprutils::CLI {
std::string getDescription(const std::string_view& header, std::optional<size_t> maxWidth = {});
std::expected<void, std::string> parse();
std::vector<SArgumentKey>::iterator getValue(const std::string_view& sv);
std::expected<void, std::string> registerOption(std::string&& name, std::string&& abbrev, std::string&& description, eArgumentType type);
std::expected<void, std::string> registerOption(std::string&& name, std::string&& abbrev, std::string&& description, eArgumentType type);
std::vector<SArgumentKey> m_values;