1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00
Teknik/ServiceWorker/ArgumentOptions.cs

33 lines
1.2 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; }
[Option('C', "clean", Default = false, Required = false, HelpText = "Clean Storage")]
public bool Clean { get; set; }
// Omitting long name, default --verbose
[Option(HelpText = "Prints all messages to standard output.")]
public bool Verbose { get; set; }
}
}