mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
24 lines
761 B
C#
24 lines
761 B
C#
|
using CommandLine;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace 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; }
|
|||
|
|
|||
|
// Omitting long name, default --verbose
|
|||
|
[Option(HelpText = "Prints all messages to standard output.")]
|
|||
|
public bool Verbose { get; set; }
|
|||
|
}
|
|||
|
}
|