#3206
docs: add documentation for internal Clara CLI parser
This PR adds dedicated documentation for the internal Clara command line parser, as requested in #2312.
Catch2 embeds Clara as its CLI parser, allowing users to compose their own options on top of Catch2's defaults when writing a custom main(). However, docs/own-main.md previously linked to the external catchorg/Clara repository, which was archived several years ago.
Changes in this PR:
- Adds
docs/clara.mddocumenting Clara's types, options, positional arguments, lambda validation, and integration withCatch::Session. - Updates
docs/own-main.mdto link toclara.md. - Adds an entry for Clara in
docs/Readme.mdunder Fine tuning.
Closes #2312
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 91.17%. Comparing base (
02f8b55) to head (54ad300).Additional details and impacted files
:rocket: New features to boost your workflow: