wabbajack/Wabbajack.CLI/Verbs/UpdateNexusCache.cs

19 lines
500 B
C#
Raw Normal View History

using System;
using System.Threading.Tasks;
using CommandLine;
using Wabbajack.Common;
using Wabbajack.Lib.FileUploader;
namespace Wabbajack.CLI.Verbs
{
[Verb("update-nexus-cache", HelpText = "Tell the build server to update the Nexus cache (requires Author API key)")]
public class UpdateNexusCache : AVerb
{
protected override async Task<int> Run()
{
2020-02-24 16:50:58 +00:00
CLIUtils.Log($"Job ID: {await AuthorAPI.UpdateNexusCache()}");
return 0;
}
}
}