1 个仓库
The ability to match subcommands using unambiguous partial names.
Distinct from Prefix Matching: Applies prefix matching specifically to CLI subcommand names for shorter user input
Explore 1 awesome GitHub repository matching software engineering & architecture · Subcommand. Refine with filters or upvote what's useful.
CLI11 是一个仅包含头文件的 C++ 库,用于解析命令行参数和管理配置文件。它将 shell 输入映射到类型化变量,并支持创建复杂的命令层级。 该库的特色在于支持无限深度的嵌套子命令和前缀匹配。它通过允许从 TOML 或 INI 文件加载应用程序设置来集成配置管理,并支持回退到环境变量。 该项目提供了一套完整的参数解析工具,包括标志和位置参数,以及用于强制执行强制选项和相互依赖关系的验证框架。它还包括带有可自定义格式的自动帮助文档生成功能,以及在特定解析阶段触发自定义逻辑的回调系统。 该库无依赖,专为 C++11 及更高版本设计。
Matches subcommands using unambiguous partial names, allowing users to trigger commands with shortened versions.