Represents a command that can be executed if its command-line arguments are matched. More...
#include <juce_ConsoleApplication.h>
Public Attributes | |
String | argumentDescription |
A description of the command-line arguments needed for this command, which will be printed as part of the help text. More... | |
std::function< void(const ArgumentList &)> | command |
The actual command that should be invoked to perform this action. More... | |
String | commandDescription |
A description of the meaning of this command, for use in the help text. More... | |
String | commandOption |
The option string that must appear in the argument list for this command to be invoked. More... | |
Represents a command that can be executed if its command-line arguments are matched.
String juce::ConsoleApplication::Command::argumentDescription |
A description of the command-line arguments needed for this command, which will be printed as part of the help text.
std::function<void(const ArgumentList&)> juce::ConsoleApplication::Command::command |
The actual command that should be invoked to perform this action.
String juce::ConsoleApplication::Command::commandDescription |
A description of the meaning of this command, for use in the help text.
String juce::ConsoleApplication::Command::commandOption |
The option string that must appear in the argument list for this command to be invoked.
This can also be a list of different versions separated by pipes, e.g. "--help|-h"