Skip to content

Flatten nested rfl::Processors bundles in cli and generic entry points - #53

Closed
clockblocker wants to merge 1 commit into
cli-unwrapfrom
cli-processor-bundles
Closed

clockblocker wants to merge 1 commit into
cli-unwrapfrom
cli-processor-bundles

Conversation

@clockblocker

Copy link
Copy Markdown
Owner

Adds rfl::internal::flatten_processors_t and uses it in rfl::cli and rfl::generic entry points so applications can define reusable processor aliases like using MyCli = rfl::Processors<...> and pass them directly to read, read_app, usage, and resolve_args.

@clockblocker

Copy link
Copy Markdown
Owner Author

Closing as redundant: runtime-verified that existing processor traits already recurse into nested rfl::Processors<Ps...> (3/3 tests pass on cli-unwrap).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant