mirror of
https://github.com/hyprwm/hyprutils.git
synced 2026-02-04 05:30:25 +01:00
cli: add CArgumentParser
This commit is contained in:
parent
21c62325c4
commit
34185fbe58
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue