1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00
Teknik/ServiceWorker/ArgumentOptions.cs
Uncled1023 1d5d85b661 - Added Expiration parsing to the Service Worker.
- Moved Db Connection settings to the main config form.
2019-01-21 00:29:10 -08:00

30 lines
1.0 KiB
C#

using CommandLine;
using System;
using System.Collections.Generic;
using System.Text;
namespace Teknik.ServiceWorker
{
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; }
[Option('m', "migrate", Default = false, Required = false, HelpText = "Migrate everything")]
public bool Migrate { get; set; }
[Option('e', "expire", Default = false, Required = false, HelpText = "Process Expirations")]
public bool Expire { get; set; }
// Omitting long name, default --verbose
[Option(HelpText = "Prints all messages to standard output.")]
public bool Verbose { get; set; }
}
}