2018-12-20 06:52:46 +01:00
|
|
|
|
using CommandLine;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
2019-01-13 00:06:55 +01:00
|
|
|
|
namespace Teknik.ServiceWorker
|
2018-12-20 06:52:46 +01:00
|
|
|
|
{
|
|
|
|
|
public class ArgumentOptions
|
|
|
|
|
{
|
|
|
|
|
[Option('a', "all", Default = false, Required = false, HelpText = "Run All Processes")]
|
|
|
|
|
public bool RunAll { get; set; }
|
|
|
|
|
|
|
|
|
|
[Option('c', "config", Required = false, HelpText = "The path to the teknik config file")]
|
|
|
|
|
public string Config { get; set; }
|
|
|
|
|
|
|
|
|
|
[Option('s', "scan", Default = false, Required = false, HelpText = "Scan all uploads for viruses")]
|
|
|
|
|
public bool ScanUploads { get; set; }
|
|
|
|
|
|
2019-01-13 00:06:55 +01:00
|
|
|
|
[Option('m', "migrate", Default = false, Required = false, HelpText = "Migrate everything")]
|
|
|
|
|
public bool Migrate { get; set; }
|
|
|
|
|
|
2019-01-21 09:29:10 +01:00
|
|
|
|
[Option('e', "expire", Default = false, Required = false, HelpText = "Process Expirations")]
|
|
|
|
|
public bool Expire { get; set; }
|
|
|
|
|
|
2018-12-20 06:52:46 +01:00
|
|
|
|
// Omitting long name, default --verbose
|
|
|
|
|
[Option(HelpText = "Prints all messages to standard output.")]
|
|
|
|
|
public bool Verbose { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|