#include <commandlinemanager.h>
List of all members.
Static Public Member Functions |
| static QString | executeCommand (const QString &opt_str, const QStringList &args=QStringList()) |
| static bool | hasOption (const QString &opt_str) |
| static void | printUsage () |
| static QString | formatHelpString (const QString &line) |
Detailed Description
Helper class used for handle command line plugins.
- Author:
- Ilya Kotov <forkotov02@ya.ru>
Member Function Documentation
| static QString executeCommand |
( |
const QString & |
opt_str, |
|
|
const QStringList & |
args = QStringList() |
|
) |
| [static] |
Executes command opt_str.
- Parameters:
-
| opt_str | Command line option string. |
| args | Command arguments. |
- Returns:
- Command output result.
Prepares help string for output.
- Parameters:
-
| line | Specially formatted help string. Example: "--command||description". |
| static bool hasOption |
( |
const QString & |
opt_str | ) |
[static] |
Return true if command opt_str is supported, otherwise returns false.
The documentation for this class was generated from the following file: