|
ChainCLI
A modern C++20 command-line interface library
|
Default formatter for commands. More...
#include <docformatter.h>
Public Member Functions | |
| std::string | generateLongDocString (const Command &command, std::string_view fullCommandPath, const DocWriter &writer, const cli::CliConfig &configuration) override |
| Generate the command documentation string. | |
| std::string | generateShortDocString (const Command &command, std::string_view fullCommandPath, const DocWriter &writer, const cli::CliConfig &configuration) override |
| Generate the short documentation string. | |
Default formatter for commands.
|
overridevirtual |
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. |
Implements cli::commands::docwriting::AbstractCommandFormatter.
|
overridevirtual |
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. |
Implements cli::commands::docwriting::AbstractCommandFormatter.