2016-10-02 21:59:28 +02:00
|
|
|
#ifndef CLI_ARGS_H
|
|
|
|
#define CLI_ARGS_H
|
|
|
|
|
|
|
|
#include <c++utilities/application/argumentparser.h>
|
|
|
|
|
|
|
|
namespace Cli {
|
|
|
|
|
|
|
|
using namespace ApplicationUtilities;
|
|
|
|
|
2017-05-01 03:34:43 +02:00
|
|
|
struct Args {
|
2016-10-02 21:59:28 +02:00
|
|
|
Args();
|
|
|
|
ArgumentParser parser;
|
|
|
|
HelpArgument help;
|
2017-10-17 19:45:27 +02:00
|
|
|
NoColorArgument noColor;
|
2018-04-01 22:34:59 +02:00
|
|
|
OperationArgument status, log, stop, restart, rescan, rescanAll, pause, resume, waitForIdle, pwd, cat, edit;
|
2017-04-06 00:08:24 +02:00
|
|
|
OperationArgument statusPwd, rescanPwd, pausePwd, resumePwd;
|
2018-04-07 22:28:21 +02:00
|
|
|
ConfigValueArgument script, jsLines, dryRun;
|
2018-07-05 17:39:35 +02:00
|
|
|
ConfigValueArgument stats, dir, dev, allDirs, allDevs;
|
2017-09-30 18:55:06 +02:00
|
|
|
ConfigValueArgument atLeast, timeout;
|
2018-04-01 22:34:59 +02:00
|
|
|
ConfigValueArgument editor;
|
2016-10-02 21:59:28 +02:00
|
|
|
ConfigValueArgument configFile, apiKey, url, credentials, certificate;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Cli
|
|
|
|
|
|
|
|
#endif // CLI_ARGS_H
|