Apocrypha

docopt

C++11 port of docopt

With docopt, the option parser is generated based on the program's docstring. docopt parses the usage pattern ("Usage: ...") and option descriptions (lines starting with dash "-") and ensures that the program invocation matches the usage pattern. It parses options, arguments and commands based on that. The basic idea is that a good help message has all necessary information in it to make a parser.

Available in

OverlayNewestEbuildsLast activity
salfter GitLab ↗ 0.6.3 1 5 d details ›
qsx GitHub ↗ 0.6.3 1 2 yr details ›

Versions & arches

VersionOverlay amd64 Committed
0.6.3 qsx amd64 testing view · download · history ↗
0.6.3 salfter amd64 stable 8 mo view · download · history ↗

Use flags of 0.6.3

  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)