`cmake --build build --target doc` runs Doxygen to produce XML, then `doc/gen_api_md.py` (~330 lines, stdlib-only) emits a Markdown tree under `doc/api/` that gitea renders directly in its file browser. - 24 class/struct pages + 51 source-file pages + indices, with source links of the form `../../../../src/...#L42` that gitea turns into clickable line-anchored links. - Doxyfile.in templated by CMake (XML-only output to build/doc/xml/). - Pure Python emitter, zero external deps — no doxybook2 (not packaged on Arch) and no moxygen (avoids Node). - Target gracefully disabled if Doxygen or Python 3 is missing at configure time; regular build target unaffected. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
38 lines
756 B
Markdown
38 lines
756 B
Markdown
# Tui::CommandSpec
|
|
|
|
`struct Tui::CommandSpec`
|
|
|
|
Defined in [tui.hpp:26](../../../../src/tui/tui.hpp#L26)
|
|
|
|
## Public Attributes
|
|
|
|
### `std::vector< Param > params`
|
|
|
|
📍 [tui.hpp:31](../../../../src/tui/tui.hpp#L31)
|
|
|
|
### `std::function< void(const std::vector< std::string > &)> action`
|
|
|
|
📍 [tui.hpp:32](../../../../src/tui/tui.hpp#L32)
|
|
|
|
### `bool prompt_for_missing`
|
|
|
|
📍 [tui.hpp:33](../../../../src/tui/tui.hpp#L33)
|
|
|
|
### `std::string description`
|
|
|
|
📍 [tui.hpp:34](../../../../src/tui/tui.hpp#L34)
|
|
|
|
### `bool scriptable`
|
|
|
|
📍 [tui.hpp:35](../../../../src/tui/tui.hpp#L35)
|
|
|
|
### `bool interactive`
|
|
|
|
📍 [tui.hpp:36](../../../../src/tui/tui.hpp#L36)
|
|
|
|
opens a full-screen mode when called bare
|
|
|
|
---
|
|
|
|
← [Back to classes](index.md) · [Top](../index.md)
|