2020-04-06 17:14:46 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2020-02-11 05:04:56 +00:00
|
|
|
|
using CommandLine;
|
|
|
|
|
using Wabbajack.Lib.FileUploader;
|
|
|
|
|
|
|
|
|
|
namespace Wabbajack.CLI.Verbs
|
|
|
|
|
{
|
|
|
|
|
[Verb("update-server-modlists", HelpText = "Tell the Build server to update curated modlists (Requires Author API key)")]
|
|
|
|
|
public class UpdateModlists : AVerb
|
|
|
|
|
{
|
2020-04-06 17:14:46 +00:00
|
|
|
|
protected override async Task<ExitCode> Run()
|
2020-02-11 05:04:56 +00:00
|
|
|
|
{
|
2020-02-24 16:50:58 +00:00
|
|
|
|
CLIUtils.Log($"Job ID: {await AuthorAPI.UpdateServerModLists()}");
|
2020-02-11 05:04:56 +00:00
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|