PoC: better argument building.

Add a few more ideas to todo.
This commit is contained in:
2025-10-26 08:21:34 +04:00
parent 44bc63d17d
commit 516c6fa732
7 changed files with 392 additions and 92 deletions

12
TODO.md
View File

@@ -37,4 +37,14 @@ Right now whole project is header only. Header only so far is fine but to avoid
Configure CMAKE to ensure the library can be built as a library and can be installed via CMAKE. This should make adoptation of this to existing projects easier with less headache.
# TODO 5: Display help
Display help doesn't reflect the conventions right now. Also it should come automatically, and should be allowed to overriden by user.
Display help doesn't reflect the conventions right now. Also it should come automatically, and should be allowed to overriden by user.
# TODO 6: Accumulate repeated calls
Add support to letting users accumulate repeated calls to a flag. If the flag is called x times, the result should be x items stored in a vector,
instead of an action doing it.
# TODO 7: Defaults/Implicits
If given, an arguments default store value could be changed. If nothing was given use that value instead.
# TODO 8: Validators
If given, validate the argument before passing to the storage or action. If fail, let user decide fail loud or fail skip.