all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: docopt.cpp  ]

Package: libdocopt0 (0.6.3-4 and others)

Links for libdocopt0

Screenshot

Debian Resources:

Download Source Package docopt.cpp:

Maintainers:

External Resources:

Similar packages:

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.

Other Packages Related to libdocopt0

  • depends
  • recommends
  • suggests
  • enhances

Download libdocopt0

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 0.6.3-4 91.9 kB406.0 kB [list of files]
amd64 0.6.3-4+b1 99.0 kB332.0 kB [list of files]
arm64 0.6.3-4+b1 88.8 kB339.0 kB [list of files]
armel 0.6.3-4+b1 82.3 kB282.0 kB [list of files]
armhf 0.6.3-4+b1 83.5 kB222.0 kB [list of files]
hppa (unofficial port) 0.6.3-4 101.0 kB340.0 kB [list of files]
i386 0.6.3-4+b1 104.4 kB322.0 kB [list of files]
ia64 (unofficial port) 0.6.3-4 118.0 kB548.0 kB [list of files]
m68k (unofficial port) 0.6.3-4 91.1 kB297.0 kB [list of files]
mips64el 0.6.3-4+b1 87.4 kB355.0 kB [list of files]
ppc64 (unofficial port) 0.6.3-4 103.1 kB467.0 kB [list of files]
ppc64el 0.6.3-4+b1 103.8 kB403.0 kB [list of files]
riscv64 0.6.3-4+b1 95.8 kB271.0 kB [list of files]
s390x 0.6.3-4+b1 98.5 kB343.0 kB [list of files]
sh4 (unofficial port) 0.6.3-4 110.2 kB339.0 kB [list of files]
sparc64 (unofficial port) 0.6.3-4 81.6 kB1,051.0 kB [list of files]
x32 (unofficial port) 0.6.3-4 97.4 kB301.0 kB [list of files]