Commit b65367a15a3f04a4cba402bd7530c76399b80638
Committed by
GitHub
1 parent
3c7257d2
Documentation: add link to multifile subcommand example in repo (#691)
Showing
1 changed file
with
1 additions
and
1 deletions
book/chapters/an-advanced-example.md
| @@ -28,4 +28,4 @@ You'll see it behaves pretty much like `git`. | @@ -28,4 +28,4 @@ You'll see it behaves pretty much like `git`. | ||
| 28 | 28 | ||
| 29 | ## Multi-file App parse code | 29 | ## Multi-file App parse code |
| 30 | 30 | ||
| 31 | -This example could be made much nicer if it was split into files, one per subcommand. If you simply use shared pointers instead of raw values in the lambda capture, you can tie the lifetime to the lambda function lifetime. CLI11 has a multifile example in its example folder. | 31 | +This example could be made much nicer if it was split into files, one per subcommand. If you simply use shared pointers instead of raw values in the lambda capture, you can tie the lifetime to the lambda function lifetime. CLI11 has a [multifile example](https://github.com/CLIUtils/CLI11/tree/main/examples/subcom_in_files) in its example folder. |