wabbajack/Wabbajack.CLI/Verbs/UpdateModlists.cs

18 lines
483 B
C#
Raw Normal View History

using System;
using System.Threading.Tasks;
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
{
protected override async Task<int> Run()
{
2020-02-24 16:50:58 +00:00
CLIUtils.Log($"Job ID: {await AuthorAPI.UpdateServerModLists()}");
return 0;
}
}
}