~/lightning

Command Line Parser Library

Lightningat Meeting C++ 2017 · 2017-11-09..11-11· [rust]
slides:none on file

A composable command-line parser called Clara is extracted from Catch and rewritten for C++11 so CLI code composes instead of duplicating. Each option is a small parser that lexes into a token stream and returns remaining tokens and status (error short-circuiting). Parsers combine with a pipe operator to build a single parser that exposes help, integrates with Catch2’s main or user main, and already drives Catch’s CLI, proving the design works in practice.

AI-written summary · about

  1. 0:00Intro
  2. 0:13Who uses Catch
  3. 0:57History of Catch
  4. 4:53Conclusion
~/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.