BSD Ports

devel/CLI11 2.4.2 NetBSD

Command line parser for C++11

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
8bda744eb5
License
modified-bsd
Categories
devel
Package size
74.9 KiB, 433.7 KiB installed

Description

$NetBSD: DESCR,v 1.1 2025/01/13 18:37:07 gdt Exp $

CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.

CLI11 provides all the features you expect in a powerful command line parser, with a beautiful, minimal syntax and no dependencies beyond C++11. It is header only, and comes in a single file form for easy inclusion in projects. It is easy to use for small projects, but powerful enough for complex command line projects, and can be customized for frameworks. It is tested on Azure and GitHub Actions, and was originally used by the GooFit GPU fitting framework. It was inspired by plumbum.cli for Python.

Install

Binary package:

pkgin install CLI11

From pkgsrc:

cd /usr/pkgsrc/devel/CLI11 && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.4.2
NetBSD 10.1 aarch642.4.2
SmartOS / illumos x86_64-
macOS 15 arm642.7.2

Dependencies

Commit history 1

DateCommitCreditsLog message
8bda744eb5 ktnb CLI11: update to 2.7.2
2.7.2: Changed - The C++20 named module uses the precompiled implementation and we lowered its floor from C++23 to C++20. CLI11::Module now works for both find_package and add_subdirectory, and configure fails with a clear message if CMake is older than 3.28. - Removed <iostream>, <codecvt>, <iomanip>, <fstream>, and <locale> from the declaration headers, so precompiled clients do not parse them. App::exit() is now three overloads instead of one with stream default arguments. - Moved the remaining non-template function bodies out of App.hpp, Option.hpp, Validators.hpp, TypeTools.hpp, ConfigFwd.hpp, and FormatterFwd.hpp into the impl/*_inl.hpp files, so they compile into the library in precompiled mode. Header-only mode is unchanged. Fixed …