mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
19 lines
452 B
C#
19 lines
452 B
C#
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);
|
|
}
|
|
}
|
|
}
|