Skip to content

add a more clear force callback - #631

Merged
henryiii merged 13 commits into
CLIUtils:masterfrom
phlptp:option_callback_additions
Sep 20, 2021
Merged

henryiii merged 13 commits into
CLIUtils:masterfrom
phlptp:option_callback_additions

Conversation

@phlptp

@phlptp phlptp commented Aug 2, 2021

Copy link
Copy Markdown
Collaborator

and callback on parse modifier for options.

The method of forcing a callback that exists is not clear from the issues raised around it. This should clarify that ability and make it more explicit. It also adds an ability to trigger the callback for each parse of an option. This opens up new avenues of processing and CLI modification as well as inline validation.

@phlptp

phlptp commented Aug 2, 2021 •

Copy link
Copy Markdown
Collaborator Author

TODO:

  • test cases
  • docs
  • book updates
  • pass checks

@phlptp
phlptp marked this pull request as ready for review August 11, 2021 17:58
Comment thread include/CLI/Option.hpp Resolved
@henryiii
henryiii merged commit 6c49c29 into CLIUtils:master Sep 20, 2021
@henryiii
henryiii deleted the option_callback_additions branch September 20, 2021 14:23
@github-actions github-actions Bot added the needs changelog Hasn't been added to the changelog yet label Sep 20, 2021
@henryiii

Copy link
Copy Markdown
Collaborator

WIP icons missed, added in #638.

@henryiii henryiii removed the needs changelog Hasn't been added to the changelog yet label Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants