syncthingtray/cli/args.h

25 lines
712 B
C
Raw Permalink Normal View History

2016-10-02 21:59:28 +02:00
#ifndef CLI_ARGS_H
#define CLI_ARGS_H
#include <c++utilities/application/argumentparser.h>
namespace Cli {
2019-06-10 22:48:26 +02:00
using namespace CppUtilities;
2016-10-02 21:59:28 +02:00
2017-05-01 03:34:43 +02:00
struct Args {
2016-10-02 21:59:28 +02:00
Args();
ArgumentParser parser;
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;
ConfigValueArgument script, jsLines, dryRun;
2018-07-05 17:39:35 +02:00
ConfigValueArgument stats, dir, dev, allDirs, allDevs;
ConfigValueArgument atLeast, timeout, requireDevsConnected;
2018-04-01 22:34:59 +02:00
ConfigValueArgument editor;
ConfigValueArgument configFile, apiKey, url, credentials, certificate, requestTimeout;
2016-10-02 21:59:28 +02:00
};
} // namespace Cli
#endif // CLI_ARGS_H