wabbajack/Wabbajack.CLI/Program.cs

19 lines
452 B
C#
Raw Normal View History

2020-01-31 22:38:56 +00:00
using System;
using CommandLine;
using Wabbajack.CLI.Verbs;
namespace Wabbajack.CLI
{
class Program
{
static int Main(string[] args)
{
return CommandLine.Parser.Default.ParseArguments(args, OptionsDefinition.AllOptions)
.MapResult(
(Encrypt opts) => Encrypt.Run(opts),
(Decrypt opts) => Decrypt.Run(opts),
errs => 1);
}
}
}