全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: docopt.cpp  ]

软件包:libdocopt0(0.6.3-4 以及其他的)

libdocopt0 的相关链接

Screenshot

Debian 的资源:

下载源码包 docopt.cpp

维护小组:

外部的资源:

相似软件包:

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.

其他与 libdocopt0 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 libdocopt0

下载可用于所有硬件架构的
硬件架构 版本 软件包大小 安装后大小 文件
alpha (非官方移植版) 0.6.3-4 91.9 kB406.0 kB [文件列表]
amd64 0.6.3-4+b2 102.1 kB328.0 kB [文件列表]
arm64 0.6.3-4+b2 89.2 kB340.0 kB [文件列表]
armel 0.6.3-4+b2 84.0 kB278.0 kB [文件列表]
armhf 0.6.3-4+b2 85.3 kB218.0 kB [文件列表]
hppa (非官方移植版) 0.6.3-4+b1 101.2 kB328.0 kB [文件列表]
i386 0.6.3-4+b2 107.4 kB322.0 kB [文件列表]
ia64 (非官方移植版) 0.6.3-4 118.0 kB548.0 kB [文件列表]
m68k (非官方移植版) 0.6.3-4+b1 90.2 kB290.0 kB [文件列表]
mips64el 0.6.3-4+b2 88.6 kB354.0 kB [文件列表]
ppc64 (非官方移植版) 0.6.3-4+b1 103.6 kB404.0 kB [文件列表]
ppc64el 0.6.3-4+b2 104.2 kB403.0 kB [文件列表]
riscv64 0.6.3-4+b2 98.1 kB264.0 kB [文件列表]
s390x 0.6.3-4+b2 100.1 kB335.0 kB [文件列表]
sh4 (非官方移植版) 0.6.3-4+b1 114.2 kB340.0 kB [文件列表]
sparc64 (非官方移植版) 0.6.3-4+b1 82.4 kB1,051.0 kB [文件列表]
x32 (非官方移植版) 0.6.3-4+b1 102.4 kB306.0 kB [文件列表]