alle opties
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Bron: docopt.cpp  ]

Pakket: libdocopt0 (0.6.2-2.1)

Verwijzigingen voor libdocopt0

Screenshot

Debian bronnen:

Het bronpakket docopt.cpp downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

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.

This is a port of the docopt Python module to C++ with a focus on maintaining full feature parity (and code structure) as the original. The differences from the Python port are:

  - The addition of a docopt_parse function, which does not terminate the
    program on error a docopt::value type to hold the various value types that
    can be parsed.

  - Because C++ is statically-typed and Python is not, some changes were made
    to the interfaces of the internal parse tree types.

  - Because std::regex does not have an equivalent to Python's regex.split,
    some of the regex's had to be restructured and additional loops used.

This package provides the shared libraries.

Andere aan libdocopt0 gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

libdocopt0 downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
amd64 94,5 kB331,0 kB [overzicht]
arm64 87,0 kB302,0 kB [overzicht]
armel 80,0 kB273,0 kB [overzicht]
armhf 81,5 kB213,0 kB [overzicht]
i386 101,9 kB321,0 kB [overzicht]
mips64el 87,1 kB354,0 kB [overzicht]
mipsel 87,6 kB334,0 kB [overzicht]
ppc64el 101,6 kB402,0 kB [overzicht]
s390x 87,4 kB338,0 kB [overzicht]