Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
program.hpp File Reference

Parser-independent application identity and help documents. More...

#include "presentation.hpp"
#include <functional>
#include <span>
Include dependency graph for program.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  uni20::presentation::help_group
 An ordered group of options in a help document. More...
 
struct  uni20::presentation::help_option
 One option's semantic help content, projected from the parser's declarations. More...
 
struct  uni20::presentation::program_example
 One invocation and its purpose, supplied by the application. More...
 
struct  uni20::presentation::program_info
 Application identity and explanatory content, independent of any option parser. More...
 
struct  uni20::presentation::program_reference
 A literature entry supplied by the application's authoritative citation registry. More...
 

Namespaces

namespace  uni20
 
namespace  uni20::presentation
 

Functions

report_builder uni20::presentation::help_report (program_info const &program, std::string_view usage, std::span< help_group const > groups)
 Construct a full help document shared by plain and styled renderers.
 
std::string uni20::presentation::program_identity (program_info const &program)
 Concise application identity for version output and report headings.
 
report_builder uni20::presentation::program_report (program_info const &program)
 Construct the application's banner without evaluating its reference provider.
 

Detailed Description

Parser-independent application identity and help documents.