1
0

feat: basically finish clap parser

- basically finish clap parser except ctor.
- add skeleton for clap resolver.
This commit is contained in:
2025-12-09 20:52:41 +08:00
parent eb9e576d33
commit d6662dbb53
10 changed files with 350 additions and 84 deletions

View File

@@ -72,7 +72,7 @@ namespace yycc::env {
* for all the environment variables of the current process.
* @return The list holding all variables.
*/
VarResult<std::vector<VarPair>> get_vars();
std::vector<VarPair> get_vars();
#pragma endregion
@@ -131,7 +131,7 @@ namespace yycc::env {
* @brief Returns the arguments that this program was started with (normally passed via the command line).
* @return The list holding all argument one by one.
*/
ArgResult<std::vector<std::u8string>> get_args();
std::vector<std::u8string> get_args();
#pragma endregion