~/talk

A Composable Command Line Parser

Talkat CppCon 2017 · 2017-09-24..09-29· [rust]
slides:none on file

A command-line parser library is extracted from Catch, released as Clara, and rewritten for C++11 to make small parsers composable. Each parser returns remaining tokens and an error status; parsers combine with a pipe operator (a monadic bind style) to form a single parser that also emits usage strings. Multiple components expose partial parsers, composition produces predictable CLI behavior, and the resulting system is actively used in Catch2 and on GitHub.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.