|
ChainCLI
A modern C++20 command-line interface library
|
Abstract base class for command documentation formatters. More...
#include <docformatter.h>
Public Member Functions | |
| virtual std::string | generateLongDocString (const Command &command, std::string_view fullCommandPath, const DocWriter &writer, const cli::CliConfig &configuration)=0 |
| Generate the command documentation string. | |
| virtual std::string | generateShortDocString (const Command &command, std::string_view fullCommandPath, const DocWriter &writer, const cli::CliConfig &configuration)=0 |
| Generate the short documentation string. | |
Abstract base class for command documentation formatters.
|
pure virtual |
Generate the command documentation string.
| command | The command to document. |
| fullCommandPath | The full path of the command. |
| writer | The documentation writer. |
| configuration | The CLI configuration. |
Implemented in cli::commands::docwriting::DefaultCommandFormatter.
|
pure virtual |
Generate the short documentation string.
| command | The command to document. |
| fullCommandPath | The full path of the command. |
| writer | The documentation writer. |
| configuration | The CLI configuration. |
Implemented in cli::commands::docwriting::DefaultCommandFormatter.