Upgrade bundled CLI11 to v2.6.2 and adapt integrations (validators, callbacks, extras, formatter)#93
Open
VolkerChristian wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
v2.6.2to pick up bugfixes and new features and align the project with the newer API and behavior.Description
2.6.2and update copyright year.CLI11_HAS_RTTI,CLI11_MODULE_INLINE,get_group_separators(), and several small utility changes (e.g.binary_escape_string(force),process_quoted_string(...)overload).shared_ptr<Validator>; added overloads to accept shared validators, transforms and function-based validators; reworkedValidatorcombination operators and description merging.CallbackPriorityenum and phased_process_callbacks(...)to control ordering of callbacks and help/version triggers; updated help/version/help-all flags to use first-priority callbacks.allow_extras_withExtrasModeandallow_config_extras_withConfigExtrasMode, addedPrefixCommandModeand improved_move_to_missing/extras handling and capture logic.callback_prioritytoOption/OptionDefaults, support for non-standard short names, improved positional/parse fallthrough and prefix-matching support, refinements to result storage and lexical conversion handling.ExistingFile/Directory/Path/Nonexistentvalidators,split_program_name,check_pathand related fixes for filesystem vs stat implementations.Formatter.h/Formatter.cppand related usages, updatedCMakeLists.txtto drop those sources and headers; adjusted code to use CLI11 built-in formatter behavior.SubCommandto new CLI API (help flags, callback priorities), addedrequireCallbackstorage andrunRequireCallbacks()integration invoked from config parsing flow.Testing
utilstarget and overall project build completed).SubCommand/config parsing paths (help/version, config write/read, flag parsing) to validate behavior; observed expected help/version outputs and config handling.Codex Task