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-01-24 23:07:53 +01:00
|
|
|
OperationArgument status, log, stop, restart, rescan, rescanAll, pause, resume, waitForIdle, pwd;
|
2017-04-06 00:08:24 +02:00
|
|
|
OperationArgument statusPwd, rescanPwd, pausePwd, resumePwd;
|
2018-01-24 23:07:53 +01:00
|
|
|
ConfigValueArgument dir, dev, allDirs, allDevs;
|
2017-09-30 18:55:06 +02:00
|
|
|
ConfigValueArgument atLeast, timeout;
|
2016-10-02 21:59:28 +02:00
|
|
|
ConfigValueArgument configFile, apiKey, url, credentials, certificate;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Cli
|
|
|
|
|
|
|
|
#endif // CLI_ARGS_H
|