Jackett/src/Jackett.Updater/UpdaterConsoleOptions.cs

26 lines
840 B
C#
Raw Normal View History

using CommandLine;
2015-11-09 21:59:16 +00:00
namespace Jackett.Updater
{
public class UpdaterConsoleOptions
{
[Option('p', "Path", HelpText = "Install location", Required = true)]
2015-11-09 21:59:16 +00:00
public string Path { get; set; }
[Option('t', "Type", HelpText = "Install type")]
public string Type { get; set; }
2015-11-09 21:59:16 +00:00
[Option('a', "Args", HelpText = "Launch arguments")]
public string Args { get; set; }
2017-11-14 19:21:40 +00:00
[Option("NoRestart", HelpText = "Don't restart after update")]
public bool NoRestart { get; set; }
2017-11-14 19:21:40 +00:00
[Option("KillPids", HelpText = "PIDs which will be killed before (Windows) or after (Unix) the update")]
public string KillPids { get; set; }
[Option("StartTray", HelpText = "Indicates that the updater should start the tray icon")]
public bool StartTray { get; set; }
2015-11-09 21:59:16 +00:00
}
}